Top View Node

Objective

After completing this lesson, you will be able to Describe the function of the top view node.

The Top View Node

Top View Node

When you create a new calculation view, there are always two nodes that are automatically provided.

The very top node is the Semantic node. This node is used to define enrichments to the final results set, such as adding currency information to measures, or apply masking rules to cover up sensitive parts of a data. This is a mandatory node and no additional nodes can be added on top.

Below the semantic node, there is another very important node called the top view node. This node generates the calculated data set before semantics are applied.

How the data category of a calculation view influences the valid top view nodes and result set. The default for a dimension view is Projection. The result is a complete list of attributes. If you switch to Aggregation, the result is a distinct list of attributes. The default for a Cube view is Aggregation. The result aggregates measures over selected attributes. If you switch to Projection, the measures are not aggregated. If you switch to Star join node, you access more attributes from multiple dimensions to aggregate measures.

The type of top-view node that is automatically provided depends on the type of calculation view you are creating. SAP provide a default top-view node type for each of the calculation view types, but it is possible to swap this default node to a different type. You would do this to modify the behavior of your calculation view so that the correct final result is produced before the additional semantics are applied.

Used in conjunction with the switch of calculation view data category, which you find under Properties, it means that you can avoid having to create a brand new calculation view if you just want to change the final step in data preparation. When you switch the node type, the graphical calculation view editor attempts to preserve as much of the existing calculation view definition as possible.

You cannot remove the top-view node or add any additional nodes on top of it.

Note

A very simple calculation view might not require any additional nodes below the top-view node.

The rationale for having the Semantics on top of the top-view node is as follows:

  • Let you manage the top-view node as any other node of the same type (aggregation, projection, or star join which is exclusively used as a top view node and has a few additional capabilities)
  • Display separately the view-global information, such as view properties (including caching and snapshots queries), list of columns (including shared dimensions) with all their properties, column lineage, and so on.
  • Define additional settings such as the semantics of measures (for currency translation purposes, for example), hierarchies, variables, and input parameters.

Log in to track your progress & complete quizzes