Create a Calculation View of Type Cube in the SAP HANA Cloud
Use SAP Business Application Studio to create a calculation view.
Overview
You will learn
- How to create a calculation view in SAP Business Application Studio
- How to join data from another calculation view
Prerequisites
Prerequisites
- You have created an anonymized view as explained in this tutorial.
- You have created and loaded data in the
PERFORMANCEtable as explained in this tutorial.
Steps
Intro
A video version of this tutorial is also available:
Create a new Calculation View via the SAP HANA: Create SAP HANA Database Artifact command pallet entry.

New calculation view Create a calculation view called
PERFORMANCE_SALARIESof Data Category CUBE. Press Create
New calculation view
Drop a
joinnode into the modeling space
New calculation view Use the
sign to add the calculation view to the node.
plus sign 
New calculation view Type in the name of the anonymized view from the previous tutorial -
V_SALARIES. Select it and click Finish
New calculation view Click on the
sign again and add the table
plus sign PERFORMANCE. Click Finish and you should see both artifacts in the join node:
New calculation view
Double-click on the join node. A panel will open on the right.
Drag and drop the
IDfield to join the entries inV_SALARIESwith the records inPERFORMANCE.
New calculation view Set the cardinality to
1..1
New calculation view In the Mapping tab, add all the columns as output columns. Make sure
IDis only added once
New calculation view Connect the join node with the aggregation node using the

arrow 
New calculation view
Click on the Aggregation node and double-click on the join parent to add all the columns to the output

New calculation view Go into the Semantics node and change the
START_YEARandIDto attributes. Set the aggregation of the remaining measures toAVG
New calculation view
Deploy

New calculation view Open the HDI Container in the Database Explorer

New calculation view Under Column Views you will find your Calculation View. Choose Open Data

New calculation view Go into the Analysis tab. Drag the
T-LEVELattribute into the label axis and theEvaluation Ratinginto the values axis.
Resources
Discussion
Share feedback on this tutorial or join the conversation in SAP Community.