Adding Serial Numbers to a Table

  • Last update:  2022-05-10
  • 1. Overview

    1.1 Expected effect

    For example, add a serial number to the "Contract ID", as shown in the following figure:

    11.png

    Note: The mobile terminal does not currently support the table ranking function.

    1.2 Implementation ideas

    Idea 1: The serial number does not need to participate in the calculation of the dashboard, and the serial number display function is used.

    Idea 2: The serial number needs to participate in the calculation of the dashboard, which is implemented using a combination of functions ACC_SUM and AVG_AGG.

    Note: The schedule does not support idea 2

    2. Example

    This article mainly explains how to use functions.

    The sample data is the "Contract fact sheet" under the "package".

    2.1 Create a new dashboard

    Create a new dashboard, name it and select the storage location, click "OK". Select "add component", select "Contract fact sheet" under "package", and click "OK", as shown in the following figure:

    12.png13.png

    2.2 Add calculation indicators

    Click "+", add a calculation indicator, name it "Serial Number", enter the formula: ACC_SUM(AVG_AGG(1),0), click "OK", as shown below:

    14.png

    Formula description:

    FormulaDescription
    AVG_AGG(1)Calculate the average value of 1, which is equivalent to counting the data that needs to be calculated, and assign a value of 1.
    ACC_SUM(AVG_AGG(1),0)Return the cumulative calculation result of all values of the corresponding dimension (the example is the Contract ID), that is, the counter is accumulated.

    Select "Group Table", drag "Contract ID" into the dimension column, and "Serial Number" into the indicator column. You can also filter out data with empty value, as shown in the following figure:

    15.png

    3. Effect view

    See section 1.1 of this article for details.

    附件列表


    主题: Advanced Data Analysis
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy