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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
paulwalker
Creator III
Creator III

Need Help

HI Community,

Load * inline [

ID, Stage

100, 'Abc,123, JDB'

101, '123,BBB,JHJ'

102, 'ABC123, BCA, DCA'

103, 'CDA,JUJ,123'

];

Here, I have one Stage field, in that if i have any where 123 i want to return data.

My output should be

ID, Stage

100,123

101, 123

103,123

Thanks in Advance....

1 Solution

Accepted Solutions
maxgro
MVP
MVP

Load * Where Stage='123';

Load ID, SubField(Stage, ',') as Stage

inline [

ID, Stage

100, 'Abc,123, JDB'

101, '123,BBB,JHJ'

102, 'ABC123, BCA, DCA'

103, 'CDA,JUJ,123'

];

View solution in original post

6 Replies
Not applicable

only(if(WildMatch(Stage, '123,*', '*,123', '*,123,*'), 123))

Anonymous
Not applicable

Hi Paul,

You can use this expression to get your desired output:

if(WildMatch(Stage, '*123*'), 123)


Hope it helps you!!

ramoncova06
Partner - Specialist III
Partner - Specialist III

if(WildMatch(Stage, '*123*'), 123)

maxgro
MVP
MVP

Load * Where Stage='123';

Load ID, SubField(Stage, ',') as Stage

inline [

ID, Stage

100, 'Abc,123, JDB'

101, '123,BBB,JHJ'

102, 'ABC123, BCA, DCA'

103, 'CDA,JUJ,123'

];

Anonymous
Not applicable

Hi Paul,

You can achieve the result by Massimo Grossi Solution.

Thanks @Massimo Grossi

MarcoWedel

maybe also possible:

If(WildMatch(','&Stage&',', '*,123,*'), 123)

QlikCommunity_Thread_173618_Pic1.JPG


hope this helps


regards


Marco