Re: How to built Predictions models for qliksense?
The stock answer is probably that you need to use 'Advanced Analytics' as Qlik call it, which is effectively just a technique to throw the data out to R or Python, have that run a model, and then bring it back.
You would have to have a separate expression for the prediction and the actual, but if you stack the bar that would be fine - and it would also allow you to have separate colours.
Similar could be achieved by showing an average of the previous quarters for Q4.
You would need to ensure that you have a Q4 loaded into the data model (so that the dimension exists).
Your expression for actual would be something like:
This basically says that if there are no sales in the quarter, add up the total for the quarters where there are sales and then divide by the number of quarters where there are not.
This approach depends on the data being in full quarters. If you have monthly data, and need to report on part way through a quarter (e.g Q3 contains one month actual and two months projection) you would need to do similar to the above but do it on a month basis, with an aggr: