The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the July 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
109 | |
67 | |
46 | |
41 |
User | Count |
---|---|
186 | |
85 | |
76 | |
74 | |
56 |