Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

Expression for cal CGAR ?

HI All

i have attend the meeting  last 20 year , I keep see people present their sales growth over the year . assume that  company operate for last 10 year , and first  sales 1 million and 2nd year 2 million and 10 year later this year in 2015 10 million sales.

may I know the expression for CGAR ?

Paul

20 Replies
sunny_talwar

So are you looking to get Year-over-Year sales growth?

paulyeo11
Master
Master
Author

Hi Sunny

http://www.investopedia.com/terms/c/cagr.asp

I am looking for compound annual sales growth rates .

My question is how to create formula , so that I don't need maintain .

Paul

Sent from my iPhone

sunny_talwar

I know what it means, I am just trying to understand if you are looking to calculate this in the back end or front end of the script? and if you are trying to find the CAGR from min year to max year?

paulyeo11
Master
Master
Author

Hi Sunny

I need the expression at front end. I want to compare sales growth by company.

Paul

Sent from my iPhone

sunny_talwar

May be something like this:

=Num(exp((1/Count(Year)) * log(FirstSortedValue(Sales, -Year)/FirstSortedValue(Sales, Year))) - 1, '#,##0.00%')


Capture.PNG

Capture.PNG

paulyeo11
Master
Master
Author

Hi Sunny

Can you share with me FirstSortedValue how can get it ?

Paul

Sent from my iPhone

sunny_talwar

Paul, do you wish to know how FirstSortedValue() function work? Have you seen QlikView or Qlik Sense help?

Check out these links:

https://help.qlik.com/sense/2.1/en-US/online/#../Subsystems/Hub/Content/ChartFunctions/BasicAggregat...

Value Associated with Min/Max Value of Another Field (Front End Solution)

vikasmahajan

go through this https://community.qlik.com/message/821942#821942

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
prma7799
Master III
Master III

Try this

=((pow((((SUM({$<FinancialYear=,FiscalYear={$(=max(FiscalYear))},MonthName=,Quarter=
>}
[Sales]))/100000)
/
((
SUM({$<FinancialYear=,FiscalYear={$(=max(FiscalYear-4))},MonthName=,Quarter=
>}
[Sales]))/100000)),(1/4))-1)*100)

This is for five years CAGR