Forum Discussion

JellyFishBi's avatar
JellyFishBi
Helper I
7 years ago
Solved

Ranking changes when applying filters

Good Evening Folks.  My Problem with RANKX is that It ranks my list just fine as shown: BUT When I filter by a Provider, "Reem" in this case, His rank drops to 2 as shown. My Formula is...
  • Ashish_Mathur's avatar
    Ashish_Mathur
    7 years ago

    Hi,

    This measure solves the problem

    RankProdHr = IF(HASONEVALUE(BizLine[ProvName]),RANKX(ALLSELECTED(BizLine[ProvName]),[Prod/Hr]))
    Hope this helps.