All Products
Search
Document Center

Dataphin:Step 3: Develop an atomic metric

Last Updated:Jun 23, 2026

Develop the Total Order Amount atomic metric for this tutorial.

Procedure

  1. On the Dataphin home page, click Developer in the top menu bar.

  2. Open the Create Atomic Metric dialog box as shown in the following figure.

    image.png

  3. In the Create Atomic Metric dialog box, configure the parameters.

    1. In the Basic Information area, configure the parameters.

      Parameter

      Description

      Business Entity

      Select the Purchase Order business entity.

      Data Domain

      Defaults to transaction domain.

      English Name

      Enter total_order_amount.

      Chinese Name

      Enter Total Order Amount.

      Measurement Unit

      Select the CNY measurement unit.

      Data Type

      Select the decimal data type.

      Description

      Enter a brief description of the atomic metric, such as Total Order Amount.

    2. Configure the parameters in the Computation Logic area.

      Parameter

      Description

      Data Recency

      Enable Day.

      Main Source Table

      Select the LD_dataphin_tutorial.fct_order_buy_di source table.

      Computation Logic

      Enter the computation logic.

      sum(fct_order_buy_di.payment_amount)

      Is Additive

      Select Yes.

    3. After you complete the configuration, click Save and Submit to submit the atomic metric.