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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Super User
Super User

@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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.