Jump to content

How to combine two bar graph


kirpal singh manral

Recommended Posts

Depending on what your data looks like, it may be possible. If you can identify which rows come from dataset 'a' and which come from 'b', for example if you do Add Rows and include an origin column, then you could use an expression such as

Sum(If([origin]="a", [ValueA], -[ValueB]))on the Y axis (note the minus for ValueB), and then split on Color By that origin column. That way, origin a would be above the 0 line and origin b below. But if the values themselves are negative or add up to negative values, or if you need to do something more complicated than Sum, perhaps more thought is needed.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...