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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.