Our company has sales people in the field that might have sales in various Regions. I want to assign the Region based on Region that has the greatest number of sales for that particular salesperson.
For example, in the table below, I would want all of Salesperson A's sales assigned to the South Region, even though he has some sales in other Regions since he had the greatest number of sales in the South Region:
| Salesperson | Region | Sales Amount |
| Salesperson A | South | 1,000 |
| Salesperson B | South | 50 |
| Salesperson A | West | 12 |
| Salesperson A | Central | 55 |
| Salesperson A | East | 25 |
| Salesperson B | Central | 52 |
What kind of workflow could I use to come up with this?
Also, in the event of a tie between 2 Regions, I have a table that has a Rank on it that would then determine which Region would be used. I would also need this to be part of the workflow.
I am still relatively new to Alteryx and would appreciate any help given.
Thanks all!