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
stateofazzie
New Member

Conditonal Formatting Duration Help.

Hello I am having trouble getting the right condition format to highlight a color based off duration. 

 

Idea is say for example if the talk time is greater than 15 minutes, it should highlight yellow. Thanks for the help on this!

stateofazzie_0-1631058609981.png

 

1 ACCEPTED SOLUTION

Thanks for the response. I was able to do it  with

= IF(([Average Handle time])>TIMEVALUE("00:15:00"),1,0) which made columns on the table and from there I was able to plot the colors using the built in formatting tool.

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@stateofazzie , Create a color measure and use that in conditional formatting using filed value option

 

if( [Avg talk time] > time(15,0,0), "yellow", "white")

 

How to do conditional formatting by measure and apply it on pie?: https://youtu.be/RqBb5eBf_I4

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

Thanks for the response. I was able to do it  with

= IF(([Average Handle time])>TIMEVALUE("00:15:00"),1,0) which made columns on the table and from there I was able to plot the colors using the built in formatting tool.

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.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.