反馈已提交

网络繁忙

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

AVG_AGG

  • Recent Updates: May 12, 2022
  • 1. Overview

    GrammarAVG_AGG(array)

    According to the current analysis dimension, the summary average value of the indicator field is returned, 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

    The real-time data supports the use of a single numeric type parameter.

    3. Example

    When the user's horizontal axis is the dimension field "Day", the value returned by the calculated field AVG_AGG (Sales) on the vertical axis is the average daily sales;

    When the user's horizontal axis is the dimension field "Month", the value returned by AVG_AGG(Sales) is the average monthly sales.

    For example, using the built-in dataset "Contract fact sheet" to calculate the annual average contract amount, there are two calculation methods.

    3.1 Method 1: Use AVG_AGG function

    Create the calculation indicator "Average contract amount" and enter the formula: AVG_AGG (Contract amount). And drag it into the analysis bar, as shown in the figure below:

    43.png

    44.png

    3.2 Method 2: Use summary mode to average

    Drag "Contract amount" into the indicator column, and click "Dropdown>Summary mode>Average", as shown in the figure below:

    45.png

    For details, please refer to: Averaging by Aggregation Method.


    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后关闭