Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
francisvandergr
Partner - Creator II
Partner - Creator II

Increase or decrease in %

Hi,

I have a dashboard with an example:

column1    Year

column2   Turnover

column3   % increase or decrease to last year

So i want the following table :

YearTO% Increase
7320
20051000
200610101
20072020100
20081010-100
2009111110
201011110
20113333200


Can someone help me

1 Solution

Accepted Solutions
swuehl
MVP
MVP

I think (using your expression label TO from your sample, or replace with your expression to calculate the turnover):

=(TO-above(TO))/above(TO)

could be enough.

Format percentage in numbers tab, if you like.

Regards,

Stefan

View solution in original post

3 Replies
mphekin12
Specialist
Specialist

try this expression for the % Increase/Decrease:

=if(Turnover >= above(Turnover)

,((Turnover/above(Turnover))-1) * 100

, ((Turnover/above(Turnover))) * -100

)

swuehl
MVP
MVP

I think (using your expression label TO from your sample, or replace with your expression to calculate the turnover):

=(TO-above(TO))/above(TO)

could be enough.

Format percentage in numbers tab, if you like.

Regards,

Stefan

mphekin12
Specialist
Specialist

Stefan,

Your solution is much cleaner. Thanks for the suggestion!

Mike