Forum Discussion
TOPN + Others not aggregating properly with Legends
- 2 years ago
Ended up being two things:
a) Aggregations at the Category level were different than at the top level. Imagine if sales by Country are positive, but when using states, there are a couple negative. Changed measures to review this.
b) Dataset already contained an "Other" value with values, so when using my formula it was complewtelky skipping "Other". Renamed to "Others" and problem is now I have "Other" and "Others" but this is due to dataset "errors".
Thanks! It took quite a few days to fix.
Hi meeen-ware ,
In order to get a better understanding on your problem and make further investigation, could you please provide some raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following link to share the required info:
How to provide sample data in the Power BI Forum
And it is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
In addition, you can refer the following links to get TOP N +Others...
Dynamic TOP N and Others in Power BI - YouTube
Filtering the top products alongside the other products in Power BI - SQLBI
Dynamic and nested Top N + Others in Power BI | by Inforiver | Medium
Dynamic and nested Top N + Others in Power BI - Inforiver
Best Regards
Thanks, I have used those as reference. Let me try to mask some data so it can be provided through a PBIX.