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: 
upaliwije
Creator II
Creator II

Growth

Hi Friends

I attach h/w my QV document where my formula for growth calculation does not work. pls look into this and correct me.

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

Update: Reattaching the file as I think I attached the earlier one without saving

For me it seems to be working:

=Sum({<DESC={'GP'}>}AMOUNT)/Before(Sum({<DESC={'GP'}>}AMOUNT))-1

View solution in original post

8 Replies
sunny_talwar
MVP
MVP

Use this expression:

=Sum(Premium)/Before(Sum(Premium)) - 1

Output:

Capture.PNG

buzzy996
Master II
Master II

problem with ur previous year expression calculation,try to modify tht part ..and see?

Qrishna
Master
Master

try this. it works:

=(sum( {<YEAR={$(=max(Year))}>} [Premium] ) - sum( {<Year={$(=max(Year)-1)}>} [Premium] ))

/Fabs(sum( {<Year={$(=max(Year)-1)}>} [Premium] ))*100

Thanks

upaliwije
Creator II
Creator II
Author

Thanks sunindia

Your expression is working. But in my actual data table there is another filed and if I apply your formula it does not work. Kindly have a look at my QV document attached now !

upaliwije
Creator II
Creator II
Author

Your expression does not work

sunny_talwar
MVP
MVP

Update: Reattaching the file as I think I attached the earlier one without saving

For me it seems to be working:

=Sum({<DESC={'GP'}>}AMOUNT)/Before(Sum({<DESC={'GP'}>}AMOUNT))-1

upaliwije
Creator II
Creator II
Author

Thanks a lot it is working

sunny_talwar
MVP
MVP

No Problem