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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Robservatory
New Member

Top 5 SubClass in Top 5 Class by student count

I have a very simple Pivot Table in Excel that I am needing to recreate in Power BI but cannot seem to figure this out. 
It is the Top 5 SubClasses in the Top 5 Classes by student count. 

In excel is very simple, use classic view then use Value Filter, Top 5 for each. 
Not sure I am doing the best job of explaining this. 

How can I make this more clear?

 

First post on this forum cause I was not able to find what I was looking for already posted.

3 REPLIES 3
v-xiaocliu-msft
Community Support
Community Support

Hi  @Robservatory , 

 

Please share the sample data and the expected outputs in power bi.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

 

Best Regards,

Wearsky

Robservatory
New Member

Each Class has dozens if not hundreds of subclasses. I need to report the top 5 Classes based on student count, and each classes corresponding top 5 subclasses. The only way I can think to do this is use RANKX to rank the Classes, Then use a visual for each of the top 5 ranks while using top N (5) subclasses. But this would be really messy. 

FreemanZ
Super User
Super User

hi @Robservatory ,

 

could elaborate what is "the Top 5 SubClasses in the Top 5 Classes by student count.", and what do you plqn to do with it?

 

 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.