Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
BartVA
Creator
Creator

Set expression: string does not begin with, and is different from

Hello,

I need a set expression where, in plain English, " 'Name' does not begin with '&' and is different from '9999' too".

I also need it to filter a Master Dimension, like this: if ( 'Name' does not begin with '&' and is different from '9999' too", Name)

Can someone give me a hand please?

Many thanks in advance!

2 Solutions

Accepted Solutions
Saravanan_Desingh

If(Not WildMatch(Name,'&*','9999'), Name)

View solution in original post

Vegar
MVP
MVP

You can eliminate values that starts with % and the value 9999 using set analysis by using a -= set modifier like below.

Only({< Name-={"%*",'9999'}>}Name)

View solution in original post

3 Replies
Saravanan_Desingh

If(Not WildMatch(Name,'&*','9999'), Name)
Vegar
MVP
MVP

You can eliminate values that starts with % and the value 9999 using set analysis by using a -= set modifier like below.

Only({< Name-={"%*",'9999'}>}Name)

BartVA
Creator
Creator
Author

Thank you @Saravanan_Desingh and @Vegar !