Category: Transform / Basic
This action calculates and replaces the values in one or more existing columns using expression(s). Each expression replaces one column.
Setting | Description |
---|---|
Column to replace | Select the name of the column to replace. |
Expression or Value | Options: It's an expression or It's a text or number. Enter the expression used to calculate the updated column values, or, enter the text or numeric value that will be repeated for all values. |
Click Replace more columns to modify additional columns within this same action.
You can refer to the same column in expressions. In this case, the original value from this column will be used.
Replace students' final numeric grade with the equivalent letter grade.
Student | Class | Final grade |
---|---|---|
Enrique | Math | 85 |
Sally | Language | 72 |
Juliette | Math | 99 |
Rick | Science | 68 |
Student | Class | Final grade |
---|---|---|
Enrique | Math | B |
Sally | Language | C |
Juliette | Math | A |
Rick | Science | D |
Column to replace: Final grade
Expression: if [Final grade] >= 90 then "A" else if [Final grade] >= 80 then "B" else if [Final grade] >= 70 then "C" else if [Final grade] >= 60 then "D" else "F"
Calculate the dollar amount of compulsory deductions for each country, replacing the percent values with the dollar amounts.
Country | Gross income | Disposable income | Compulsory deductions |
---|---|---|---|
United States | 56067 | 45582 | 18.7% |
Australia | 51050 | 42617 | 16.52% |
Switzerland | 53716 | 48414 | 9.87% |
Canada | 45896 | 37469 | 18.36% |
Country | Gross income | Disposable income | Compulsory deductions |
---|---|---|---|
United States | 56067 | 45582 | 10485 |
Australia | 51050 | 42617 | 8433 |
Switzerland | 53716 | 48414 | 5302 |
Canada | 45896 | 37469 | 8427 |
Column to replace: Compulsory deductions
Expression: ([Gross income] - [Disposable income])
Fast ways to create the action: