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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Percent Change in Graphs

Hi,

I'd like to display the percentage change of an amount column in a line graph. I know I can calculate percent change in a pivot table with time as the dimension and something like

=sum(amount) / before(sum(amount)) - 1

as the expression but the before function only works in a pivot table. Is there an equivalent function or expression that I can use for other types of charts?

I am using QlikView 9.

Thanks.

1 Solution

Accepted Solutions
Not applicable
Author

The above () function works in the Line charts!!!

So the expression would be:

=sum(Amount)/above(sum(Amount))-1

View solution in original post

3 Replies
Not applicable
Author

The above () function works in the Line charts!!!

So the expression would be:

=sum(Amount)/above(sum(Amount))-1

Not applicable
Author

That works! Thanks.

rduvall33009
Partner - Contributor II
Partner - Contributor II

I know this is an older post but how would you compare to the first value.  This would show how each month was compared to the first month/reading?  I thank you advance for your time and assistance.