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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Jozef
Frequent Visitor

Power Bi Overdue date = mark red

Hello,

 

I would like to ask for help with marking overdue date red in power bi table. 

 

When I try to do conditional formatting on the date, it is offering me only count or count(dist) of the dates.

 

Thanks for help in advance

overdue date.PNGoverdue date conditions.PNG

2 ACCEPTED SOLUTIONS
Samarth_18
Community Champion
Community Champion

Hi @Jozef ,

 

You could create a measure as below and use it in conditional formatting.

 

Conditional_formatting = if(max(table[your_date_column) < Today(),"red")

 

BR,

Samarth

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

View solution in original post

Samarth_18
Community Champion
Community Champion

@Jozef Please try with removing .[Date]  from the column name.

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

View solution in original post

6 REPLIES 6
Samarth_18
Community Champion
Community Champion

Hi @Jozef ,

 

You could create a measure as below and use it in conditional formatting.

 

Conditional_formatting = if(max(table[your_date_column) < Today(),"red")

 

BR,

Samarth

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

Hello @Samarth_18 

 

I have created a measure, but I am not able to use it in the condiction formating. 

Can you check it?

Thanks.

overdue date 1.PNG2022_06_03_07_43_53_.png

Samarth_18
Community Champion
Community Champion

@Jozef Please select the "Field Value" in the Format Style drop down then select the measure.

Samarth_18_0-1654235317940.png

 

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

Hi @Samarth_18 

 

It is behaving very weird

It gave me a total in the table but not changed the color of the overdue date...

Can you please check it?

Thanks.

overdue date 2.PNGoverdue date 3.PNG

Samarth_18
Community Champion
Community Champion

@Jozef Please try with removing .[Date]  from the column name.

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

Thanks a lot @Samarth_18, this worked 😊

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.