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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Smasjosh
New Member

How to generate a stacked column chart where the difference between sum and target is shown in air

Hello,
I want to use a stacked column chart containing 3 columns:

Here Gap = Sum- Target

 

I want to show Gap in stacked column chart which is shown in green colour(Required).
Any suggestion. It's Urgent too. 
Thanking you in advance:)
With Regards,
Ashu.

IDValueType
18Target
21.3Gap
39.3Sum

Gapimage.PNG

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Use a waterfall chart or add a fake third category  with a value of 8 that is rendered in white foreground color so that the target stacks on top of it.

 

Please provide sanitized sample data that fully covers your issue. If you paste the data into a table in your post or use one of the file services it will be easier to assist you. I cannot use screenshots of your source data.

Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

View solution in original post

2 REPLIES 2
Smasjosh
New Member

That was a good idea. It worked. Thank You 🙂

lbendlin
Super User
Super User

Use a waterfall chart or add a fake third category  with a value of 8 that is rendered in white foreground color so that the target stacks on top of it.

 

Please provide sanitized sample data that fully covers your issue. If you paste the data into a table in your post or use one of the file services it will be easier to assist you. I cannot use screenshots of your source data.

Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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