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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

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 @Anonymous ,

 

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

@Anonymous 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 @Anonymous ,

 

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

Anonymous
Not applicable

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

@Anonymous 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

Anonymous
Not applicable

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

@Anonymous 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

Anonymous
Not applicable

Thanks a lot @Samarth_18, this worked 😊

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors