Just sharing the syntax, that we can use to filter the data source based on the status field.
Below is our gallery bound to Cases (Data Source) and showing only the Active cases.
Filter(Cases, Status = ‘Status (Cases)’.Active)
Filter(Datasource, Status = ‘Status (Datasource)’.[value])
Hope it helps..