Dense Ranking

  • Last update:  2023-07-04
  • Overview

    Preview

    Ranking effect: 1 1 1 4 5

    Dense ranking effect: 1 1 1 2 3

    How to achieve the effect of dense ranking as shown in the following figure (FineBI defaults to ranking.)?

    If you want to achieve the ranking effect, directly perform operations on the original data as section "Ranking Grouped Scores".

    Implementation Method

    Group the same scores together and rank the grouped data. Then use the Join function to combine the grouped data with the original data to obtain dense ranking results.

    Procedures

    Example data: Score.xlsx

    Data Processing

    Create an analysis subject, upload the example data table Score (default to selecting all fields), and rename the table as Dense Ranking.

    Grouping Values with the Same Score

    Add the Group Summary step, and drag the field Score into the grouping column.

    Ranking Grouped Scores

    Add a column Dense Ranking as shown in the following figure.

    Rank the grouped scores (unique values).

    Join

    Merge with the original table Score by keeping all the right-side data (connecting the scores from the original table with the corresponding grouped dense rankings).

    1. Add the data table Score again.

    2. Select the table Score to be merged.

    Add the Join step and select all fields from the table Score.

    3. Select Right Join as Mode, and the Score field as Merge Basis.

    4. Save and update the analysis subject.

    Creating a Detail Table

    Use the above analysis data to create a Detail Table and sort Dense Ranking in ascending order.

    Effect Display

    The effect of dense ranking is shown in the following figure.

    附件列表


    主题: Adding and Editing Data
    • 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