Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Trying to set up a cond formatting to the highest number in each row, to be background color of dark grey. The values are not coming from any measure. I am doing % of row total of responses. See pic below.
Hi @jcastr02 ,
Create a measure like this:
Max_grey =
VAR x =
CALCULATE(
MAX(Sales[Sale 2013]),
ALLEXCEPT(
Sales,
Sales[Brand]
)
)
RETURN
IF(
MAX(Sales[Sale 2013]) = x,
"grey",
"white"
)
Then, do like this:
(The matrix in the picture is the effect I have achieved, I just repeat the operation again.)
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@v-lionel-msft seems it's only shading the first column.
Attached is the file - see 30 day feedback tab
Hello @jcastr02,
Can you provide sample data or sample power bi file? Because I am able to achieve it in my file.
Hello @rajulshah
https://1drv.ms/u/s!Ava_12t7CNJtkCGALXOtGpymk1pF
Please see link. I appreciate your help!
@jcastr02, Well, I just disabled and then enabled conditional formatting option for the field and it worked. See below:
Please try once again and let me know if it worked.
@rajulshah I am trying to get only a grey background color for the highest (or max) number in each ROW. It seems I may have to do a conditional format based on a measure, but can't figure out the DAX for it.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 43 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 64 | |
| 31 | |
| 26 | |
| 25 |