OpenSAP Sac5 Week 4 All Slides
OpenSAP Sac5 Week 4 All Slides
The most basic question is just asking for the ‘Sales revenue’
value for a measure
Help users focus on the top (or bottom) ‘show top 10 sales revenue by product’
contributor dimension members to a
measure
Allow users to ask questions that restrict ‘Revenue by Sales Manager > 5M and < 10M’
the results based on a measure value
Help users understand how a key measure or ‘show quantity sold and sales revenue by month
KPI is changing over time. for the last 2 years’
Help users compare how 2-3 measures ‘show gross margin, discount and sales revenue
relate to and affect one another and if by manager’
so, in what manner and why
Help users compare their actual values ‘compare sales revenue by actual & forecast’
for a measure to other versions of the
same measure (for example, Plan,
Forecast)
1. 5.
2.
Identify info 3. 4. Training &
Index model
worker use Create Test rollout to end
with search
cases / synonyms search users / info
to insight
questions workers
Best Practice
▪ Generate the index using a technical user account with admin access to the underlying data to set the
largest index scope possible
▪ Don’t set variables for optional prompts and avoid mandatory prompts if possible
Steps to complete
▪ Select which dimension members should be
indexed and made searchable
Best Practice
▪ Don’t index dimension members if users are
unlikely to use ask questions with them (for
example, IDs, lat/long…)
▪ Don’t index sensitive dimension members as the
typeahead can expose more data than the user
has access to
▪ Remove high cardinality dimensions
Note: If the dimension name IS indexed but the members are NOT indexed then users
▪ can ask questions to group by the dimension (e.g. ‘Show Revenue by Product’)
▪ can’t ask questions that filter on dimension members (e.g. ‘Show Revenue for Bikes’)
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 16
Search to insight
Create synonyms for popular measure and dimension names
Steps to complete
▪ Create synonyms / acronyms for the names of
common measures / dimensions that are
frequently referred to in questions
Best Practice
▪ Restrict access to manage synonyms to a few
people so that they are consistently managed
▪ Acronyms used for measures can also be
captured (for example, AOV = Average Order
Value)
[email protected]
Follow all of SAP
www.sap.com/contactsap
[email protected]
Follow all of SAP
www.sap.com/contactsap
[email protected]
Follow all of SAP
www.sap.com/contactsap
Planning
Planning Models Models
Source data Source data
(actuals) (actuals)
▪ Planning-enabled models can be used as data sources
for time series forecasting scenarios. They cannot be
used in classification and regression scenarios.
▪ Historical data is acquired into planning models from the Predictive Planning
source systems. Data Time Series
Sources Forecasting
▪ All data sources that can be leveraged by planning Scenarios
models are supported (SAP BW, SAP S/4HANA, …),
except SAP Business Planning and Consolidation (BPC). Planned Predictive
data forecasts
▪ Any version (public or private) can be used as a source of
data to create the time series forecasting models. Stories
▪ Predictive forecasts can be written back to private
versions, promoted to public versions, and consumed
into stories to help planners.
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 3
Prepare the right data for predictive scenarios
Gathering the right data in planning models
When dealing with the most advanced use cases, all Planning
Models
relevant information can be included in planning models:
Dates
▪ Dates
Properties Versions
▪ Values to forecast (target variable)
Accounts Influencers
▪ Influencers
▪ Entities Measures Hierarchies
Datasets
Predictive
scenario
–
Time series
forecasting
Training dataset (used to create Output dataset (containing the predicted forecasts)
the predictive model)
1. Trains using
Classification
Scenario
2. Applies using
Training dataset – Employees that left or stayed at the end of 2021 3. Generates
Application dataset – Employees as of beginning of 2022 – we want to predict if they might leave Generated dataset – end of 2022 predictions
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 11
Prepare the right data for predictive scenarios
Using datasets for regression
▪ When creating and using regression scenarios, we need two datasets:
− The first one is used to create the regression model – the training dataset. It uses historical data.
− The second one is used to apply the regression model – the application dataset. It’s the data we want to
predict.
▪ The regression scenario will generate predictions into a third dataset – this is the one used in stories.
1. Trains using
Regression
Scenario
3. Generates
Training dataset – Used cars with their selling prices
2. Applies using
Application dataset – Used cars for sales today Generated dataset – price predictions
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 12
Example source: https://blogs.sap.com/2020/03/31/hands-on-tutorial-sap-smart-predict-used-car-pricing/
Prepare the right data for predictive scenarios
Recommendations when creating datasets for classification / regression scenarios
[email protected]
Follow all of SAP
www.sap.com/contactsap
Time series forecasting scenarios can be created using two types of data sources:
▪ Planning-enabled models
▪ Datasets (either acquired or live on SAP HANA on-premise systems)
The major differences are listed below.
Finally, you get the record count per entity (see 3).
This is useful if you have sparse time series.
2 3
You can also evaluate the accuracy of your
predictive models in stories.
The use of planning models or datasets as data sources changes the way you integrate predictive
forecasts in stories.
The use of planning models or datasets as data sources changes the way you refresh predictive
forecasts in stories.
Planning Models Datasets
Planning
Retraining the Datasets Retraining the
Models
Data model on the Data model on the
refreshes latest actuals refreshes latest actuals
(scheduled) (manual)* (manual) (manual)
Delivering predictions
into stories with
Predictive Planning
datasets
Data Time Series Data Predictive
Sources Forecasting Sources Scenarios
Scenarios
Delivering the
Export data Writing back predictive
refreshes the predictive forecasts to
(when forecasts datasets
applicable) (manual)* (manual)
Stories
Stories Datasets
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC *automation is planned as part of the product roadmap 9
Predict future outcomes with Smart Predict Forecasting
Demo
[email protected]
Follow all of SAP
www.sap.com/contactsap
What is it?
▪ A classification model helps to classify observations based on historical data.
▪ Using classification, you can predict the probability that a specific event will
happen.
Examples: Classification
▪ Who is likely to win a horse race based on their recent form?
▪ Who is likely to buy this product based on their buying habits?
▪ Who is likely to leave a company based on their employee profile?
▪ Who is likely to stop using a service based on their usage and satisfaction?
Datasets
Valerie is responsible for an online shopping portal that sells beauty and pharma products. The collected data
describes usage and activities on the portal. She wants to predict which customers might reduce their
activities.
The following blogs are helpful if you want to explore classification in detail:
▪ Classification in SAP Analytics Cloud in Detail
▪ Prediction Explanations For Classification Predictive Models in SAP Analytics Cloud
▪ Hands-On Tutorial SAP Smart Predict, Customer Churn Analysis for online retail
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 12
Thank you.
Contact information:
[email protected]
Follow all of SAP
www.sap.com/contactsap
What is it?
▪ A regression model is used to estimate the value of a measure.
▪ Using a regression model, you can predict the most likely value for a
given observation.
Examples:
▪ What is the delay in each customer paying their invoices?
▪ How many products will a customer buy in the next quarter?
▪ How much will a customer spend on my e-commerce on average?
Datasets
Dan is a sales manager. He wants to have a dashboard that presents estimated sales revenue for the next 6
months. The goal is to get predicted insights of the expected revenue and drill down at the customer and
product level.
The regression model relies on a gradient boosting technique, similar to the classification model.
The following blogs are helpful if you want to explore regression in detail:
▪ Regression in SAP Analytics Cloud in Detail
▪ Prediction Explanations for Regression Models in SAP Analytics Cloud
▪ SAC Smart Predict – What goes on under the hood
[email protected]
Follow all of SAP
www.sap.com/contactsap