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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
rincewind
Frequent Visitor

How to add Multiple TopN to a single visual? (Either using a filter or the function)

Here is the scenario

 

There are Fruits and Sub fruits being collected from various farms and this needs to be visualized in a table.  Below is a sample of the table.

 

FruitFarmValueSub Fruit Type
Fruit 1Farm 1182Fruit 1 Sub 4
Fruit 1Farm 2825Fruit 1 Sub 3
Fruit 1Farm 3520Fruit 1 Sub 2
Fruit 1Farm 4634Fruit 1 Sub 1
Fruit 2Farm 131Fruit 2 Sub 4
Fruit 2Farm 2311Fruit 2 Sub 3
Fruit 2Farm 3144Fruit 2 Sub 2
Fruit 2Farm 447Fruit 2 Sub 1
Fruit 3Farm 1870Fruit 3 Sub 4
Fruit 3Farm 2223Fruit 3 Sub 3
Fruit 3Farm 3736Fruit 3 Sub 2
Fruit 3Farm 4598Fruit 3 Sub 1
Fruit 4Farm 126Fruit 4 Sub 4
Fruit 4Farm 2729Fruit 4 Sub 3
Fruit 4Farm 3197Fruit 4 Sub 2
Fruit 4Farm 4384Fruit 4 Sub 1
Fruit 5Farm 1740Fruit 5 Sub 4
Fruit 5Farm 2475Fruit 5 Sub 3
Fruit 5Farm 3970Fruit 5 Sub 2
Fruit 5Farm 4790Fruit 5 Sub 1
Fruit 6Farm 1808Fruit 6 Sub 4
Fruit 6Farm 2136Fruit 6 Sub 3
Fruit 6Farm 3630Fruit 6 Sub 2
Fruit 6Farm 4343Fruit 6 Sub 1
Fruit 7Farm 1935Fruit 7 Sub 4
Fruit 7Farm 2525Fruit 7 Sub 3
Fruit 7Farm 3497Fruit 7 Sub 2

 

 

Using a matrix, I want to visualize the top 5 fruit types based on values and then the top 2 sub fruit types. I can get the top 5 Fruit types to be visualized by adding a top N filter to the visual but cant add another Top N filter to the top 2 Fruit Sub Type. How do I proceed?

Capture2.JPG

 

 

I would link the file for everyone to see but i dont know how to upload a pbix file here

 

 

1 REPLY 1

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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