Blogs / SAP / SAP Cloud for Analytics / Creating SAP BW based Linked Dimensions (live & import) in SAP Analytics Cloud

Creating SAP BW based Linked Dimensions (live & import) in SAP Analytics Cloud

May 16, 2018

SHARE

You can create links between dimensions in multiple models which come from different connections.

Linked dimensions can be used to create blended charts that display data from multiple models. Linked dimensions also allow you to create filters that simultaneously update all charts that include linked data. Filters on linked dimensions can be used at the story, page, and linked analysis level.

You use several data sources in a workbook and any action performed on a dimension affects the same dimension in other data sources in the same way. By default, the ID attribute is used to match members between the linked dimensions.

Here in this blog, we will see how to link two models from different connections. This story contains two models, one is a live connection whereas the other is non-live connection.

Model 1: SAP BW connection

  1. Create a model with non-live connection as shown below
    Creating SAP BW based Linked Dimensions (live & import) in SAP Analytics Cloud
  2. Select a query
    Creating SAP BW based Linked Dimensions (live & import) in SAP Analytics Cloud
  3. Drag required dimensions and click on Dimension Presentation. Select ‘KEY’ and ‘TEXT’ of the dimension.
    Creating SAP BW based Linked Dimensions (live & import) in SAP Analytics Cloud
  4. The ID attribute is used to match members between the linked dimensions.
    Creating SAP BW based Linked Dimensions (live & import) in SAP Analytics Cloud
  5. The attributes of a dimension must match the attributes of the dimension it is linked to:
    Creating SAP BW based Linked Dimensions (live & import) in SAP Analytics Cloud
  6. Save the above model.

Model 2: Live connection

  1. Create another model with non-live connection as shown below
    Creating SAP BW based Linked Dimensions (live & import) in SAP Analytics Cloud
  2. Choose a live connection from system
    Creating SAP BW based Linked Dimensions (live & import) in SAP Analytics Cloud
  3. Select a data source and save the Live Model
    Creating SAP BW based Linked Dimensions (live & import) in SAP Analytics Cloud
  4. Configure the Model
    Creating SAP BW based Linked Dimensions (live & import) in SAP Analytics Cloud

Link Dimensions

  1. Open the story and select Edit.
  2. Open the Link Dimensions dialog. There are two ways to access the dialog:
  • Select (Link Dimensions) from the menu bar. (All linked dimensions used in the story will be listed. To create a new link select Start a new model link.)
  • Select a chart. In the Builder tab, expand the Data Source list. Select (Link Models).

The Link Dimensions dialog appears.

  1. In the Data area in the toolbar, select (Edit Prompts) and select Link Variables.
  2. Select a model from the list of models included in your story, or select Add Model to search through the models you have access to.
  3. Choose one or more dimensions.
    Creating SAP BW based Linked Dimensions (live & import) in SAP Analytics Cloud
  4. As shown above, two tables for live and non-live data sources are created along with a filter panel. (The attribute of a dimension must match the attribute of the dimension it is linked to, or when a filter is created, information may not be returned.)
  5. Link dimensions between both models
  6. Select the type of link.
  7. By default, the link option is a Join but you can update the link option to use an Union instead.
    Creating SAP BW based Linked Dimensions (live & import) in SAP Analytics Cloud
    Creating SAP BW based Linked Dimensions (live & import) in SAP Analytics Cloud
  8. Select Set.
  9. Table data is filtered due to dimension linked. As shown below.
    Creating SAP BW based Linked Dimensions (live & import) in SAP Analytics Cloud

Linked dimensions appear in the dialog. For more details on Linked Dimensions or Data Blending, please refer to https://www.sapanalytics.cloud/blending-datasets/. Get your business users trained on more best practices of SAP Analytics Cloud. Want to know more? Click here to get in touch.


Corporate HQ:
5920 Windhaven Pkwy, Plano, TX 75093

+1 888-227-2794

+1 972-232-2233

+1 888-227-7192

solutions@visualbi.com


Copyright © Visual BI Solutions Inc.

Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!

Share This!

Share this with your friends and colleagues!