How to allow sub-string in filter expression of a program indicator

Dear Altruist,

Is there a way of allowing substring in filtering expression of a program indicator. If it is what is the correct syntax for it?

I have tried following,
substr(#{UXgONLVlRlA.Gep3YabXrJi},0,2)==‘PH’
#{UXgONLVlRlA.Gep3YabXrJi}.substring(2)==‘PH’

Both cases it passes the expression validation but correct result are not appearing. I am using DHIS2 version 2.31.5.

Thanks in advance for your help.

Regards,
Sohel

1 Like

@Markus , @jomutsani any chance you have a answer or reference?