Creating Time Filters

Atomic metrics are standard definitions for computing logic. Time filters are standard definitions for conditional limits. To ensure that all statistical metrics are unified, standard, and unambiguous, time filters are unique in the business domain and one filter belongs to only one source logic table. The computing logic is defined based on the fields of the source logic table model. A time filter may come from multiple logic tables that belong to different data domains. Therefore, a time filter may belong to multiple data domains as well.

Creating and Publishing a Time Filter

  1. Log in to the DGC console, select a DGC instance, and click Access.

    On the displayed page, click the Workspaces tab. In the workspace list, locate the required workspace.

  2. Click Data Design of the corresponding workspace to access the Data Design console.
  3. Click Technical Metrics in the navigation tree on the left. On the displayed page, click Time Filters.
  4. On the Time Filters tab, click Create.
  5. On the Create Time Filter page, set parameters described in Table 1 and click Save and Publish.
    Figure 1 Creating a time filter
    Table 1 Parameters for creating time filters

    Parameter

    Description

    Time Filter Name

    Only letters, digits, and underscores (_) are allowed. Time filter names must start with letters.

    Time Filter Code

    Only letters, digits, and underscores (_) are allowed. Time filter codes must start with letters.

    Time Configuration

    You can select Year, Month, Day, or Minute, and then select Quick option or Custom to set the time condition.

    Description

    A description of the time filter to be created. Up to 490 characters are supported.

  6. Then, click Save and Publish to submit the application.
  7. Wait for the reviewer to approve the application.

    If the application is approved, the time filter is created.

Managing a Time Filter

  1. Click Technical Metrics in the navigation tree on the left and click the Time Filters tab.
    Figure 2 Time Filters tab
  2. Manage your time filters as required. Refer to the following table for details.

    Operation

    Helpful Link

    Create

    Refer to step Creating and Publishing a Time Filter for details.

    Edit

    Refer to step 3 for details.

    Publish

    Refer to step 4 for details.

    View Publish History

    Refer to step 5 for details.

    Suspend

    Refer to step 6 for details.

    Delete

    Refer to step 7 for details.

  3. Edit a time filter.
    1. Click Edit to the right of the time filter you want to edit. The page for editing the time filter is displayed.
    2. Edit the time filter as required.
    3. Click Save to save the time filter information, or click Save and Publish to publish the edited time filter.
  4. Publish a time filter.
    1. Click Publish to the right of the time filter you want to publish. The Submit for Publishing dialog box is displayed.
    2. Select a reviewer from the drop-down list.
    3. Click Confirm.
  5. View publish history.
    1. Select a time filter in the list and choose More > View Publish History.
    2. On the displayed page, you can view the publish history and version comparison information of the time filter.
  6. Suspend a time filter.
    1. Click Suspend to the right of the time filter you want to suspend. The Submit for Suspension dialog box is displayed.
    2. Select a reviewer from the drop-down list.
    3. Click Confirm.

      Time filters with references cannot be suspended or deleted. They cannot have any derivative metrics referenced.

  7. Delete a time filter.
    1. Select the time filter you want to delete and click Delete in the upper left corner. The Delete Time Filter dialog box is displayed.
    2. Click OK.