Import dimensions and attributes

Updated at:

Dimensions are a data standard used in dimensional modeling, often managed alongside metrics. You can bulk-import dimensions and their attributes to create them quickly.

Procedure

  1. Log on to the Data Resource Platform console.

  2. In the upper-left corner of the page, click the 菜单 icon and select Collaboration.

  3. In the top menu bar, click the 选择工作组 icon, select the target workspace, and then click DataStudio.

    Note

    If you are already on the DataStudio page, skip the step of clicking DataStudio.

  4. In the left-side navigation pane, click the 数据标准 icon and select standard design > dimension management.

  5. Hover over dimension management and click the image icon.

  6. On the dimension management page, click Import.

  7. In the Import Dimension dialog box, click the 2514 icon to upload a file.

    You can prepare the file in one of the following ways:

    • Method 1: Fill in data in the template.

      1. Click Download Template and save the template locally.

      2. Open the template, fill in the dimension and attribute parameters as shown in the example, and then save the file. You must fill in the content on both the Dimension List and Data Standard worksheets.

        Note

        The Dimension Name, unique code, and Description fields on the Dimension List worksheet are required.

    • Method 2: Use a dimension file exported from the system.

  8. Select a duplicate content handling option. We recommend selecting Replace Existing Content.

    Note
    • Replace Existing Content: Overwrites existing content and adds new content.

    • Retain Existing Content: Skips duplicate content and imports only new content.

  9. Click Import. A success message appears. Click OK.

    After the import is complete, you can view the imported dimensions and attributes on the dimension management list page.