Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
paulwalker
Creator II
Creator II

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
Specialist III
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