Quick Calculation - Ranking

  • Last update:January 18, 2024
  • Overview 

    Application Scenario 

    Rank the data in chart or table components.

    For example, you may need to rank the regions and areas according to the proportion of the regional sales volume to the total sales volume, as shown in the following figure.

    Function Description 

    You can use the Ranking and Group Ranking functions in Quick Calculation for a component.

    iconNote:
    This function cannot be used in detail tables.


    You can use the Store sales statistics dataset in Public Data.

    Ranking 

    Concept 

    Ranking is to rank the currently grouped indicator according to the numerical size. You can sort the data in an ascending (from small to large) or descending order (from large to small).

    For example, you can display the sales volume ranking of each region in a descending order, where the sales volume ranking of each area among all areas is also displayed in a descending order after all region nodes are expanded, as shown in the following figure.

    Ranking 

    Use the Store sales statistics dataset to create a group table, as shown in the following figure.

    Drag the Sales Volume field into the Indicator bar again, and choose Quick Calculation > Ranking > Descend in the drop-down list of the Sales Volume field, as shown in the following figure.

    Ranking Using Functions 

    Use the formula RANK_ANLS(SUM_AGG(Sale Volume),0,"desc"). For the usage of the RANK_ANLS function, see RANK_ANLS.

    Group Ranking 

    Concept 

    Group Ranking is to rank the indicator value in the current group. You can also sort the data in an ascending or descending order.

    For example, you can display the sales volume ranking of each region in a descending order, where the sales volume ranking of each area in the region is also displayed in a descending order after all region nodes are expanded, as shown in the following figure.

    Group Ranking 

    Use the Store sales statistics dataset to create a group table, as shown in the following figure.

    Choose Quick Calculation > Group Ranking > Descend in the drop-down list of the Sales Volume field, as shown in the following figure.


    Group Ranking Using Functions 

    Use the formula RANK_ANLS(SUM_AGG(Sale Volume),1,"desc"). For the usage of the RANK_ANLS function, see RANK_ANLS.


    附件列表


    主题: Creating a Visual Component
    Previous
    Next
    • 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