Thanks lbendlin for your response,
It's working perfectly. Really appreciate it.
Also, I found another way to resolve this :
if(NOT(ISBLANK([Target %])), rankx(FILTER(ALL('dim'[LocationCodeName]),NOT(ISBLANK([Target]))),CALCULATE([Target %]),,,Dense),BLANK())