Mautic Community Forums

Group filters for segments

Posting from GH issue: https://github.com/mautic/mautic/issues/6636

When creating the filter on a segment, i currently cant filter with multiple grouped or values.
i.e.
‘Tags’ Include ‘Number 1’
AND
( Stage != ‘A’, OR ‘B’, OR ‘C’)

The returned value I would expect would be "All contacts with a Tag or “Number 1” that is NOT in stages A, B. or C .

If I am understanding it correct, currently i would have to write it as:

Tags Include “Number 1” and Stage != ‘A’
OR
Tags Include “Number 1” and Stage != ‘B’
OR
Tags Include “Number 1” and Stage != ‘C’

Which is very wasteful.

My request is that we be able to group the filters as:

'Tags Include ‘Number 1’
AND
{ Stage != ‘A’
OR
Stage != ‘B’
OR
Stage != ‘C’ }