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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Formating the date column

Hello,

 

I would like to color the date column  as below : 

IF date < 2 months : RED

2 - 4 months : Orange

> 4 months : green

Name Value Date
Name 1 Value 109/10/2023
Name 2Value 220/09/2023
Name 3Value 320/09/2023
Name 4Value 420/09/2023
Name 5Value 510/03/2023
Name 6Value 611/03/2023
Name 7Value 712/03/2023

 

Result : 

vnqt_0-1702032408850.png

 

 

Could you please advise ? 

Thank you in advance.

Tg

1 ACCEPTED SOLUTION
devesh_gupta
Impactful Individual
Impactful Individual

@Anonymous You can use rule based conditional formatting to color the date column. You can refer this video to know how to implement rule based conditional formatting.

 

https://youtu.be/Fq0JneLDbGs?si=hTyyxWF-407Acrbp

 

If you find this insightful, please provide a Kudo and accept this as a solution.

View solution in original post

1 REPLY 1
devesh_gupta
Impactful Individual
Impactful Individual

@Anonymous You can use rule based conditional formatting to color the date column. You can refer this video to know how to implement rule based conditional formatting.

 

https://youtu.be/Fq0JneLDbGs?si=hTyyxWF-407Acrbp

 

If you find this insightful, please provide a Kudo and accept this as a solution.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.