Forum Discussion
Top N Subtotal Not Appearing
Hi, I am trying to show the sum for the Top N Insured Names but not able to get the sum part actually working.
The totals for each Insured Name is working but the subtotal row is wrong as it's just picking up the "total row"- I think this is because it's rank 1 which is not by design
Sample data:
Class | Insured | Rank by Binder 100% EPI CNV and Insured Name | Binder 100% EPI by Class and Insured | Top N Binder 100% |
| CYBER | CYBER G | 1 | 44,354,838.76 | 44,354,838.76 |
| CYBER | CYBER D | 2 | 37,903,225.81 | 37,903,225.81 |
| CYBER | CYBER A | 3 | 23,387,096.80 | 23,387,096.80 |
| CYBER | CYBER P | 4 | 8,064,516.15 | 8,064,516.15 |
| CYBER | CYBER L | 5 | 4,032,258.06 | 4,032,258.06 |
| CYBER | CYBER H | 6 | 1,209,677.42 | |
| CYBER | CYBER F | 7 | 1,184,727.27 | |
| CYBER | CYBER S | 8 | 474,375.00 | |
| CYBER | CYBER V | 9 | 227,272.72 | |
| CYBER | CYBER X | 10 | 150,000.00 | |
| CYBER | CYBER J | 11 | 124,378.11 |
Power BI is showing:
RANKX DAX is:
Top N DAX is:
- Anonymous4 years ago
Hi brian0782 ,
There is an easier solution.
You can filter as follows
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 Reply
- AnonymousNot applicable
Hi brian0782 ,
There is an easier solution.
You can filter as follows
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.