Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join this live chat April 6, 10AM EST - QlikView to Qlik Sense REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
markgraham123
Specialist
Specialist

Where statement with Match, not match, and not Wildmatch

Hi Everyone,

I'm trying on the Where statement below: But getting an error ") Expected"

(Name='ABC' and Match(Department,'B') and  not WildMatch(Region, B*, C*, D*, F*, H*, J*, L*, M*, O*, P*, Q*, R*) and not Match(Region, SBB, STS, UPU, PSI))


fetch the details of ABC, where department is B.

Donot include the regions starting with B, C, D, F, H, J, L, M, O, P, Q, R.

Donot include the regions SBB, STS, UPU, PSI.


Please lemme know whether i'm on the right track.


Help pls.







1 Solution

Accepted Solutions
Henric_Cronström

You need to put B* in single quotes. (And all other strings you want to compare with.)

HIC

View solution in original post

4 Replies
Henric_Cronström

You need to put B* in single quotes. (And all other strings you want to compare with.)

HIC

View solution in original post

sunny_talwar

This is what Henric‌ means

Where (Name='ABC' and Match(Department, 'B') and not WildMatch(Region, 'B*', 'C*', 'D*', 'F*', 'H*', 'J*', 'L*', 'M*', 'O*', 'P*', 'Q*', 'R*') and not Match(Region, 'SBB', 'STS', 'UPU', 'PSI'))

markgraham123
Specialist
Specialist
Author

Thanq Henric.:)

markgraham123
Specialist
Specialist
Author

Thanq Sunny.

Happy that You're back.