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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Filter data based on Pattern Match

Hi All,

I have a load script where data has to be filtered based on [WBS Element].

I need data only starting with some [WBS Element] like

0043-,0053- , 0060-

Please help me in filtering data of this pattern.

Attached the Qvw.

Thanks,

Keerthi KS

Labels (1)
1 Solution

Accepted Solutions
jagan
Partner - Champion III
Partner - Champion III

Hi,

Try like this

LOAD

*

FROM DataSource

WHERE WildMatch([WBS Element], '0043-*','0053-*' , '0060-*');


Hope this helps you.


Regards,

jagan.

View solution in original post

4 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi,

Try like this

LOAD

*

FROM DataSource

WHERE WildMatch([WBS Element], '0043-*','0053-*' , '0060-*');


Hope this helps you.


Regards,

jagan.

tresB
Champion III
Champion III

May eb like:

Load    

          *

From <>  where Wildmatch([WBS Element], '0043-*','0053-*' , '0060-*');

arulsettu
Master III
Master III

try this

=if(WildMatch([WBS Element],'0043-*','0053-*' , '0060-*'),[WBS Element])

Not applicable
Author

Thanks a lot Jagan