Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Month-to-Month growth

Hi,

Required: Month-to-month growth

PeriodRevenue
2012  Dec€ 4636802
2013  Jan€ 4849272
2013 Feb€ 4898024
2013 Mar€ 4883361
2013 Apr€ 6017844
2013 May€ 5920954


If I select Year = 2013, I would like to get something like that

PeriodRevenueGrowth% P-P-1
2013  Jan€ 4.849.2725%
2013 Feb€ 4.898.0241%
2013 Mar€ 4.883.3610%
2013 Apr€ 6.017.84423%
2013 May€ 5.920.954-2%

One way to solve this out is using the the above() function. This however wil produce null() growth for the first period. since the user can stil select a year this is no option.

try this:

SUM([# Revenue] /

ABOVE(        

          If(PeriodeSeq = MIN(TOTAL aggr(Min(PeriodeSeq),%Periode)) ,

                                  $(vRevenue1stPeriod),

                                  SUM([# Revenue]))

             )

where

SET vRevenue1stPeriod = sum({1<Year=, Period = ,PeriodeSeq = {'$(=MIN(TOTAL aggr(Min(PeriodeSeq),%Periode))-1)'}>}[# Revenue])

This obviously didnt work since set analysis are evaluated one time per chart....

Ideas will be welcome

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Same problem as here. The AsOf table in the posted example should work for you too.


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
Not applicable
Author

Hi,

Still struggling here. Any ideas?

Dror

Gysbert_Wassenaar

Same problem as here. The AsOf table in the posted example should work for you too.


talk is cheap, supply exceeds demand
Not applicable
Author

This is a certainly a step forward. Funny that Qlikview cannot tuckle this natively. The ability to have period-to-period seems to me as a "must have" feature.