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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
meduza
Frequent Visitor

TOP10

Hello,
I have table with clients and all orders details, when I count orders (measure), i got clients with amount of orders, when i do filter, top10, i can get this ...
but I want to have table same like before with all details, just with this TOP10 clients....

I cant make it with TOPN or summarize, because when i  dont get all info i want

I want same table,  but to see only top10 clients info..... how can i do without filter? because when i put slicer... i see all info..
Thanks for any advice

1 ACCEPTED SOLUTION

Hi @meduza ,

 

It seems to work on this table as well.If you need to create another calculation sheet, please talk to me:

vtianyichmsft_0-1718864866471.png

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

5 REPLIES 5
meduza
Frequent Visitor

Hello @v-tianyich-msft ,
thank you for try and reply, but it is not what i need... I will try again to explain:

example we have like this table: 

meduza_0-1718862705630.png

After ranking we see TOP10 (yellow)

meduza_1-1718862764450.png

 

And finally I want to have seperate table with only this TOP10, same table with same columns.

meduza_2-1718862847792.png



How can I do this please with DAX?





Hi @meduza ,

 

It seems to work on this table as well.If you need to create another calculation sheet, please talk to me:

vtianyichmsft_0-1718864866471.png

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

 

v-tianyich-msft
Community Support
Community Support

Hi @meduza ,

 

I made simple samples and you can check the results below:

vtianyichmsft_0-1718848925407.png

Top2 = var _t = ADDCOLUMNS('Table',"Rank",RANKX(ALL('Table'),[count],,DESC,Dense))
RETURN COUNTAX(FILTER(_t,[Rank]<=2),[count])

 

An attachment for your reference. Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

meduza
Frequent Visitor

@Daniel29195 
See example of my table, we have 15 client, but i want to have TOP10 client by count of orders, and to have table only with TOP10 client, and to work with them.
TABLE with TOP10 clients and to see all info like we saw before, just to ignore clients which are not top10... If i do this on visual filter topn... when i put slicer from table... i see also other clients... 

meduza_0-1718794328909.png

 

Daniel29195
Super User
Super User

@meduza 

can you share a visual representation of your requirement .

 

Helpful resources

Announcements
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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.