Analytic Models
SAC / Dataspherebeginner

SAP Analytic Models Tutorial (Part 1)

Key takeaway

Introduces what an Analytic Model is in SAP Analytics Cloud, why it exists as a distinct semantic layer, the two main model types, and the basic building blocks every consultant must understand before building stories.

What this complete series covers

Learn Analytic Models in a clear, practical sequence — from the basic idea to real project use, troubleshooting, and interview-ready understanding.

Who it is for
Best for SAP consultants, developers, and learners who want a practical understanding of Analytic Models.
Prerequisites
Basic SAP S/4HANA navigation and an understanding of the business process are helpful. Configuration or transaction steps require suitable access to a practice or project system.
Final outcome
By the end, you should be able to explain Analytic Models clearly, follow the main end-to-end flow, apply it in a project scenario, and troubleshoot the most common issues.
  1. Part 1: SAP Analytic Models Tutorial (Part 1)

    Introduces what an Analytic Model is in SAP Analytics Cloud, why it exists as a distinct semantic layer, the two main model types, and the basic building blocks every consultant mu

  2. Part 2: Introduction to Analytic Models: Purpose, Types, and Where They Fit (Part 2)

    Understand what an Analytic Model is in SAP Analytics Cloud, why it exists, the two core model types (Account and Measure-based), and how it differs from a Story or a Datasphere view.

  3. Part 3: Building and Configuring Analytic Models: Dimensions, Measures, Currency and Calculations (Part 3)

    Covers the practical configuration steps for building an Analytic Model, including dimension setup, hierarchies, calculated and restricted measures, currency conversion configurati

  4. Part 4: Calculated Measures, Restricted Measures, and Currency Conversion in Analytic Models (Part 4)

    Learn how to build calculated and restricted measures inside an Analytic Model and configure currency conversion, and understand how these calculation layers affect performance, re

  5. Part 5: Building and Configuring Analytic Models: Dimensions, Calculated Measures, and Data Sources (Part 5)

    Walk through the practical process of building an Analytic Model: adding dimensions, creating calculated and restricted measures, choosing import versus live acquisition, and prepa

  6. Part 6: Advanced Analytic Models: Architecture, Integration and Production Design (Part 6)

    Advanced capstone for Analytic Models, connecting the existing lesson areas: Analytic Models Foundations: Purpose, Types and Core Structure; Building and Configuring Analytic Model

System and release assumptions: Examples focus on SAP S/4HANA. Exact apps, transaction codes, configuration paths, and field names can vary by release and deployment model.

Explanation

An Analytic Model in SAP Analytics Cloud (SAC) is the central metadata object that defines how raw data is structured, described, and made available for analysis, planning, and predictive use cases. Before a business user can build a story, chart, or planning input form, someone must first create a model that tells SAC what the data means: which fields are dimensions (descriptive attributes like Region, Product, Cost Center), which are measures or accounts (numeric values like Revenue, Quantity), how time is represented, and how currency and units behave.

Why this matters: SAC stories cannot directly consume a flat table of numbers without semantic context. Two people looking at the same CSV file might disagree on what a column means; the model removes that ambiguity by embedding definitions, hierarchies, and calculation logic once, so every story built on that model behaves consistently. This is the same principle behind BW InfoProviders or BPC models in on-premise environments, but reimagined for a cloud-native, self-service analytics product.

SAC supports two primary model types. The first is the Account-based model, historically tied to planning use cases inherited from BPC. In an account model, all measures are represented as members of a single 'Account' dimension, and a special Account dimension type allows different accounts to have different behaviors (e.g., some are additive, some are non-additive like ratios). The second is the Measure-based model, which is more analytics-oriented: each numeric column becomes its own measure with its own aggregation type (sum, average, count, min, max). Measure-based models are generally preferred for pure reporting/BI use cases because they are simpler and align with how business users think about individual KPIs, while account-based models remain the standard for planning because they support versioning, categories, and currency conversion patterns needed for driver-based planning.

Every model, regardless of type, is built from dimensions and measures/accounts. Dimensions include generic dimensions (custom hierarchical attributes), the mandatory Date dimension (time), the Version dimension (for planning, distinguishing Actual vs Budget vs Forecast), and for account models, the Account dimension itself. Measures can be simple stored measures, calculated measures (formulas referencing other measures), or restricted measures (a measure filtered by a specific dimension value, such as 'Revenue for Region = EMEA').

