Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Bar Chart Difference

Hi All,

I have the following bar chart.

In the Y axis I have the amount of money spent.

In the X axis I have the Year.

I would like to know which is the function to calculate de difference between one year and another.

lets suppose that in 2011 I spent $100 and on 2012 I spent 200, I want the function that brings to me 200 - 100 = 100 automatically. (as another bar in the chart)

For total accumulated  I use rangesum(above).... but for the difference I don't know which is the function..

thank you all ...

1 Solution

Accepted Solutions
swuehl
MVP
MVP

You could look into the chart inter record functions, one of them is the above() function you already used.

So try something like

=Sum(Value)-above(Sum(Value))

as expression for your Delta bar.

View solution in original post

2 Replies
swuehl
MVP
MVP

You could look into the chart inter record functions, one of them is the above() function you already used.

So try something like

=Sum(Value)-above(Sum(Value))

as expression for your Delta bar.

Not applicable
Author

You re right...

It was just in front of my eyes....

Really thanks.