{"id":1106,"date":"2021-12-07T11:56:00","date_gmt":"2021-12-07T10:56:00","guid":{"rendered":"https:\/\/ad-astra.com.pl\/?p=1106"},"modified":"2021-12-13T22:04:41","modified_gmt":"2021-12-13T21:04:41","slug":"jak-wykonac-prognoze-kroczaca-w-sac","status":"publish","type":"post","link":"https:\/\/ad-astra.com.pl\/en\/2021\/12\/07\/jak-wykonac-prognoze-kroczaca-w-sac\/","title":{"rendered":"How to make a rolling forecast in SAC?"},"content":{"rendered":"<p>SAP Analytics Cloud includes many planning and prediction functionalities. Users can use the SAC platform to predict future values based on historical data.<\/p>\n\n\n\n<p>Forecasts can be carried out in a fixed time frame, e.g. from January to December, but there is also a rolling forecast function for planning with a continuous time horizon and with a fixed number of periods.<\/p>\n\n\n\n<p><strong>Step 1 \u2013 prerequisites - data versions<\/strong><\/p>\n\n\n\n<p>In order to use the rolling forecast function we need a table in SAC with data intended for the forecast. In SAC, thanks to the version management function, we can create different versions of data (e.g. by copying data from one version to another). In our example we will use two versions: Actual, containing real data and Forecast, intended for forecasting.<\/p>\n\n\n\n<p>First, we add a new canvas area page to the report and insert a table component.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"590\" src=\"https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/1.png\" alt=\"\" class=\"wp-image-1112\" srcset=\"https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/1.png 1093w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/1-300x160.png 300w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/1-1024x546.png 1024w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/1-768x410.png 768w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/1-535x285.png 535w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/1-16x9.png 16w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/1-375x200.png 375w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" src=\"https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/1-1.png\" alt=\"\" class=\"wp-image-1113\" width=\"1024\" height=\"549\" srcset=\"https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/1-1.png 1099w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/1-1-300x169.png 300w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/1-1-1024x576.png 1024w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/1-1-768x432.png 768w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/1-1-535x301.png 535w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/1-1-16x9.png 16w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/1-1-356x200.png 356w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Pic. 1. Inserting a new page and table into the report<\/figcaption><\/figure>\n\n\n\n<p>In the Designer panel, we configure the table as follows:<\/p>\n\n\n\n<p>In the Rows we select Measures , with filter on Quantity.<\/p>\n\n\n\n<p>In the Columns we select: Version and Date.<\/p>\n\n\n\n<p>We select two versions: Actual and Forecast.<\/p>\n\n\n\n<p>In the last step, we filter the date by element and select all months from 2021.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" src=\"https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/2.png\" alt=\"\" class=\"wp-image-1117\" width=\"757\" height=\"402\" srcset=\"https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/2.png 756w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/2-300x161.png 300w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/2-535x287.png 535w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/2-16x9.png 16w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/2-373x200.png 373w\" sizes=\"(max-width: 757px) 100vw, 757px\" \/><figcaption>Pic. 2. Filter dimension by member<\/figcaption><\/figure>\n\n\n\n<p><strong>Step 2 \u2013 table preparation<\/strong><\/p>\n\n\n\n<p>After inserting the table, we move on to showing the booked and unbooked data in the 12-month layout.<\/p>\n\n\n\n<p>For the Date\u2019s dimension, select the option of unbooked values, i.e. Unbooked Data.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"292\" src=\"https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/3.png\" alt=\"\" class=\"wp-image-1122\" srcset=\"https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/3.png 1098w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/3-300x93.png 300w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/3-1024x317.png 1024w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/3-768x238.png 768w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/3-535x166.png 535w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/3-16x5.png 16w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/3-646x200.png 646w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Pic. 3. Unbooked Data<\/figcaption><\/figure>\n\n\n\n<p>The table now shows 12 months of posted and unposted data for 2021 for both Actual and Forecast versions.<\/p>\n\n\n\n<p><strong>Step 3 \u2013 table layout for forecast<\/strong><\/p>\n\n\n\n<p>In the next step, we will set up the rolling forecast layout to see 2021 month by month, and configure the view of both versions.<\/p>\n\n\n\n<p>We use the built-in forecast layout template, available under the Matrix icon in the Editor. Then the Forecast Layout configuration panel is displayed.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"229\" height=\"265\" src=\"https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/4.png\" alt=\"\" class=\"wp-image-1124\" srcset=\"https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/4.png 238w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/4-10x12.png 10w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/4-174x200.png 174w\" sizes=\"(max-width: 229px) 100vw, 229px\" \/><figcaption>Pic. 4. Display Forecast Layout<\/figcaption><\/figure>\n\n\n\n<p><strong>Step 4 \u2013 rolling forecast configuration<\/strong><\/p>\n\n\n\n<p>We have prepared the table and the layout of the forecast, we can proceed to the configuration of the rolling forecast.<\/p>\n\n\n\n<p>For the Layout, we use the version for historical data - Actual, then the version for forecast data - Forecast. Next we will set the  Cut-over date, which is the date the table will change versions between Actual and Forecast.<\/p>\n\n\n\n<p>Next, for the Timeframefield we select the type of forecast, i.e. in our example, the Rolling Forecast. Then we define the number of periods for the historical and forecast data. Finally, we define the element for which we want to see the sum of the values in the table - in our example, the Cut-over Year.<\/p>\n\n\n\n<p>We approve the changes by pressing Apply.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"359\" height=\"634\" src=\"https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/5.png\" alt=\"\" class=\"wp-image-1126\" srcset=\"https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/5.png 359w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/5-169x300.png 169w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/5-7x12.png 7w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/5-112x200.png 112w\" sizes=\"(max-width: 359px) 100vw, 359px\" \/><figcaption>Pic. 5. Forecast Layout configuration<\/figcaption><\/figure>\n\n\n\n<p>This will now set up the visualization to show 12 months of Actuals and Forecast data based on when the month of Actuals data is booked.<\/p>\n\n\n\n<p>In this scenario we have 2 months of Actuals data and 10 months of Forecast data.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"907\" height=\"136\" src=\"https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/6.png\" alt=\"\" class=\"wp-image-1127\" srcset=\"https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/6.png 907w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/6-300x46.png 300w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/6-768x117.png 768w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/6-535x81.png 535w, https:\/\/ad-astra.com.pl\/wp-content\/uploads\/2021\/12\/6-16x2.png 16w\" sizes=\"(max-width: 907px) 100vw, 907px\" \/><figcaption>Pic. 6. Rolling Forecast view<\/figcaption><\/figure>","protected":false},"excerpt":{"rendered":"<p>SAP Analytics Cloud includes many planning and prediction functionalities. Users can use the SAC platform to predict future values based on historical data.\nForecasts can be carried out in a fixed time frame, e.g. from January to December, but there is also a rolling forecast function for planning ...<\/p>","protected":false},"author":4,"featured_media":1163,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[93,92,21],"_links":{"self":[{"href":"https:\/\/ad-astra.com.pl\/en\/wp-json\/wp\/v2\/posts\/1106"}],"collection":[{"href":"https:\/\/ad-astra.com.pl\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ad-astra.com.pl\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ad-astra.com.pl\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/ad-astra.com.pl\/en\/wp-json\/wp\/v2\/comments?post=1106"}],"version-history":[{"count":14,"href":"https:\/\/ad-astra.com.pl\/en\/wp-json\/wp\/v2\/posts\/1106\/revisions"}],"predecessor-version":[{"id":1128,"href":"https:\/\/ad-astra.com.pl\/en\/wp-json\/wp\/v2\/posts\/1106\/revisions\/1128"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ad-astra.com.pl\/en\/wp-json\/wp\/v2\/media\/1163"}],"wp:attachment":[{"href":"https:\/\/ad-astra.com.pl\/en\/wp-json\/wp\/v2\/media?parent=1106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ad-astra.com.pl\/en\/wp-json\/wp\/v2\/categories?post=1106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ad-astra.com.pl\/en\/wp-json\/wp\/v2\/tags?post=1106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}