transformations:addcolumn
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
transformations:addcolumn [2025/01/09 07:41] – yurii | transformations:addcolumn [2025/01/09 07:54] (current) – [Examples] yurii | ||
---|---|---|---|
Line 35: | Line 35: | ||
=====Examples===== | =====Examples===== | ||
- | **Example #1:** Calculate the $ amount of compulsory deductions for each country | + | ====Example #1==== |
+ | >Calculate the $ amount of compulsory deductions for each country | ||
- | **Source | + | ===Before (source |
+ | Average income and deductions | ||
^Country | ^Country | ||
Line 44: | Line 46: | ||
| Switzerland | | Switzerland | ||
| Canada | | Canada | ||
- | \\ | ||
- | **Action parameters: | ||
- | > New column name: Deductions $ | ||
- | > Expression: [Gross income] - [Disposable income] | ||
- | |||
- | \\ | ||
- | **Result table:** | ||
+ | ===After (result table)=== | ||
^Country | ^Country | ||
| United States | | United States | ||
Line 58: | Line 54: | ||
| Canada | | Canada | ||
- | \\ \\ \\ | + | ===Action parameters:=== |
- | **Example #2:** Create multiple new columns within the same action. | + | > New column |
- | + | > Expression: [Gross income] - [Disposable income] | |
- | \\ | + | |
- | **Action parameters:** | + | |
- | > New column | + | |
- | > New column #2: MyYear = year([MyDate]) // | + | |
- | + | ||
\\ | \\ |
transformations/addcolumn.txt · Last modified: 2025/01/09 07:54 by yurii