Question

Filtering using 'and' 'or'

  • 5 December 2022
  • 0 replies
  • 16 views

Hello!

I’m quite new to looker and need a quick help creating a filter so it can accommodate ‘AND’ and ‘OR’.

I want to include tag = "case_status" AND ("abc1" OR "abc2")

This is how far I was able to get: 

if( contains (${tag}, "case_status" ) AND contains (${tag}, "abc1"), yes, no)


Appreciate your help! 

Best,
Richard


0 replies

Be the first to reply!

Reply