Forum Discussion

kubaalbrecht's avatar
kubaalbrecht
Regular Visitor
4 years ago
Solved

Rank AVG for the data subset

Hello,   I have data about the scores of players in beachvolleyball tournaments:   Tournament ID Player Sets won Sets lost Sets diff Rank AVG 1 A 6 0 6 1 1 B 2 4 -2 3 1...
  • v-kkf-msft's avatar
    v-kkf-msft
    4 years ago

    Hi kubaalbrecht ,

     

    You just need to change the code in step 2 to

    = Table.AddIndexColumn(Table.Sort([allrows], {"Sets diff", Order.Descending}), "DiffRank",1)

     

    The other steps remain the same and get the same result.

     

     

    If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
    Best Regards,
    Winniz
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.