The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I am using the following measure to rank a store within its region based on its % to goal:
It works correctly without using a slicer(first image), but it shows different results when using a slicer (second image). Any ideas why?
Solved! Go to Solution.
@Anonymous ,
You can try 'ALL' a 'Table' instead of ‘ALL’ a 'Column'.
% to Goal Rank = RANKX ( FILTER ( ALL ( 'Look ups - Store' ), 'Look ups - Store'[Region] = MAX ( 'Look ups - Store'[Region] ) ), [% to Goal] )
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous ,
You can try 'ALL' a 'Table' instead of ‘ALL’ a 'Column'.
% to Goal Rank = RANKX ( FILTER ( ALL ( 'Look ups - Store' ), 'Look ups - Store'[Region] = MAX ( 'Look ups - Store'[Region] ) ), [% to Goal] )
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous
Hi. what happens if your use ALLSELECTED instead of ALL.
Let me know the result
Regards
Victor
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
76 | |
65 | |
52 | |
51 |
User | Count |
---|---|
128 | |
117 | |
78 | |
65 | |
63 |