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
JClark
Frequent Visitor

Stacked Column - Conditional Formatting

Hi, I have this visual in my dashboard where I would like the bars to represent the same colours as the cards (as shown). The 'Current Period' card has conditional formatting applied so when Current Period is less than 'Previous Period' it is red, if it is higher it is green. 'Previous Period' is always grey.

 

JClark_0-1643978844689.png

 

The problem I'm having is the stacked column seems to suit the purpose of showing current and previous period (seperate measures) but lacks conditional formatting of the Data Colours, whereas if I use a Clustered Column Chart I can only place a single measure.

 

The colours in the visual above were manually selected to show the outcome I'm looking for. Any advice would be great, thanks!

3 REPLIES 3
JClark
Frequent Visitor

I still haven't been successful in finding a solution.

mahoneypat
Microsoft Employee
Microsoft Employee

Have you used the Columns area of the Format Options? You can enter the desired hexcode for your two measures.

 

mahoneypat_0-1643980027991.png

 

mahoneypat_1-1643980033937.png

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Hi, that would be an option if I was looking to have static colours but they need to be conditional in line with the cards I'm using. I get the option to do so with one measure in the chart but not two:

 

JClark_0-1643980360667.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.