BAQ Query Criteria using ANDs / OR and multiple parentheses

i am trying to create the subquery criteria in a BAQ for the following in SQL:
((por.PromiseDt is not null and por.PromiseDt <= cast(dateadd(month, 1, getdate()) AS date)) OR
(por.DueDate is not null and por.DueDate <= cast(dateadd(month, 1, getdate()) AS date)))

As you can see I have essentially ((A and B) OR (C and D)). How do I represent the outermost parentheses in the BAQ? I cannot create a criteria line for just a ( or ) without a table and field. See below:

I know it’s a dropdown, but you can hand-type multiple parentheses.

1 Like

I think you can have more than one Parenthesis in those fields.

Thanks Jason!

If you don’t mind being a hack, you can actually add more than just parenthesis in those fields!
(as long as it creates a valid SQL statement)