The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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.
Solved! Go to Solution.
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
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
@Anonymous
One way could be to create a RANK measure and put it in the VISUAL filter as "TOP 25 RANKS"
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
79 | |
71 | |
48 | |
41 |
User | Count |
---|---|
138 | |
108 | |
71 | |
64 | |
58 |