Showing results for 
Search instead for 
Did you mean: 
Helper V
Helper V

Top N with minimum number of records

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




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

Helpful resources



We are excited to announce the Power BI Super Users!

Wave Release 2

Check out the updates in Power BI.

Overview of Power BI 2020 release wave 2!

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!


The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors