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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Sumo82
Regular Visitor

Issue while applying filter tmy matrix visual

Iam  facing an issue  while applying the  filter to  my matrix  visual .

 

For eg  if iapply the  filter  to show top 10  restaurants wiht the highest  ratings in a country .The  matrix visual still show more than  10 restaurant  with high ratings .Can you let me know what am  I missing here?  Screenshots attached.scn shot 1.pngScn shot 2.png

2 ACCEPTED SOLUTIONS
nandic
Resident Rockstar
Resident Rockstar

@Sumo82 it is expected behaviour as all these have same rating.
It can't get random top 10 if there are more than 10 restaurants with same rating.

If you still want to add some more conditions to it, there is very similar topic on this link with valuable answers: https://community.fabric.microsoft.com/t5/Desktop/Workaround-to-show-TOP-N-where-there-are-duplicate...

Cheers,
Nemanja Andic

View solution in original post

Uzi2019
Community Champion
Community Champion

Hi @Sumo82 

 

Sum Amount = SUM ( Table[rating] )

Top N = CALCULATE ( [Sum Amount], KEEPFILTERS ( TOPN ( 3, ALL ( table[resturant] ), [Sum Amount], DESC ) )  )

 

https://community.fabric.microsoft.com/t5/Desktop/Top-N-with-duplicates-clarification/m-p/130620#M55...

https://community.fabric.microsoft.com/t5/Desktop/Top-N-displaying-more-than-N-when-duplicate-values...

 

Refer above blogs for better understanding this behaviour.

 

I hope I answered your question!

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

View solution in original post

2 REPLIES 2
Uzi2019
Community Champion
Community Champion

Hi @Sumo82 

 

Sum Amount = SUM ( Table[rating] )

Top N = CALCULATE ( [Sum Amount], KEEPFILTERS ( TOPN ( 3, ALL ( table[resturant] ), [Sum Amount], DESC ) )  )

 

https://community.fabric.microsoft.com/t5/Desktop/Top-N-with-duplicates-clarification/m-p/130620#M55...

https://community.fabric.microsoft.com/t5/Desktop/Top-N-displaying-more-than-N-when-duplicate-values...

 

Refer above blogs for better understanding this behaviour.

 

I hope I answered your question!

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!
nandic
Resident Rockstar
Resident Rockstar

@Sumo82 it is expected behaviour as all these have same rating.
It can't get random top 10 if there are more than 10 restaurants with same rating.

If you still want to add some more conditions to it, there is very similar topic on this link with valuable answers: https://community.fabric.microsoft.com/t5/Desktop/Workaround-to-show-TOP-N-where-there-are-duplicate...

Cheers,
Nemanja Andic

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.