Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello,
I want a chart with the top 10 items shown.
In my legend I have the treinnumbers that were selected.
Value: Count of train numbers.
I created a measure
Solved! Go to Solution.
Hi @stijn007
I notice this line
You write countrows(allselected(table[column]))
Please correct it by the formula below
countrows(allselected(table))
Final Rank = RANKX ( ALLSELECTED('Table'), RANKX ( ALLSELECTED('Table'),CALCULATE(COUNT('Table'[number])),,DESC,Dense) + DIVIDE ( RANKX (ALLSELECTED('Table'),CALCULATE(MAX('Table'[number])),,ASC,Dense), COUNTROWS(ALLSELECTED('Table')) ),,ASC,Dense )
When I tried, the ranking is different when I order in the column "Final Rank"
Somewhere it has to order in column Count.
Hi @stijn007
How do you create that incorrect measure?
Could you show me some screenshots about your columns and measure?
Do you want the final rank to be a column?
Best Regards
Maggie
Hi @stijn007
Hi @stijn007
I notice this line
You write countrows(allselected(table[column]))
Please correct it by the formula below
countrows(allselected(table))
User | Count |
---|---|
128 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
137 | |
115 | |
102 | |
71 | |
61 |