Error in formula? Could not find uid 54885 in function FMedian -- map size is 0

Hello,

I get the following error when trying to run a rank on this formula:

-FhistZscore(" Sales(ctr,ttm) / pow(pow(EV,2) +pow(0.1*asttota * fmedian(`abs(EV)/asttota`),2),0.5)",39,4,3.5)

Could not find uid 54885 in function FMedian -- map size is 0

The formula inside the FhistZscore() works perfectly.

Could somebody explain what is going wrong ? What workarounds exist?

Thank you for your help !