Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Daryn
Creator
Creator

Forecasting future months for measure

Hello, 

Seasons greetings to you all.

I have added future months to my master calendar (for now just next 3 months).

I have an existing measure giving a single value per month (up until end of previous month) and would like to forecast it for the next 3 months.

Daryn_0-1702463862602.png

 

I tried with an rangeavg:

Rangeavg(Above(Sum({<[Date.autoCalendar.MonthsAgo]={">=1<=3"}>} [Current Month Price]),0, 3))

But I get what looks to be an unrealistic value repeated for the first two months).

Daryn_1-1702464119970.png

 

My values in a table are:

Daryn_2-1702464204967.png

(exported and attached).

Any help would be appreciated. I don't mind what type of forecast is generated for now (as I can expand on it).

I am happy to do this in the front or backend, pending your advice/expertise!

Regards Daryn

 

 

Labels (2)
2 Replies
Daniel_Pilla
Employee
Employee

Hi @Daryn ,

Are you in Qlik Cloud? If so, are you opposed to using the native forecasting feature? You can toggle it on under the Measure controls, then control the dimensional values under the Dimension controls after enabling it.

forecast.png

Otherwise, you will have to force show the dimensional values (with something like `<measure> + Sum({1}0)` and use an algorithm to calculate it.

Alternatively, you could use a server-side extension, though this is more complex.

I hope this helps-

Cheers,

Daryn
Creator
Creator
Author

Hi,
Many thanks for taking the time to read and respond.
We are using Qlik sense, So unfortunately, the cloud solution is unavailable to me at present.
I am now on annual leave, so won’t pick this up until my return to the office at the beginning of January.
Thank you again, appreciated.
Daryn