Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hey Guys,
simple case. I have a ranking. The higher the number, the better. Suppose I
Value 1 = 7 >> should turn into the number 1
Value 2 = 5 >> should turn into the number 3
Another issue is, the numbers can be decimals. The max is unknown, hence the 7 can be a 10 as well. The numbers must be used as a y axis in a line chart.
I am not sure if this can be solved via measure, perhaps with a column?
Solved! Go to Solution.
Hi @raymond
I’m not quite sure about the requirements, figure that you’d like to generate the rank, the higher of the value, the better ranking.
And then use the ranking as Y-axis, the values as the X-axis.
Thus I created the sample with columns [Values] and add the measure:
Rank = RANKX(ALL(Table1),CALCULATE(MAX(Table1[Values])))
Result shown as below:
Best regards,
Dina Ye
Hi @raymond ,
If my above post helps, could you please consider Accept it as the solution to help the other members find it more quickly. thanks!
Best regards,
Dina Ye
Hi @raymond
I’m not quite sure about the requirements, figure that you’d like to generate the rank, the higher of the value, the better ranking.
And then use the ranking as Y-axis, the values as the X-axis.
Thus I created the sample with columns [Values] and add the measure:
Rank = RANKX(ALL(Table1),CALCULATE(MAX(Table1[Values])))
Result shown as below:
Best regards,
Dina Ye
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
97 | |
65 | |
45 | |
39 | |
31 |
User | Count |
---|---|
164 | |
111 | |
61 | |
53 | |
38 |