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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Anonymous
Not applicable

Top 25 Customers

I have one table for partner which has Partner Name, another table which contains region information, Country and Area. One transaction table which has revenue by partner by customer. I want to show the top 25 customers for each selected partner in each selected country. I have two slicer one from region table (Country) and other slicer (Partner Name) from Partner Table. I am not getting correct result. What is the easiest way to get the top 25 Customers. I used TopN function but not getting what I want.

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

It seems that you have three tables, have you created the relationship among the tables?

 

As the Zubair_Muhammad mentioned, you could use RANKX function. Here is a blog about how to use this function you could refer to.

 

If you still need help, please share some data sample which could reproduce your scenario and your desired output, so that we can help further investigate on it?

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
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

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

It seems that you have three tables, have you created the relationship among the tables?

 

As the Zubair_Muhammad mentioned, you could use RANKX function. Here is a blog about how to use this function you could refer to.

 

If you still need help, please share some data sample which could reproduce your scenario and your desired output, so that we can help further investigate on it?

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Zubair_Muhammad
Community Champion
Community Champion

@Anonymous

 

One way could be to create a RANK measure and put it in the VISUAL filter as "TOP 25 RANKS"


Regards
Zubair

Please try my custom visuals

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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