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
arun2001mjl
Helper II
Helper II

Coloring a Table based on Completion of Date Column

Hello All,

 

Need Help.

 

I have a Table with Company Holiday List for all Employees.

I need to color the column whichever is already completed. Future dates need to be in Different color and Completed Dates to be in different color. Is it possible in PowerBI?

 

arun2001mjl_0-1666790028806.png

 

1 ACCEPTED SOLUTION
v-yadongf-msft
Community Support
Community Support

Hi @arun2001mjl ,

 

This is my test table:

vyadongfmsft_0-1666836778077.png

 

Create a measure:

Measure = IF(MAX('Table'[Date])<= TODAY(),"Lightpink","Lightskyblue")

 

Create a table and right click, select "Conditional formatting" - "Background color".

vyadongfmsft_2-1666837370837.png

 

Conditional formatting for every column:

vyadongfmsft_3-1666837434601.png

 

You will get a table like this:

vyadongfmsft_4-1666837531466.png

 

Best regards,

Yadong Fang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yadongf-msft
Community Support
Community Support

Hi @arun2001mjl ,

 

This is my test table:

vyadongfmsft_0-1666836778077.png

 

Create a measure:

Measure = IF(MAX('Table'[Date])<= TODAY(),"Lightpink","Lightskyblue")

 

Create a table and right click, select "Conditional formatting" - "Background color".

vyadongfmsft_2-1666837370837.png

 

Conditional formatting for every column:

vyadongfmsft_3-1666837434601.png

 

You will get a table like this:

vyadongfmsft_4-1666837531466.png

 

Best regards,

Yadong Fang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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