This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 25 | |
| 21 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 65 | |
| 41 | |
| 28 | |
| 22 | |
| 22 |