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

Creating a % change calculation

Hi,

I am looking for a solution to creating a column within a table to show the value's relationship with the previous column.

For my specific example, I have a table showing months and number of sales. What I need to create is a a column which shows the percentage change in the value from the previous month.

e.g If December 2009 sales are 100 units, and January 2010 are 110 units, how do I create an expression, within the table or on a new table, which shows that January sales are 10% higher than in December.?

I suspect this is probably not that difficult but have hit a brick wall.

Many Thanks

Jason

1 Solution

Accepted Solutions
Not applicable
Author

Hi Jason,

see the attached example.

Good luck!

Rainer

View solution in original post

4 Replies
Anonymous
Not applicable
Author

did you already try something like

previous(month) ??

Not applicable
Author

Hi Jason,

see the attached example.

Good luck!

Rainer

Not applicable
Author

Thanks that works well.

Is there a function to replace "Above" if I was using this in a table where the period ran across the top?

Here is an idea of wht I am hoping to acheive

Period123456
SalesChangeSalesChangeSalesChangeSalesChangeSalesChangeSalesChange
10-1220.0%1416.7%1614.3%1812.5%2011.1%


Many Thanks

Jason

Not applicable
Author

Jason,

see QV help and look for: before, after ....

Rainer