Thanks for posting your question in the Microsoft Q&A forum.
This expression should work correctly in Azure Data Factory to filter your data according to the specified logic
(
lower(trim(strategy)) != 'stra1'
&& lower(trim(strategy)) != 'stra2'
)
||
(
(lower(trim(strategy)) == 'stra1' || lower(trim(strategy)) == 'stra2')
&&
(
lower(trim(party)) == 'party1'
|| lower(trim(party)) == 'party2'
|| lower(trim(party)) == 'party3'
|| lower(trim(party)) == 'party4'
)
)
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful