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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Stacked Bar Chart where negative values are subtracted from the Total

Hi everyone,

 

Hopefully someone can help me out with my issue here, I have 2 values - one is a total and one is an adjustment to the total

 

For example I have 158k as my total and -15k as my adjustment, when I do a stacked bar in PowerBI I get this, which makes sense.

Capture1.JPG

 

Is there any way to have the adjustment amount stack on top of the total? I did this quickly in excel to get an idea

Capture2.JPG

 

I know I can do a couple different measures to get the positive adjustment and then the difference between the total and adjustment and stack those measures up instead, but I was hoping there would be an easier way? Also the adjustment isn't always negative. I've looked at  bullet graphs but can't seem to get it exactly right.

 

Thanks for any help you can provide!

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

You will have to write 2 measures to solve this problem.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

4 REPLIES 4
ebartlet123
New Member

Can you explain further?

 

v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

You might take a look at Create and use waterfall charts.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ashish_Mathur
Super User
Super User

Hi,

You will have to write 2 measures to solve this problem.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hey what are those two measures?

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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