Forum Discussion

samblackshaw28's avatar
9 months ago
Solved

Rank DAX formula

Hi,   Please can someone help me with the DAX for Rank. I have tried to look everywhere and can't find a solution to my specific issue.   I am making a dashboard which is used to see how our diff...
  • Praful_Potphode's avatar
    9 months ago

    Hi samblackshaw28 

    try below measure:

    Rank =
    RANKX(
        ALL(JV_Lookup[JV Name]), -- Removes filters on JV Name so all partnerships are ranked
        CALCULATE(
            SUM(JV_Revenue_Summary[Revenue]),
            JV_Revenue_Summary[Revenue Type] = "Initial",
            REMOVEFILTERS(JV_Lookup[JV Name]) -- Ensures revenue is calculated across all JVs
        )
    )

     

    Please Give Kudos or mark it as solution once confirmed.

     

    Thanks and Regards,

    Praful