Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Suppose you have category and subcategory slicers, you can select all and multi-select
and we have a ranking measure that let's say using the measure (total sales) giving me the rank of category.
I have measure for category rank :
Solved! Go to Solution.
Thank you but I assume you replied the same response for each of my 2 different questions.
I found the solution for this problem, it was easy I just didn't think about it...
when you use interactions like when you select category slicer don't affect it subcategory and vice-versa
it works now.
thanks
Thank you but I assume you replied the same response for each of my 2 different questions.
I found the solution for this problem, it was easy I just didn't think about it...
when you use interactions like when you select category slicer don't affect it subcategory and vice-versa
it works now.
thanks
@Anonymous , if you create a rank on a category and add a subcategory column in the visual. Then rank will happen for category inside sub-category
Your options are
RANKX (
ALL('Table'[CategoryName], 'Table'[SubCategoryName] ),
[total sales] , , DESC
)
or
RANKX (
filter(ALL('Table'[CategoryName], 'Table'[SubCategoryName] ),'Table'[CategoryName] = max('Table'[CategoryName]) ),
[total sales] , , DESC
)
For Rank Refer these links
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
12 | |
10 | |
10 | |
10 |
User | Count |
---|---|
17 | |
15 | |
12 | |
11 | |
10 |