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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.