Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Any measure to format background color as shown below
metrics | expected | month1 | month 2 | month3 |
resolution | 90% | 45% | 70% | 30% |
response | 80% | 90% | 45% | 25% |
We need to format backgrounds only for month's cell - month1,month2 and month3 but row wise. Because conditions are different for every row.
Also first two column will remain colourless.
I tried with the inbuilt color formatting but it works for whole column and when doing measure,it works for whole row.
Solved! Go to Solution.
Hi, @FaisalImam
Conditional formatting is applied to the column.
For each row on this column ,try to use 'Switch' statement to make additional conditional judgments.
Last Rate of each day =
SWITCH (
SELECTEDVALUE ( 'Table1'[Key service value] ),
'Incident resolution P1', IF ( [Feb SlA] > 0.08, "red" ),
'Incident resolution P2', IF ( [Feb SlA] > 0.85, "green" ),
'Incident resolution P3', IF ( [Feb SlA] > 0.90, "yellow" )
)
Best Regards,
Community Support Team _ Eason
Hi,
you need to write DAX expression for differnt values and use your expression for conditional formatting.
Here's an example: Conditional formatting by field value in Power BI - Power BI Docs
@FaisalImam , You can create color measures and check condition and color
Switch( True(),
max(Table[Month]) = "Jan", "White",
[Measure] <.8 , "red" ,
//add other condition
)
Use this is conditional formatting using the field value option
How to do conditional formatting by measure and apply it on pie? : https://youtu.be/RqBb5eBf_I4
See this is the table. I want Feb SlA and MArch SLA backgroungd too change but based on key metrics. That is conditions are different for each row like -Incident Resolution Backlog is 8% . So how to do it Row wise and only for some of the cells.
Hi, @FaisalImam
Conditional formatting is applied to the column.
For each row on this column ,try to use 'Switch' statement to make additional conditional judgments.
Last Rate of each day =
SWITCH (
SELECTEDVALUE ( 'Table1'[Key service value] ),
'Incident resolution P1', IF ( [Feb SlA] > 0.08, "red" ),
'Incident resolution P2', IF ( [Feb SlA] > 0.85, "green" ),
'Incident resolution P3', IF ( [Feb SlA] > 0.90, "yellow" )
)
Best Regards,
Community Support Team _ Eason
User | Count |
---|---|
84 | |
77 | |
75 | |
43 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
45 | |
43 |