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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
dyh1006
New Member

Change Date colors base on the day of the week

Hi ,

 

I have this visual which captures tickets assigned per day. I am trying to change the color of the date based on the day of the week. ex. if the date is a saturday then change it to yellow, if the date is a friday change it to blue etc.... I've have tried to change it using a formula but it changes all the dates with the same color. can anyone help?

 

dyh1006_0-1647351702790.png

 

4 REPLIES 4
Hariharan_R
Solution Sage
Solution Sage

Hi,

 For your above scenario.

1. Create Day Name calculated column = 

DayName = FORMAT([Date], "dddd")
2. Create a measure for the conditional color = 
Color = IF(MIN('Table'[DayName])="Saturday","Yellow","Red")
3. Add the above color measure under color expression 
Hariharan_R_1-1647361648090.png

 

Hariharan_R_0-1647361614704.png

Thanks

Hari

Thanks for reaching out. i tried your solution but it is bypassing the color yellow, it is turning all the dates to red. 

Here is the measure i created 

dyh1006_0-1647364203663.png

Here are the results now

dyh1006_1-1647364230519.png

 

Hi, @dyh1006 

It is currently not possible to make it colorful.

Even with a formula, only one color can be preserved.

 

Best Regards,
Community Support Team _ Eason

Thanks for responding. I thought it was going to be possible but i we need to work with what we have. Hopefully this can be change in the future. 🙂

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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