Managing Fact Table Configurations


You can configure data for the defined fact table in the Fact Table Configuration tab on the fact table page, and edit and publish the fact table configuration.

Prerequisites


Before you start, ensure the following:

  • The current account has been assigned a menu group containing Fact Tables. If not assigned, contact the application administrator.
  • Fact table definitions that need to be configured with data have been published.
  • If the Data Source Type of the fact table is set as Import from data table, ensure that a data table has been created in the database.

Creating a Fact Table Configuration


  1. Select Fact Tables from the left navigation bar, then select the Fact Table Configuration tab.

  2. Select New to enter the New Fact Table Configuration page.

  3. Select the fact table in Basic Information and configure the data source for it.

    • Fact Table ID: Select a fact table with a published definition.
    • Fact Table Name: The name will be automatically generated based on the selected Fact Table ID.
    • Data Source Type
      • Select Import from Data Table: Import fields from the data table of the data source configured in the fact table definition.
      • Select Custom SQL: Enter an SQL statement to query a data table in the database to import fields.
    • Table Name: Select a data table created under the data source.
  4. Select Next to establish the mapping relationship between the fields in the data table and the attributes in the fact table in Field Mappings. The same data table field can map to different fact table attributes.

    • The Fact Table Field column displays Associated Dimension, Fact Attribute, and Measurement defined in the fact table in advance.
    • Select an existing field in the data table in Mapping Fields (Source Table).
  5. Select Next to confirm the fact table configuration on the Preview page.

  6. Select Publish to save and publish the fact table configuration.

    If you don’t want to publish for the moment, you can Save it as a draft. To publish later, see Publishing a Fact Table Configuration.


After publishing the fact table configuration, the current fact table will be generated in the database configured in the fact table definition.

Editing a Fact Table Configuration


  1. Select Fact Tables from the left navigation bar, then select the Fact Table Configuration tab.
  2. After selecting the ellipsis (…) at the end of the target fact table row, select Edit edit_icon, and then save or publish the changes.

Deleting a Fact Table Configuration


To delete a fact table configuration, ensure that the query mapping group associated with the fact table has been deleted in advance. For more information, see Deleting a Query Mapping Group.


  1. Select Fact Tables from the left navigation bar, then select the Fact Table Configuration tab.
  2. Select Delete delete_icon after hovering over the ellipsis (…) at the end of the target fact table row.

Publishing a Fact Table Configuration


  1. Select Fact Tables from the left navigation bar, then select the Fact Table Configuration tab.
  2. Fact table configurations with the status Updated for Publish or Draft can be published in the following two ways:
    • Select Publish publish_icon at the end of the target fact table row.
    • Check multiple fact tables to publish, then select Publish publish_2_icon at the top of the page to publish fact table configurations in batches.

After the fact table configuration is published, the current fact table can be selected as the data source of the metrics on the Query Mapping tab.

Unpublishing a Fact Table Configuration


To unpublish a fact table configuration, ensure that the query mapping group associated with the fact table has been deleted in advance. For more information, see Deleting a Query Mapping Group.


  1. Select Fact Tables from the left navigation bar, then select the Fact Table Configuration tab.
  2. At the end of the row of the target fact table with a Published status, select Unpublish unpublish_icon to unpublish the fact table configuration.

Previewing a Fact Table Configuration


  1. Select Fact Tables from the left navigation bar, then select the Fact Table Configuration tab.
  2. Select Data Preview preview_icon at the end of the target fact table row to view the published fact table configuration.

Viewing an Online Version of a Fact Table Configuration


  1. Select Fact Tables from the left navigation bar, then select the Fact Table Configuration tab.
  2. Hover the mouse over the ellipsis (…) at the end of the target fact table row with the Updated for Publish status, and then click View Online Version view_version_icon to view the fact table configuration in its most recently modified version.

Reverting a Fact Table Configuration to an Online Version


  1. Select Fact Tables from the left navigation bar, then select the Fact Table Configuration tab.
  2. Hover the mouse over the ellipsis (…) at the end of a fact table for which the status is Updated for Publish, and then select Revert to Online Version revert_version_icon to republish the previous fact table configuration.

Exporting/Importing Fact Table Configurations


Export/import operations are available to share and migrate fact table configurations between different OUs.


  1. Select Fact Tables from the left navigation bar, then select the Fact Table Configuration tab.
  2. Check the published fact tables, select Export, and export a file in JSON format as a template.
  3. Select Import to import a local fact table configuration file.