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
Hi,
I wanted to insert background colour for highest value (i.e. 386) in a table column. Wrote a measure "COLOR MAXCT" and apply in field value formatting, but the results colour all rows in the column instead. Seek advise on how Measure should be written to correct this. Thanks!
Solved! Go to Solution.
@CLANG10 ,
try this measure,
COLOR MAXCT =
VAR _max = MAXX(ALLSELECTED('Tablename'),'Tablename'[VALUE])
RETURN IF(_max = MAXA('Tablename'[VALUE]),"#E6007E")
Thanks,
Arul
VAR MAXCT = MAXX(Al('таблица'),[VALUE]) RETURN IF(MAX('table'[VALUE])=MAXCT,"#E6007E")
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 37 | |
| 35 | |
| 34 | |
| 27 |
| User | Count |
|---|---|
| 134 | |
| 101 | |
| 71 | |
| 67 | |
| 65 |