Hide a field in the report

Hi All,

I need to hide the field in the report on value condition.

Let’s say, if table.field.value == ‘NEW’ || table.field.value == ‘Approved’ then table.fieldname.visible(false) else table.fieldname.visible(true).

Is someone can direct me?

Thank you.