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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
ACraig08
Helper III
Helper III

Column Chart Coloring not applying like you would think

So I have a clustered column chart by quarter and fiscal year. I wanted to color the columns based on their fiscal year. When I go the the Columns dropdown it shows selections like this:

ACraig08_1-1715089884172.png When I assign a color it says it assigned it to each chosen fiscal year (so all of the 2021's, or all of the 2022's). But it only colors the first ones like this:

ACraig08_2-1715089983767.png

If I try to add Fiscal Year to legend it messes the graph up like this:

ACraig08_3-1715090032774.png

Any help is greatly appriciated.

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@ACraig08 , Only when use one measure and no legend, You can color based on condition like

 

If(Max(Table[Year]) = Year(Today()) , "Green", "Blue")

 

You can use the measure in conditional formatting using Field value option

How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/...
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pan...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@ACraig08 , Only when use one measure and no legend, You can color based on condition like

 

If(Max(Table[Year]) = Year(Today()) , "Green", "Blue")

 

You can use the measure in conditional formatting using Field value option

How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/...
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pan...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors