Send RemoveAllFilters sReportId
Send addfilter sreportid "{TABLE.FIELD}" C_DREQUAL "SOME VALUE"

OR

Set psFilterFunction sReportId to ("return {@SomeFunction}='SOME VALUE' ")