Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a table showing the top N customers for a specific category. However, some of these customers only have one transaction and I really don't want to display these as one time issues don't mean a lot to me. So I want to show the top N customers that have a minimum number of transactions. Right now, everything I've tried displays the top N and then filters those by the minimum number of transactions. In other words, I start off with the top 5. Out of those, four only have one transaction. So when I apply the filter for a minimum number of transactions, I'm left with only one customer. I want the list to always display the top 5, but the customers on the list would change as I change the minimum number of transactions.
Hi @schwinnen
It seems you need a parameter and create the measure with RANKX Function. Please have a look at below post. If it is not your case, please share some data sample and expected output. You can upload it to OneDrive or Dropbox and post the link here.
How to Get Your Question Answered Quickly
https://www.fourmoo.com/2018/02/06/dax-power-bi-dynamic-topn-made-easy-with-what-if-parameter/
Regards,
Cherie
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
99 | |
88 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |