The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I'm ranking a column of values that I originally had as Dense for ties but decided to switch to Skip. This however did not change the outcome of the data for some reason. I have tried creating a new column, restarting the app and my computer and none of them seem to work. Does anyone have experience with this and how to solve it?
Code:
Solved! Go to Solution.
Hi @Anonymous ,
It can only accept one condition, but you can have the conditions you need worked out before that happens. For example, [Value]=A*0.2+B*0.3+C*0.1+D*0.4. This also sorts the four conditions in a way.
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , Please try using this measure
dax
Rank =
RANKX(
ALLSELECTED(Table),
Table[Original Rank],
,
ASC,
DENSE
)
Proud to be a Super User! |
|
Can RankX accept multiple ranking criteria? The Skip in RankX works but I need all 4 criteria to be taken into account for each value or else it just spits out the "Original Rank" column.
The code works perfectly except it won't do skip for ties, even with Skip specified.
Hi @Anonymous ,
It can only accept one condition, but you can have the conditions you need worked out before that happens. For example, [Value]=A*0.2+B*0.3+C*0.1+D*0.4. This also sorts the four conditions in a way.
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
25 | |
12 | |
8 | |
8 | |
7 |
User | Count |
---|---|
27 | |
12 | |
12 | |
12 | |
6 |