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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.