Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Help me to calculate the % growth in Sales

Dear Qlik community,

I've the annual Sales in a table below.

Annual Sales.png

I want to calculate the growth in sales year over year (YOY) in Qlikview. So: (Current year - Last year) / Last year.

Is there somebody who can help me?

Thanks!!

3 Replies
dplr-rn
Partner - Master III
Partner - Master III

Use above function. something like

(Sum(LineSalesAmount) - above(Sum(LineSalesAmount)))/above(Sum(LineSalesAmount))

qlikviewwizard
Master II
Master II

Hi,

Try like this.

Capture.PNG

Data:

LOAD * INLINE [

Product,Year,Sales

P1,2011,12527

P1,2012,31179

P1,2013,43069

P1,2014,23091

P2,2011,12527

P2,2012,31189

P2,2013,43069

P2,2014,23091

P3,2011,12526

P3,2012,31157

P3,2013,43012

P3,2014,23065

];

1.PNG

2.PNG

3.PNG

4.PNG

qlikviewwizard
Master II
Master II

Hi ewoutgaan

Did you test?