Function not working AX 2012 SSRS

Hi,

I developed AX 2012 SSRS Report, In that i added one function using Report -->Report Properties -->Code.

It is working Standard SSRS . In AX 2012 SSRS it showing error " :functionname is invalid. InvalidIdentifier"

Pls give me a guidance.

Regards,

Prasanna Venkatesh.