反馈已提交

网络繁忙

You are viewing 5.1 help doc. More details are displayed in the latest help doc.

COUNTD_AGG

  • Recent Updates: April 08, 2022
  • 1. Overview

    COUNTD_ AGG() performs deduplication count on the data of the specified dimension (the number of non empty cells). With the switching of user analysis dimension, the calculation field will automatically adjust dynamically with the dimension.

    GrammarCOUNTD_AGG(array)According to the current analysis dimension, return the deduplication count of a certain field, and the generated result is a data column with the number of rows consistent with the current analysis dimension.
    Parameterarray

    It must be the result returned by a non-aggregate function formula, which can be a calculation result of an indicator field, dimension, or indicator field and a common formula.

    2. Matters needing attention

    Real-time data supports the use of a parameter of any type.

    3. Examples

    When the user's horizontal axis is the dimension field "Day", the value returned by the caculation indicator COUNTD_AGG (Sales) on the vertical axis is the number of deduplication of daily sales.

    When the user's horizontal axis is the dimension field "Month", the value returned by COUNTD_AGG (Sales) is the number of deduplication of monthly sales.

    For example, you use the built-in dataset "User retention data" and want to count the number of users in different regions. In this case, different phone numbers are used to represent different users. There are two implementation schemes.

    3.1 Method one

    Use the COUNTD_AGG function to create the calculation indicator "Number of users", and enter the formula: COUNTD_AGG (contact number), as shown in the figure below:

    40.png

    Drag the data into the analysis bar, as shown in the figure below:

    41.png

    3.2 Method two

    Use dimension conversion indicators to convert "contact number" into indicator, as shown in the figure below:

    1649226376970606.png

    4. More use

    COUNTD_ AGG is more often nested with other functions for conditional counting.

    Attachment List


    Theme: Advanced Data Analyis
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    售前咨询电话

    400-811-8890转1

    在线技术支持

    在线QQ:800049425

    热线电话:400-811-8890转2

    总裁办24H投诉

    热线电话:173-1278-1526

    文 档反 馈

    鼠标选中内容,快速反馈问题

    鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。

    不再提示

    10s后关闭