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

Growth Column

I have following pivot bale in my QV doc.

    

CLASS201220132014
FIRE6,781,1187,271,5197,339,058
HEALTH6,747,9888,178,1998,486,264
MARINE2,311,6952,158,9372,313,657
MISC7,570,1178,883,6548,602,588
MOTOR38,387,05540,223,10243,109,010

My espression for above is sum(PREMIUM)

I want to add a cloumn show growth over the years. Then the table should look like shown below

      

CLASS20122013%2014%
FIRE6,781,1187,271,5197%7,339,0581%
HEALTH6,747,9888,178,19921%8,486,2644%
MARINE2,311,6952,158,937-7%2,313,6577%
MISC7,570,1178,883,65417%8,602,588-3%
MOTOR38,387,05540,223,1025%43,109,0107%

Kindly help me to write the expression for the above growth calculation.

5 Replies
prma7799
Master III
Master III

Can you please share formula for growth over the years

upaliwije
Creator II
Creator II
Author

(7271519-6781118)/6781118*100

prma7799
Master III
Master III

PFA..

upaliwije
Creator II
Creator II
Author

Thanks

I can do do it the way you suggessted. But when there are more year I have write expression for each column. Isn't there ant other way to do it please ?

prma7799
Master III
Master III

You can take dimension Class with Year (2 dimension) and  YTD LYTD  and Grwth  as expression and move dimension Year on above expression