I have tried that. I am working on Qlik Sense, i added that script into the Qlik Sense Pivot Table - label. the result couldnt come out. i suspected qlik sense label in pivot table does not support 'FX' expression.
so, is there another to write this statement? perhaps SET analysis?