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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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")
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 51 | |
| 47 | |
| 29 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 88 | |
| 73 | |
| 39 | |
| 26 | |
| 24 |