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: 
Not applicable

How to compute sales growth rate

Hi All

I need to compute the sales growth rate for last 10 year sales data .

So far i am able to compute sales growth for CY vs PY .

This approach can only sales 1 growth rate.

what i need is the Table , which column 1 is Year and column 2 is sales on that year and column 3 i want to display the growth rate.

year............sales..............growth rate

2000............100...............

2001............110...............10%

2002............110................0%

May i know what is the expression for growth rate ?

1 Solution

Accepted Solutions
Jason_Michaelides
Luminary Alumni
Luminary Alumni

Try:

(Sum(Sales)-Above(Sum(Sales)))/Above(Sum(Sales))

Hope this helps,

Jason

View solution in original post

5 Replies
Not applicable
Author

Hi there,

You can always use Peek function to figure out growth in script level, and above function in Chart level.

Regards,

Jason_Michaelides
Luminary Alumni
Luminary Alumni

Try:

(Sum(Sales)-Above(Sum(Sales)))/Above(Sum(Sales))

Hope this helps,

Jason

Not applicable
Author

Hi All

Thank you very much , it work . can some one show me how to use peek ?

Not applicable
Author

check this excellent example,

Peek() vs Previous() – When to Use Each

Not applicable
Author

Hi Sir

Thank you for your link

Paul