Generate Semantic Information

Use the Generate Semantics command to request SAP Datasphere to suggest a Semantic Usage for your entity, identify measures and attributes, and apply appropriate semantic types to them.

Prerequisites

For information about privileges and other prerequisites needed to use this feature, see the prerequisites listed in Modeling Data.

Procedure

  1. Open your table or view in its editor, and click (Generate) Start of the navigation path Next navigation step Generate SemanticsEnd of the navigation path.

  2. In the dialog, select options as appropriate:

    Option

    Description

    Select Semantic Usage (Fact, Dimension, Text)

    Instruct SAP Datasphere to select the appropriate Semantic Usage for your entity.

    Identify Measures and Attributes and Set Keys and Semantic Types

    Instruct SAP Datasphere to:

    • Sort columns into measures and attributes.

    • Set keys where appropriate.

    • Apply the necessary semantic type to each column to allow it to be used in analytics.

    Do Not Override Existing Column Metadata

    Instruct SAP Datasphere to ignore any column that already has a semantic type applied.

  3. Click Generate.

    When generation is complete, your entity's properties will be updated to reflect the new semantic usage. Changes may be made to the following properties:
    • Entity Semantic Usage property.

    • Movement of items from the Columns or Attributes list to the Measures list.

    • Column Key property.

    • Column Semantic Type property.

  4. Review the changes to ensure that they are appropriate. Changes are highlighted in blue, and next to each is a (Review) button, which you can click to see the reasoning behind the change and the previous values

    If you do not agree with a change, you can click Revert Changes to undo it.

  5. Click (Save)Start of the navigation path Next navigation step SaveEnd of the navigation path to save your entity or click (Deploy) to save and deploy it immediately.

    For more information, see Saving and Deploying Objects.