cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Forecast Function in Analytics Designer API Reference Guide | SAP Analytics Cloud

venkatramanank
Explorer
0 Likes
826

Hey guys,

I came across a requirement for forecasting the actual data within the analytic application. While researching I came to know that there is a component called "Forecast". Please provide a syntax or example on how to use this function.

The link for the Reference guide,

https://help.sap.com/doc/958d4c11261f42e992e8d01a4c0dde25/release/en-US/index.html#Forecast

Thanks in Advance.

Accepted Solutions (1)

Accepted Solutions (1)

N1kh1l
Active Contributor

venkatramanank

venkatramanankThe forecast component class belongs to the chart library and is used to add forecast to the times series charts. It can not be used to generate forecast for planning. I am not sure if your requirement is to generate forecast on charts. If yes then you can just provide the parameters (period and forecast type) to the method. If your requirement is to generate forecast for planning using Actuals (with some formula logic), you need to use Advance formula Data Action and call that Data Action in Analytical Application using script.

It can be used to add forecast to line charts using scripting

Hope this helps !!

Nikhil

venkatramanank
Explorer
0 Likes

Hi Nikhil,

Thanks for your reply. My requirement is to fill the forecast data in a planning table with a button click. As this forecast component belongs only to Charts, I will try out the Data Action and trigger it. Thanks again

Answers (0)