Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Saranya3_d
Helper I
Helper I

Conditional formatting

Hi, can any one please advice me how to do conditional formatting for different SLA with different target in single table.

 

Have attached the screenshot for info!

SLA MetricsNov’19Nov'19 BonusDec’19Dec'19 BonusFeb’20Feb'20 Bonus
Reactive - INC Response (P1) - 95%100.00%100.00%94.12%X
Reactive - INC Response (P2) - 95%100.00%99.04%X99.22%
Reactive - INC Response (P3) - 95%98.28%X100.00%100.00%
Reactive - INC Response (P4) - 95%100.00%100.00%99.67%
Reactive - INC Restoration (Met1 - P1) - 90%100.00%50.00%X88.24%X
Reactive - INC Restoration (Met2 - P1) - 100%100.00% 50.00% 100.00% 
Reactive - INC Restoration (Met1 - P2) - 92%97.64%X95.19%X97.66%X
Reactive - INC Restoration (Met2 - P2) - 95%97.64% 95.19% 99.22% 
Reactive - INC Restoration (P3) - 92%96.55%X88.50%X95.95%X
Reactive - INC Restoration (P4) - 92%99.40%98.61%99.02%
Prod App - SAP (99.4%)100%99.99%99.88%
 

 

 
 

 

Thanks,

 

 

 

 
5 REPLIES 5
Icey
Community Support
Community Support

Hi @Saranya3_d ,

 

What is the structure of your basic data? And what are the specific rules?

 

 

Best Regards,

Icey

Hi...I am having 30 different Metrics with 30 different targets. For Ex: P1 sla 98%, P2 Sla 96%, P3 sla 94% & P4 sla 90%. Sometimes, few months are missing the targets. So now, the requirement is, if we missed any targets then we should highlight the same in red color. 

 

For common targets, I can apply conditional formatting but I'm not able to apply conditional formatting option for different metrics with differnt targets. 

 

We will be projecting the metrics in row wise formate as mentioned below. 

 

Kindly help me how to do conditional formatting for different targets.

 

SLA MetricsNov’19Dec’19Jan’20Feb’20
Quality of User Experience (>90%)96.30%96.50%94.49%94.72%
Quality of User Experience (>75%)73.15%81.82%77.95%70.15%
Reactive - INC Response (P1) - 95%100.00%100.00%100.00%94.12%
Reactive - INC Response (P2) - 95%100.00%99.04%98.20%99.22%
Reactive - INC Response (P3) - 95%98.28%100.00%98.32%100.00%
Reactive - INC Response (P4) - 95%100.00%100.00%100.00%99.67%
Reactive - INC Restoration (Met1 - P1) - 90%100.00%50.00%84.62%88.24%
Reactive - INC Restoration (Met2 - P1) - 100%100.00%50.00%84.62%100.00%
Reactive - INC Restoration (Met1 - P2) - 92%97.64%95.19%93.69%97.66%
Reactive - INC Restoration (Met2 - P2) - 95%97.64%95.19%93.69%99.22%
Reactive - INC Restoration (P3) - 92%96.55%88.50%97.48%95.95%
Reactive - INC Restoration (P4) - 92%99.40%98.61%99.66%99.02%
Prod App - SAP (99.4%)100%99.99%100%99.88%
Prod App - SKYPE (99.4%)100%100%100%100%
WAN Availability - Unmanaged link (99%)96.20%95.55%98.32%97.76%
Tools Availability - SCOM (99%)100%100%100%100%

Thanks,

Saranya

 

 

 

amitchandak
Super User
Super User

@Saranya3_d , refer this can help

https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-num...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi Amit,

 

thanks for the artical which you shared, i will use this option for straight fit metrics.

 

however, below is my requirement. 

 

Hi...I am having 30 different Metrics with 30 different targets. For Ex: P1 sla 98%, P2 Sla 96%, P3 sla 94% & P4 sla 90%. Sometimes, few months are missing the targets. So now, the requirement is, if we missed any targets then we should highlight the same in red color. 

 

For common targets, I can apply conditional formatting but I'm not able to apply conditional formatting option for different metrics with differnt targets. 

 

We will be projecting the metrics in row wise formate as mentioned below. 

 

Kindly help me how to do conditional formatting for different targets.

 

SLA MetricsNov’19Dec’19Jan’20Feb’20
Quality of User Experience (>90%)96.30%96.50%94.49%94.72%
Quality of User Experience (>75%)73.15%81.82%77.95%70.15%
Reactive - INC Response (P1) - 95%100.00%100.00%100.00%94.12%
Reactive - INC Response (P2) - 95%100.00%99.04%98.20%99.22%
Reactive - INC Response (P3) - 95%98.28%100.00%98.32%100.00%
Reactive - INC Response (P4) - 95%100.00%100.00%100.00%99.67%
Reactive - INC Restoration (Met1 - P1) - 90%100.00%50.00%84.62%88.24%
Reactive - INC Restoration (Met2 - P1) - 100%100.00%50.00%84.62%100.00%
Reactive - INC Restoration (Met1 - P2) - 92%97.64%95.19%93.69%97.66%
Reactive - INC Restoration (Met2 - P2) - 95%97.64%95.19%93.69%99.22%
Reactive - INC Restoration (P3) - 92%96.55%88.50%97.48%95.95%
Reactive - INC Restoration (P4) - 92%99.40%98.61%99.66%99.02%
Prod App - SAP (99.4%)100%99.99%100%99.88%
Prod App - SKYPE (99.4%)100%100%100%100%
WAN Availability - Unmanaged link (99%)96.20%95.55%98.32%97.76%
Tools Availability - SCOM (99%)100%100%100%100%

Thanks,

Saranya

 

 

 

@Saranya3_d , I assume all those on a row are the metrics. I doubt you have to create either conditional formatting for all of them using https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting

 

Or create a measure like I suggested last time

Color sales = if([Sales Today] -[sales yesterday]>0,"green","red")

and use the field and measure formatting

https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-num...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.