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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
rwcampbell
Helper II
Helper II

Conditional Format Timings

Hello,

 

I have a few cards that show the last updated time and date for each of the tables on the system.

 

At the moment we have them set with this measure:

Collation Header Conditional Formatting = IF(MAX(CollationHeader[Updated])>=TODAY(),1,0) which looks at only the date.
 
Is there a way to look at the time which is included with the date and set it that if it passes 10 minutes after the current time, it highlights red otherwise it stays green?
 
Thanks.
1 ACCEPTED SOLUTION

@rwcampbell  you can use the values from the above measure to set the background color

 such as 1=Green, 2=Red

 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

View solution in original post

3 REPLIES 3
smpa01
Community Champion
Community Champion

@rwcampbell  can you try this measure

Measure = IF(MINUTE(NOW()-calculate(max('Table'[time])))<=10,1,2)
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

It is working but what should i set the background colours to?

@rwcampbell  you can use the values from the above measure to set the background color

 such as 1=Green, 2=Red

 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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