SAP HANA Modeling – Attributes, Measures, Privileges, Modeling Objects

post

This SAP HANA tutorial covers modeling, converting raw data into usable business data using logic directly on the SAP HANA database for efficiency.

Modeling in SAP HANA is performed through the SAP HANA Studio Modeler, where users can create business models using information views. These models, built at the database level, leverage multi-core CPU processing and parallel technologies for high performance. In the SAP HANA Studio, models are structured as dimension and fact tables, categorized under a package.

Attributes and Measures in SAP HANA Modeling:

Attributes are descriptive or contextual data, such as Country, Store, or Customer Name. They cannot be used in calculations.

Measures are calculable and measurable data, like Sales Amount or Profit Percentage, which are used for analysis.

There are different types of attributes and measures:

Attributes:

Simple Attributes: Derived directly from the data source.

Calculated Attributes: Created from other attributes (e.g., combining First Name and Last Name).

Local Attributes: Private attributes used in specific views.

Measures:

Simple Measures: Taken directly from the source.

Calculated Measures: Created from a combination of measures (e.g., Profit = Sales Price - Cost Price).

Restricted Measures: Filtered based on an attribute (e.g., showing revenue for a specific product in the USA).

Counter: Shows the count of attribute columns.

Types of Modeling Objects:

Attribute View: Uses non-measurable data to design business logic models. These views act as reference data for other views like analytic and calculation views.

Analytic View: Creates star schemas, linking a central fact table with multiple dimension tables.

Calculation View: Combines attribute and analytic views for more complex operations, such as combining data from multiple tables.

Decision Table: Helps in business decision-making by analyzing conditional scenarios using a graphical interface.

Privileges Required for Modeling:

Object Privileges: Provides read/write access to the database.

Package Privileges: Authorizes actions on packages used in data modeling.

Analytic Privileges: Allows access to SAP HANA information views. Full data access can be granted using the "_SYS_BI_CP_ALL" privilege.

In conclusion, understanding SAP HANA Modeling is essential for creating efficient data models and business logic using SAP HANA Studio. This knowledge helps in leveraging the full potential of SAP HANA's processing capabilities.


Share This Job:

Write A Comment

    No Comments