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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

TopN

Captura.PNG

Good afternoon,
I need to show the top 20 sales. Thanks for the help

1 ACCEPTED SOLUTION
LivioLanzo
Solution Sage
Solution Sage

This is how: https://www.youtube.com/watch?v=nmsf7Cbx3JM

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

View solution in original post

3 REPLIES 3
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

Does this topic try to solve the same problem? 

You also can create a measure with the function RANKX. Something like below.

rank =
RANKX (
    ALL ( DimProduct[ColorName] ),
    CALCULATE ( SUM ( FactSales[SalesQuantity] ) )
)

topn3

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
LivioLanzo
Solution Sage
Solution Sage

This is how: https://www.youtube.com/watch?v=nmsf7Cbx3JM

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

Anonymous
Not applicable

Thanks LivioLanzo for the collaboration. Try to download this version of power BI because it is supposed to come with the TopN but it does not give me:
https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-october-feature-summary/preview/#topN

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.