Forum Discussion
Question on RANKX formula and selected value
- 1 year ago
Anonymous is correct. These 2 have "Dont Summarize", and it is parsing out the states further.
If you remove them, or change them to sum or a different aggregation, Rank would work again using:RANKX(
ALL(migrationt[Name]),
CALCULATE(SUM(migration[netflow_tot]))
)
Wow, I definitely would not have caught this issue without the help from you guys. Thank you so much!
I fixed the columns by changing them to summarize, but the ranks are now 1 and 2 in stead of 1 and 50. lol. Did I do something wrong here? Would you mind editing the file and share it back with me. I truly appreciate your help!
Thank you,
K.
Let me know if it doesnt satisfy the requirements:
https://drive.google.com/file/d/1F88VbqmPSrWcm5J_KG-RacJojI_RNRtl/view?usp=sharing
- kobkabnaja1 year agoHelper II
It worked! Could you please share with me how you adjusted it? I tried to follow your formula in the file I sent you, but it still did not work 😞
Is it because my power BI set something up differently?Best,
K.
- kobkabnaja1 year agoHelper II
My bad! I think I know what you mean now!!! At first, I thought you want me to change from "Dont Summarize" to "Sum" in the model part. I just changed it in the visualization and it works now. Thank you so so much for being patient with me and help me until I figure this out!!!
- Tutu_in_YYC1 year agoSuper User
😄 all good! Glad you got it!