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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
davyqliks
Specialist
Specialist

Wildmatch to blank values

Hi All,

I am trying to wildmatch to a set value which is working but i have a new requirement to also wildmatch to Blanks in the excel source.

I am trying the following but for the [Invoice no.] with blank, the data are not importing.

WHERE not IsNull([Invoice no.]) and wildmatch ([Account Code],'*61100000000*','*NULL*') ;

 

Please can you help me to achieve the script for matching to the number '61100000000' and also blanks in [Account Code]

 

Thank you in advance

Daniel

1 Solution

Accepted Solutions
sunny_talwar

May be try this

WHERE not IsNull([Invoice no.]) and 
(wildmatch ([Account Code],'*61100000000*') or Len(Trim([Account Code])) = 0);

View solution in original post

3 Replies
sunny_talwar

May be try this

WHERE not IsNull([Invoice no.]) and 
(wildmatch ([Account Code],'*61100000000*') or Len(Trim([Account Code])) = 0);
davyqliks
Specialist
Specialist
Author

Hey,

Thanks so much Sunny, i will try this now and feedback.

Your help is really appreciated.

Daniel

davyqliks
Specialist
Specialist
Author

This worked perfectly, Thank you so much Sunny,

Daniel