
Contributor III
2023-01-31
04:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to create buckets of Top10 , top 10-20 and others and its percentage of total value
Top 10 Contracts | 55% | |
Top 10-20 Contracts | 25% | |
Others | 20% |
420 Views
1 Solution
Accepted Solutions

.png)
Former Employee
2023-01-31
08:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try the following:
Dimension:
=Aggr(
If(Rank(Sum(Sales))<=10,Dual('Top',1),
If(Rank(Sum(Sales))<=20,Dual('11-20',2),
Dual('Others',3))),
Contract)
Measures:
Sum(Sales)
Sum(Sales)/Sum(total Sales)
1 Reply

.png)
Former Employee
2023-01-31
08:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try the following:
Dimension:
=Aggr(
If(Rank(Sum(Sales))<=10,Dual('Top',1),
If(Rank(Sum(Sales))<=20,Dual('11-20',2),
Dual('Others',3))),
Contract)
Measures:
Sum(Sales)
Sum(Sales)/Sum(total Sales)
