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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
gantaran
Regular Visitor

Bar chart visual with positive and negative values

I am working on a visual that will show a list of our plants with their monthly production capacity.  The visual will be used for planning downtimes.  If I select a plant (that is, a plant has a scheduled downtime), the visual should show the selected plant's capacity as a negative value, while the rest of the unselected plants will still be shown as positive values.  can you help me how I can achieve this?

1 ACCEPTED SOLUTION

I was able to make it work using disconnected tables.  Thank you for your suggestion.  Much appreciated.

View solution in original post

8 REPLIES 8
gantaran
Regular Visitor

I thought so - I have been trying to use a horizontal clustered bar chart.  But I can't make it work.  First, my desired outcome is that all values should be shown as positive when nothing is selected (I have a slicer for the plant names).  What happens is that everything is negative when nothing is selected.  Second, if I select a plant, it will show the negative value (desired outcome) but the rest of the plants are not shown (should be shown as positive values).  

That seems to be a little unusual (A filter does filter stuff, it does not usually show the non-selected items.  If you need that behavior you would use disconnected tables for your filter.) What is the story you are trying to tell with your data?

The visual should show the impact of a downtime of a particular plant and how the other plants can assist in providing the capacity that the unavailable plant needs to provide. 

 

Makes sense.  Use a disconnected table. 

 

What if more than one plant is offline?

the expected bahavior will be the same.

Please provide sample data that fully covers your issue. In usable format (not as a screenshot).

I was able to make it work using disconnected tables.  Thank you for your suggestion.  Much appreciated.

lbendlin
Super User
Super User

That is standard functionality.  What have you tried and where are you stuck?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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