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.
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))
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 |
---|---|
106 | |
93 | |
75 | |
62 | |
50 |
User | Count |
---|---|
147 | |
107 | |
105 | |
87 | |
61 |