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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors