Forum Discussion
JellyFishBi
7 years agoHelper I
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...
- 7 years ago
Hi,
This measure solves the problem
RankProdHr = IF(HASONEVALUE(BizLine[ProvName]),RANKX(ALLSELECTED(BizLine[ProvName]),[Prod/Hr]))Hope this helps.
Ashish_Mathur
7 years agoSuper User
Hi,
This measure solves the problem
RankProdHr = IF(HASONEVALUE(BizLine[ProvName]),RANKX(ALLSELECTED(BizLine[ProvName]),[Prod/Hr]))
Hope this helps.
JellyFishBi
7 years agoHelper I
Looks Great. Thank you. Why did we need allselected?
- Ashish_Mathur7 years agoSuper User
You are welcome. To pay heed to the specific Clinic names chosen in the slicer.
- JellyFishBi7 years agoHelper I
New Problem has arisen. When I select any other provider with the slicer, they all are ranked 1. I need them to maintain their rank when filtered by slicer. How to cope with this?
Man thanks,
Mike- Ashish_Mathur7 years agoSuper User
Cannot understand. Show the exact problem and also the expected result.