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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.