filter total conditional for qc