Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi folks,
I need small help regarding advanced aggregation.
I've data like this.
Country | Sales Person | Sales |
India | Surendra | 2000 |
India | Pawan | 1000 |
India | Suresh | 5000 |
USA | Ramesh | 3000 |
USA | Girish | 20000 |
USA | Surendra | 1890 |
USA | Pawan | 5349 |
UK | Kiran | 7890 |
UK | Suresh | 9890 |
UK | Ramesh | 3234 |
UK | Girish | 5098 |
All I want to show is the Sales Person who has done the maximum sales across each country.
The result should look like this.
Country | Sales Person | Sales |
India | Suresh | 5000 |
USA | Girish | 20000 |
UK | Suresh | 9890 |
Kindly help me with the expression.
Thanks,
Surendra
Create a chart with dimension Country and two expressions:
=FirstSortedValue(DISTINCT [Sales Person], -Sales)
=max(Sales)
Create a chart with dimension Country and two expressions:
=FirstSortedValue(DISTINCT [Sales Person], -Sales)
=max(Sales)
Thanks a lot swuehl