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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
ACraig08
Helper II
Helper II

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...

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...

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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