Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
101 | |
79 | |
73 | |
65 |
User | Count |
---|---|
141 | |
107 | |
100 | |
82 | |
74 |