If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.
this is my script for forecasting and it works vey well.
[AAAAAA]:LOADesecompet as RF_ForYear1,right(mese_competenza,2) as RF_ForMonth1,saldo as Revenue
FROM ...;Trend_Dates:LOADDisplay_Date,Month(Display_Date) AS ForMonth,Year(Display_Date) AS ForYear;LOADMonthStart(ADDMONTHS(TODAY(),RecNo()-1)) AS Display_DateAUTOGENERATE 24;Random_Finance:Load *,MonthStart(MakeDate(RF_ForYear1, RF_ForMonth1)) As Display_Date;LOAD RF_ForYear1, RF_ForMonth1, Revenue Resident AAAAA;
I would like to calculate different kind of predictions with the same data but with different times...
calculate the slope_m for the last 6 months and predict it;
then the same things with the last 3 months and predict it.. and so on...
And get something like this.. where the blue line is the prediction with all the data, the red one is the last 3 month and black 6 month.... How can i do it?