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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculating % Change in Straight Table

Hello,


New to QlikView here and really sorry for asking such a basic question but could someone please explain how to calculate a percentage change in a straight table?

Say I have a straight table that has 2 columns currently, Period and Value and looks like this:

 

PeriodValue
Jan-15100
Feb-1593
Mar-1588
Apr-1581
May-1576
Jun-1570

I would like to add a third column that simply calculates the percentage change

PeriodValue% Change
Jan-15100
Feb-1593-7.00%
Mar-1588-5.38%
Apr-1581-7.95%
May-1576-6.17%
Jun-1570-7.89%

My data set is obviously much larger and complex than this in actuality so I'd rather not calculate this in the load script,  or do it in a pivot table. I've been trying to use a set analysis expression to no avail. Any help is appreciated!

Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

Got it! Just read about the "Above" function. So in the example I presented the expression would be entered as Above(Sum(Value))/Sum(Value)

View solution in original post

2 Replies
Not applicable
Author

Got it! Just read about the "Above" function. So in the example I presented the expression would be entered as Above(Sum(Value))/Sum(Value)

Not applicable
Author

I have a similar requirement but just the 2 additional dimensions coming in, how to do it in this case?

calculation.JPG