Forum Discussion

TheWizardHunter's avatar
TheWizardHunter
Regular Visitor
2 years ago
Solved

Rank within a group based on another table column

Hello All, Would appraciate any help regarding creating a rank column in a table for a visual. I created a group using the group feature for a column "Flag (groups)", The table has another collumn c...
  • TheWizardHunter's avatar
    2 years ago

    Many thanks Cory,

    I modified the formula to the below and it worked.
    Ranking = RANKX(
    ALLSELECTED('Table'[Flag (group)]),
    CALCULATE(SUM('Table'[Amount]))
    )