Hi Experts,
I have a scenario where I want to exclude certain rows from the data only to perform additional procedures and achieve an outcome based on the included rows. Later in my output I want to keep all the rows and assign a final value (in a new column) to all rows, even the excluded ones.
In the below table, I want to exclude any Fee or Tax Amount and include only Value (names may vary, can have multiple options). Then I compare all amounts within the Value Type (which is same in each case). Therefore, the final outcome in the column Output is "Fixed Amount" but now I want to put this in all columns (even the excluded Fee and Tax).
Thanks a lot!
| ID | Type | Amount | Output (New Column) |
| 1 | Value | 500 | Fixed Amount |
| 1 | Value | 500 | Fixed Amount |
| 1 | Value | 500 | Fixed Amount |
| 1 | Value | 500 | Fixed Amount |
| 1 | Value | 500 | Fixed Amount |
| 1 | Value | 500 | Fixed Amount |
| 1 | Value | 500 | Fixed Amount |
| 1 | Value | 500 | Fixed Amount |
| 1 | Value | 500 | Fixed Amount |
| 1 | Value | 500 | Fixed Amount |
| 1 | Fee | 10 | Fixed Amount |
| 1 | Tax | 5 | Fixed Amount |