Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
qadir
Frequent Visitor

Top N by Category as attached bar chart

Hi, I need to create a similar chart(attached) in Power BI to present top N sub-categories with in category by using parameter.

Expected Result: For example by using parameter Top N (top 2 sub-categories by category and top 4 sub-categories with in a category) 

Screenshot_5.jpgScreenshot_4.jpg

 

Power BI file attached:

https://drive.google.com/file/d/1vaJOzx7eynmUhqw8n2uDFK152ET9EREX/view?usp=sharing

Top N within Category.pbix 

Top N within Category.rar

 

Thank you

 

1 ACCEPTED SOLUTION
miTutorials
Super User
Super User

Take a look at this tutorial, you can ignore the 'Others' section in the DAX.

 

Display Top 3 Products and group others products in PowerBI using DAX | MiTutorials (youtube.com)

 

Regards

Ismail

View solution in original post

1 REPLY 1
miTutorials
Super User
Super User

Take a look at this tutorial, you can ignore the 'Others' section in the DAX.

 

Display Top 3 Products and group others products in PowerBI using DAX | MiTutorials (youtube.com)

 

Regards

Ismail

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.