In this exercise, we will create a new view of the semantic type dimension based on our previously created table. We will enhance this data by configuring a geographic enrichment so that we can visualize the store location on a geo map later in SAP Analytics Cloud.
-
Log On to your SAP Datasphere tenant.
-
Select the menu option Data Builder on the left-hand side.
-
Click New Graphical View.
-
On the left-hand side you can decide between:
- Repository: Here you have access to the local tables (imported data), Views, Intelligent Lookups and Shared Objects.
- Sources: Here you have access to respective objects from your connections.
-
Ensure you select the option Repository and open the folder
TECHED2024-DA180
. -
You are presented with the list of tables, which we created previously. Drag and drop the table Store to the canvas.
-
You automatically will – in addition to the table you dragged to the canvas – receive the output view, in the screenshot called
View 1
: -
Navigate to the View Properties window by clicking on the
View 1
in the canvas. -
Here you can configure properties for the view:
-
Now click on the table Store on the canvas.
-
When you select the table on the canvas, you have the following options (top to bottom)
- You can add filter on top of the source entity.
- You can rename or hide columns as part of a projection.
- You can add Calculated Columns.
- You can add an Aggregation View.
- You can add additional tables / views based on suggested joins, which are based on your Entity Relationship model.
- You can preview the data.
- You can open the Impact & Lineage Analysis.
- You can open the table in the editor in another browser tab.
-
Use the option to add a new calculated column. This option also includes the ability to configure the geographic enrichment.
-
Now click on the new node fx on the canvas.
-
Navigate to the properties on the right-hand side.
-
Click on the + sign and select the option Geo-Coordinates Column.
-
You are presented with the properties for the new column. Configure the following details:
-
After you configured the details, click on the <Columns option in the properties window to go back.
-
Select the final output node for the graphical view of semantic type dimension.
-
Navigate to the properties on the right-hand side.
-
Navigate to the Attributes area.
-
Use the pencil icon (top right area) to open the details for the Attributes.
-
Ensure that the semantic type for the attribute Store Name is set to Text.
-
Set the Label (Text / Association) column for the line item Store ID to Store Name.
-
Click Close.
-
In the toolbar in the General menu, use the option to save your view in the folder
TECHED2024-DA180
. -
After saving your dimension view, ensure you deploy the view.
You've now created your dimension view Dimension Store, including the added geo-coordinates column Store Location, which is required for using visualizations on geo maps within SAP Analytics Cloud.
Continue to - Exercise 07: Creating the View