Building and Configuring Analytic Models: Dimensions, Calculated Measures, and Data Sources (Part 5)
Preview · a free account unlocks the full lesson
Walk through the practical process of building an Analytic Model: adding dimensions, creating calculated and restricted measures, choosing import versus live acquisition, and preparing the model for story and planning consumption.
In this lessonShow sectionsHide sections
Visual overview
Explanation
Building a production-ready Analytic Model goes beyond dragging columns into a canvas; it requires deliberate decisions about granularity, calculation placement, and data source behavior that affect performance and correctness downstream. The build typically starts by choosing the acquisition type.
For an Import model, you connect to a source (flat file upload, OData, SAP BW, HANA, or increasingly a Datasphere view) and SAC copies a snapshot of the data into its in-memory column store; you then map source columns to dimensions and measures, and SAC infers data types which you should manually verify, especially for date fields and numeric precision, since auto-detection sometimes misclassifies a numeric ID as a measure or a date string as free text.
Once base dimensions and measures exist, most real models need calculated measures — formulas evaluated within the model using existing measures, e.g., Margin = Revenue - Cost, or Gross Margin % = Margin / Revenue. Calculated measures execute at the model level using SAC's formula language, which supports arithmetic, conditional (IF), and some aggregation-aware functions.
A closely related but distinct concept is a restricted measure, which filters an existing measure by specific dimension member conditions, e.g., 'Online Revenue' = Revenue restricted to Channel = Online. Restricted measures are essential for building comparison KPIs (like current year vs prior year revenue) without needing separate physical columns.
Create a free account to keep reading
You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.
- Full explanation
- Code example
- Real project scenario
- Common mistakes
- Best practices
- Interview angle
One tap with Google works too. Every topic keeps its first lesson open to everyone.
Keep exploring
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.