Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
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!
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
91 | |
86 | |
76 | |
66 |
User | Count |
---|---|
149 | |
117 | |
111 | |
106 | |
95 |