March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi Team,
I'm new in Power BI. I just need help to show top 7 in each catagory like first in bar graph it shows top 7 for major then top 7 for catagory and then top 7 for sub catagory.
Please help me with dax.
@Anonymous , Refer:
https://www.sqlbi.com/articles/filtering-the-top-3-products-for-each-category-in-power-bi/
You can change to make it work on 7
Also
For Rank Refer these links
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale
Hi Amit,
Thanks for your response. i've tried this one but it's not working for bar graph. i have added a screenshot please have a look and confirm if you have any solution for my problem.
Have you created a Sub Category Rank (As per the topic name, not the name of your column) in desc order and filter it on <=7 in visual ?
Hi @Anonymous ,
After my continuous attempts, I still cannot use dax to meet your needs. There is an issue with my dax. After I drill down,
Subcategories of the parent category that are not in the topn range are also displayed. I hope someone can offer us a better way or modify my dax.
And would you please vote for the similar idea in Power BI forum which has been submitted to improve Power BI and make this feature coming sooner.
Here is my pbix file: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EWpxul-2yftOmmkUh-bFV9oBj7jlJQHumeCCDJpC8r9ahg?e=YqA1N8
Best Regards,
Dedmon Dai
Thanks @v-deddai1-msft ,
I have voted it and lets wait for it..
but it required in so many cases... so Power BI team will have to look in to it ASAP.
Yes.. i have created it.. i just want to show top 7 bars on every level,,
Hi Users,
Please help me with my query.. as i just want to filter top 7 with every axis level visual..
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
132 | |
90 | |
88 | |
64 | |
58 |
User | Count |
---|---|
203 | |
141 | |
107 | |
73 | |
70 |