Models can be created from a data import (uploading a flat file or connecting to a live source and letting SAC infer structure), or built manually from scratch by explicitly defining each dimension and measure. In modern SAC, models are also increasingly built on top of SAP Datasphere views, where Datasphere handles data integration, harmonization, and semantic modeling upstream, and SAC models consume that curated layer either live or via replication (import). Understanding this foundational structure is essential because every subsequent decision—performance tuning, security, planning enablement, or Datasphere integration—builds directly on how the model's dimensions and measures were initially defined.

Real project scenario

A retail company onboarding SAC for the first time needs a sales reporting dashboard. The consultant is given a CSV export from the legacy reporting system containing columns: Date, Store, Product Category, Revenue, Units Sold. The consultant imports this file to create a measure-based model, mapping Store and Product Category as dimensions, Date as the time dimension, and Revenue/Units Sold as measures with SUM aggregation. Business stakeholders later ask for a 'Revenue per Unit' KPI, which the consultant adds as a calculated measure (Revenue / Units Sold) directly in the model so it is available consistently across every story built afterward.

Common mistakes

  • Treating every numeric column automatically as a measure without checking if it should actually be a calculated ratio (e.g., importing 'Average Discount %' as SUM-aggregated, producing meaningless totals.
  • Choosing an account-based model for a pure reporting use case, adding unnecessary complexity when a measure-based model would suffice.
  • Not planning dimension granularity upfront, leading to models that cannot support drill-down requirements discovered later.
  • Ignoring the Version dimension's implications early on, then struggling to retrofit planning capability into a model not designed for it.
  • Assuming model changes are free; altering dimension structure after stories are built can break existing bookmarks and calculated measures.

Best practices

  • Clarify with stakeholders early whether planning/what-if capability will ever be needed, since that determines account vs measure-based model choice.
  • Keep dimension granularity as close to the source system's natural grain as possible to avoid costly rework.
  • Use calculated measures for derived KPIs instead of pre-calculating them in the source data, so logic stays visible and maintainable in SAC.
  • Document the meaning and aggregation logic of each measure/account at model creation time, since this becomes the single source of truth for all downstream stories.
  • Prefer building on curated Datasphere views over raw file imports whenever the source data volume or complexity is significant.

Interview angle

Interviewers commonly ask candidates to explain the difference between account-based and measure-based models and to justify which they would choose for a given scenario (planning vs reporting). Be ready to explain aggregation types, the role of calculated vs restricted measures, and how the Version dimension is unique to account models. Demonstrating awareness that model type is a foundational, hard-to-reverse decision shows practical project experience rather than just textbook knowledge.

Practice this lesson

Quick check

1. In the lesson "Analytic Models Foundations: Purpose, Types and Core Structure", consider this project situation: A retail company onboarding SAC for the first time needs a sales reporting dashboard. Which statement is correct?

2. What is the primary purpose of creating an Analytic Model in SAP Datasphere?

3. In an Analytic Model, what determines whether a column behaves as a dimension (for grouping/filtering) or as a measure (for numeric aggregation)?

Interview questions

1. Using this SAP project situation — A retail company onboarding SAC for the first time needs a sales reporting dashboard — explain Analytic Models Foundations: Purpose, Types and Core Structure. What should happen, which concepts or process steps matter, and what common mistake would you avoid?

Answer it in your own words first, then compare.

2. A project encounters this situation while working on Building and Configuring Analytic Models: Dimensions, Calculated Measures, and Data Sources: A manufacturing client's finance team needed both 'Actual vs Budget Variance %' and 'Regional Revenue Share %' visible across six stories. Walk through how you would analyze the requirement or issue, what you would validate, and how you would test the solution before release.

Answer it in your own words first, then compare.

Practice more with Interview AI →

Reference-verified: the steps are checked against official SAP documentation and tutorials, and object and field names in the sample code are checked for consistency. The code has not been compiled or run on an SAP system by ERPClimb. Syntax marked release-dependent varies by SAP release, so check it in your own system.

More lessons in this topic

Interview questions on this topic

Related SAP topics