I'm trying to get the ordinal rank for the following matrix. How would I go about displaying just the Top N results per month in the following Matrix?For example, how do I get only the first 20 records per Month regardless of ties in the Product column?
I've played around with Ranking by products but this gives me more than the Top N as there are duplicates. I've tried determining the number of duplicates but that measure is returning the incorrect value.
Solved! Go to Solution.
For Rank Refer these links
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin
I have the rank. I only want the Top N rows regardless of ties. If I want the top 20 rows and I filter on rank <= 20, I'll get more than 20 records due to ties.
Thanks. I wound up breaking the tie by mimicking the MIN example in your link and then adding that to my value in the Rank. Basically guarantees adding less than 1 to every record and thus not distorting the overall rank other than ties.
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.
130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.