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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
Employee
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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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