Find the percentage of the top six in the sum of the top six respectively

  • Last update:  2022-04-15
  • 1. Overview

    1.1 Expected effect

    Find the percentage of the top six sales neighborhoods in terms of the sum of the top six sales, respectively, as shown below.

    9.png

    1.2 Implementation idea

    The top six neighborhoods in terms of sales are first filtered and then implemented by adding calculation indicator.

    2. Operation steps

    Use the demo data "Store sales statistics" to create the component.

    2.1 Screening of the top six Area2

    1)Drag the dimension "Area2" into the horizontal axis and the indicator "Sales" into the vertical axis, and select the chart type as grouped table, as shown below.

    10.png

    2)Click "Area2", select drop-down > Filter, click Add Conditions in the filter settings box that pops up in the system, filter out the top six sales Area2, and click OK. As shown in the figure below.

    11.png12.png

    2.2 Top six as a percentage of all Area2

    1)Drag in the indicator field "Sales" and click on the dropdown > Quick Calculation > Share, as shown below.

    13.png

    2)The grouping table is shown below.

    14.png

    2.3 Top 6 Area2 share of top 6 total respectively

    1)Add the calculation indicator, add the indicator name "Top six each Area2 as a percentage of top six Area2" for the indicator, and enter the formula as shown below.

    15.png

    Two functions, SUM_AGG and TOTAL, are used in this formula. For details on SUM_AGG, see SUM_AGG; for details on TOTAL, see Quick Calculation Functions.

    2)Drag this calculated indicator into the indicator column of the analysis area, as shown in the following figure.

    16.png

    3)For this calculation indicator, select the drop-down>Value format, and follow the same procedure as in Chapter 2.2. The following figure shows.

    17.png

    3 Effect view

    The percentages of each of the first six Areas2 to the first six Areas2 are shown in the figure below.

    18.png

    附件列表


    主题: 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