ERPClimb logoERPClimb
Analytic Models
SAC / Datasphereintermediate 7 min read

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

Preview · a free account unlocks the full lesson

Key takeaway

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 sections

Visual overview

Building and Configuring Analytic Models: Dimensions, Calculated Measures, and Data Sources (Part 5) — learning sheetIn one line: 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.ERPClimb.com / SAC / LESSON 5/6 / LEARNING SHEETBuilding and Configuring Analytic Models: Dimensions,Calculated Measures, and Data Sources (Part 5)1 · IN ONE LINEWalk through the practical process of building an Analytic Model: adding dimensions,creating calculated and restricted measures, choosing import versus live acquisition, andpreparing the model for story and planning consumption.2 · KEY IDEAS EXPLAINED1Building a production-ready Analytic Model goesbeyond dragging columns into a canvas; it requiresdeliberate decisions about granularity,calculation placement, and data source behaviorthat affect performance and correctnessdownstream. The build typically starts by choosing…2Once base dimensions and measures exist, most realmodels need calculated measures — formulasevaluated within the model using existingmeasures, e.g., Margin = Revenue - Cost, or GrossMargin % = Margin / Revenue. Calculated measuresexecute at the model level using SAC's formula…3Dimension configuration includes settinghierarchies (parent-child or level-based, e.g.,Region > Country > City), which enabledrill-down in stories, and setting up currencyconversion when the Organization dimension role isassigned — this lets the model apply exchange…4A key architectural decision is where calculationsshould execute: in the model (client-independent,reusable, consistent) versus in the sourcesystem/live connection (pushed down, potentiallyfaster for huge datasets but limited by what thesource's semantic layer already exposes) versus in…3 · DO · AVOIDBest practice!Common mistakePlace all officially defined KPIs asmodel-level calculated or restricted measures…Manually verify data type mapping after importinstead of trusting auto-detection, especially…Document currency conversion source and ratetable used when Organization dimension role is…✕Building the same calculated logic separatelyin multiple stories instead of once in the…✕Misclassifying a numeric ID column as ameasure during import, causing incorrect…✕Forgetting to verify currency conversion setupwhen the Organization dimension role is…4 · IN A REAL PROJECTA manufacturing client's finance team needed both 'Actual vs Budget Variance %' and 'Regional Revenue Share %'visible across six stories. The team built these as model-level calculated and restricted measures instead ofstory formulas after discovering that three existing stories had each computed Variance % slightly differently…Original ERPClimb learning sheet • Verify against your SAP release and edition

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.

Free account

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.