Forum Discussion

Valerica_G's avatar
Valerica_G
Regular Visitor
6 years ago
Solved

group ranking

I have a lot of hierarchical data about stocks the data is not aggregated. I created a map with these stocks (summarizing them by regions). Then I colored the provinces based on the regions value. T...
  • Anonymous's avatar
    Anonymous
    6 years ago

    Hi Valerica_G ,

     

    Please check the measures below.

    Measure = SUM('Table'[stock])
    rank = RANKX(ALLSELECTED('Table'[region]),[Measure],,DESC)

    Result would be shown as below.

     

     

    Best Regards,

    Jay

    Community Support Team _ Jay Wang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.