Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have a matrix with data on category and brand level. I have succeed to make a rank measure to be able to have the ranking on Brand level with a category. However my measure ranks the brands and category on alfabetical order, so if I want to rank the matrix by MAT Value, then the Ranking MAT measure for brands doesn't work, Other brands is nr 5 but the first in the list because of the value.
What I need is just a tweak of the measure, so I want to rank the whole matrix by MAT value and within that keep my ranking by brand within the category.
This is my measure which needs to be adjusted I think:
Hi @Anonymous ,
Do you expect the result to be an ordering of the red numbers below?
You need to group according to Dermatological Care in the RANKX function.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Yes like the red numbers, but I have several categories following, so not just by Dermalogical care, but category by category.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
62 | |
58 | |
56 | |
36 | |
33 |
User | Count |
---|---|
81 | |
67 | |
45 | |
45 | |
43 |