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 have the following table
MeterNo | Value | Rank | Max Rank |
123 | 10 | 1 | |
123 | 20 | 2 | |
123 | 30 | 3 | MAX |
456 | 10 | 1 | |
456 | 20 | 2 | |
456 | 30 | 3 | MAX |
Table1 |
Can someone advise me on the formula to return the column Max Rank.
Ideally, I'd like the word MAX to idenify the highest 'Rank' for each 'MeterNo'.
Can you help?
Many thanks in advance!
Solved! Go to Solution.
Hi @PMF999
Try this for your calculated column:
MaxRank = IF ( Table1[Rank] = CALCULATE ( MAX ( Table1[Rank] ), ALLEXCEPT ( Table1, Table1[MeterNo] ) ), "MAX" )
Hi @PMF999
Try this for your calculated column:
MaxRank = IF ( Table1[Rank] = CALCULATE ( MAX ( Table1[Rank] ), ALLEXCEPT ( Table1, Table1[MeterNo] ) ), "MAX" )
Many thanks AIB!
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 |
---|---|
111 | |
109 | |
89 | |
76 | |
66 |
User | Count |
---|---|
125 | |
111 | |
100 | |
83 | |
71 |