Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Rankx not working!

Hello everyone,   I have a table with 2 columns (product code, sold qty). I want to create a rank measure using Rankx that ranks the products as below: I tried everything outhere such as usi...
  • mbamber's avatar
    3 years ago
    CALCULATE needed for context transition:

    RANKX
    (ALL('Table'[Product Code]), CALCULATE(SUM('Table'[Sold Qty])))