go to action tab of text object, add two actions like below
1) To select status
Add action-> Select in Field ->
field : Status
value : '(' & concat(DISTINCT chr(39) & if(Status<>'Inactive',Status) & chr(39),',') &')'
2) To select Type
Add action-> Select in Field ->
field : Type
value : '(' & concat(DISTINCT chr(39) & Type & chr(39),',') &')'