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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Conditional formatting for stacked column chart to show forecast data

Hi - I have a stacked column chart comparing two years of data (2023/24 and 2024/25) for 6 regions, with each year broken down into quarters. For the second year, there are three quarters which are estimated (Q2, Q3, Q4). I'd like to show the estimated quarters as dashed/faded colour rather than block colour (as a forecast). Can I create a measure for this? Years are shown as 2024 - 2025; quarters as Q1, Q2, Q3, and Q4. Any help would be much appreciated - thanks!

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @Anonymous - Stacked column chart in Power BI with styles (such as dashed or faded color), you can use a combination of DAX measures and conditional formatting. While Power BI does not support directly applying dashed lines or faded colors to specific segments within a column chart visualization.

 

I think you can try with conditional formatting by creating a flag with estimated and actual values with flag 0 and 1

In Format pane of the stacked column chart>>Under Data colors, set different colors for actual values and estimated values.
To give the estimated quarters a "faded" look, select a lighter shade or transparency for the estimated measure.

 

Try the above alternative , Let know.

 

 

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
rajendraongole1
Super User
Super User

Hi @Anonymous - Stacked column chart in Power BI with styles (such as dashed or faded color), you can use a combination of DAX measures and conditional formatting. While Power BI does not support directly applying dashed lines or faded colors to specific segments within a column chart visualization.

 

I think you can try with conditional formatting by creating a flag with estimated and actual values with flag 0 and 1

In Format pane of the stacked column chart>>Under Data colors, set different colors for actual values and estimated values.
To give the estimated quarters a "faded" look, select a lighter shade or transparency for the estimated measure.

 

Try the above alternative , Let know.

 

 

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





amitchandak
Super User
Super User

@Anonymous , As of now conditional formatting is not supported on Stacked visual

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.