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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
vnqt
Helper V
Helper V

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

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

@vnqt 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
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!

Jan NL Carousel

Fabric Community Update - January 2025

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

Top Solution Authors