Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a table called App with three calculated columns Level1, Level2, Level3, Level4, Level5.
| Level1 | Level2 | Level3 | Level4 | Level5 |
| 0 | 2 | 3 | 0 | 5 |
| 1 | 2 | 0 | 0 | 0 |
| 1 | 0 | 0 | 4 | 0 |
| 0 | 0 | 3 | 0 | 5 |
I need to write a calculated column formula to find the max of each row. For example: For row1: Max of 0,2,3,0,5 is 5 and likewise for all rows.
Solved! Go to Solution.
Thank you. The above formula won't work because Max allows only 2 arguements.
@parry2k provided the below solution and it worked.
Column = MAXX ( UNION ( { [Level1] }, { [Level2] }, { [Level3] }, { [Level4] }, { [Level5] } ), [Value] )
Thank you. The above formula won't work because Max allows only 2 arguements.
@parry2k provided the below solution and it worked.
Column = MAXX ( UNION ( { [Level1] }, { [Level2] }, { [Level3] }, { [Level4] }, { [Level5] } ), [Value] )
MaxRow = MAXX(App, MAX(App[Level1], App[Level2], App[Level3], App[Level4], App[Level5]))
Let me know if this works
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 20 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 28 | |
| 19 | |
| 11 | |
| 10 |