Hello,
| Raw Data: | | | |
| Field 1 | Field 2 | Field 3 | Amount |
| Eric | Davis | LA | 15 |
| Emma | Davis | LA | -80 |
| Hannah | Davis | LA | -10 |
| Emma | Case | LA | 40 |
| Emma | Evans | LA | 50 |
I have the above raw data sample (millions of lines) and I need to adjust the highest "Amount" field based on other records with matching columns (in this example only "Field 1"/"Field 3"). The output would need to show the in/out of adjustment.
I did this in Microsoft ACCESS through a max query and for loop iteration. How would I achieve this in Alteryx?
Sample output (Hannah had no other positive "Amount" matching records to offset, so not included)
| Output: | | | |
| Field 1 | Field 2 | Field 3 | Amount |
| Emma | Davis | LA | 80 |
| Emma | Case | LA | -30 |
| Emma | Evans | LA | -50 |