The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I was able to rank sales by various dimensions on a daily basis but wasn't able to incorporate the monthly ranking into my measure:
RANKX(
ALLSELECTED( 'Table'), // Need to keep allselected so that ranking applies to other attributes
[Revenue Sales], // Measure
, DESC, Dense
)
Hi @RogerSteinberg ,
Please give a copy of the sample data and the formula for the measure [Revenue Sales].
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Try the measure:
RankColumn = RANKX(FILTER(Table,Table[Month]=EARLIER(Table[Month])),RevenueMeasure,,DESC, Dense)
By doing so , you remove the allselected logic which is crucial when I need to rank games by sales . I also have slicers .
Use this:
RankColumn = RANKX(FILTER(ALLSELECTED(Table),Table[Month]=EARLIER(Table[Month])),RevenueMeasure,,DESC, Dense)
it gives me the same value. its not working
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 June 2024 Power BI update to learn about new features.
User | Count |
---|---|
94 | |
93 | |
88 | |
70 | |
65 |
User | Count |
---|---|
232 | |
128 | |
116 | |
82 | |
82 |