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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
aashton
Helper V
Helper V

Using a stacked bar chart as a thermometer

Hello,

I would like to show total gross margin by region, so I am using a stacked bar chart, but would like to show how far they are from the goal gross margin (similar to a thermometer).  So using a Stacked bar chart I've put Gross Margin on the Y axis, Region on the Legend, then a max value on the Y-axis  of the goal of $12,550,000.  It almost works, as you see below, I would like some kind of color/bar from eeh top of the last region up to the mark of $12M to show how much farther they have to go.  Any suggestions or better ideas?  ( I added a circle shape to the bottom to look like a thermometer).  I did try the thermometer tool by MAQ but don't see how I can stack it by region?

aashton_0-1654795088832.png

 

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @aashton 

 

You can create a new table by unioning a new row and original table. In the new row, it calculates the difference between the total and the goal value.

vjingzhang_1-1655193220843.png

 

Then use this new table to populate the visual. The new Gap will also display as a Region, so it may be a little confusing if a reader doesn't know its meaning.

vjingzhang_2-1655193478610.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @aashton 

 

You can create a new table by unioning a new row and original table. In the new row, it calculates the difference between the total and the goal value.

vjingzhang_1-1655193220843.png

 

Then use this new table to populate the visual. The new Gap will also display as a Region, so it may be a little confusing if a reader doesn't know its meaning.

vjingzhang_2-1655193478610.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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