Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
qliklizzy
Creator II
Creator II

script where <> but i need to add = to it?

hi this sounds really simple but is drivin me mad..

i have this script where  i have a <> applied and  i need to add:

Where Theatre = 'R1' and R2 and R3 also?

Where  Specialty <> 'A&E'  and SessionCancellationReason <> 'ROLLING HALF DAY' and SessionCancellationReason <> 'RHD' 


thanks

1 Solution

Accepted Solutions
Not applicable

Hi Elizabeth,

try adding

Where  Specialty <> 'A&E'  and SessionCancellationReason <> 'ROLLING HALF DAY' and SessionCancellationReason <> 'RHD'

and Match(Theatre, 'R1','R2','R3')


hope that helps

Joe

View solution in original post

3 Replies
rubenmarin

Hi Elizabeth, I suposse Theatre will have only one value and you want those with any of those values: R1, R2 or R3, if this is the case you can use

Where  Specialty <> 'A&E'  and SessionCancellationReason <> 'ROLLING HALF DAY' and SessionCancellationReason <> 'RHD' 

  and (Theatre='R1' or Theatre='R2' or Theatre='R3')

Not applicable

Hi Elizabeth,

try adding

Where  Specialty <> 'A&E'  and SessionCancellationReason <> 'ROLLING HALF DAY' and SessionCancellationReason <> 'RHD'

and Match(Theatre, 'R1','R2','R3')


hope that helps

Joe

qliklizzy
Creator II
Creator II
Author

thank you- easy when you know how!!!