Custom filter on the data using contain condition

Hello Arjun,

Welcome to the QS Community.
If i understand correctly, you could refer the old post below having similar requirement.

Hope this helps in getting some idea to achieve your final goal.

Thank you.
Cheers,
Deep