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: 
Purushothaman
Partner - Creator III
Partner - Creator III

IF or Wild Match

Hi Experts,

I would like to change the field value of Raw Column as Seg in the below in backend  ;

Any Suggestion to use IF or Wild match ?

Please help

Purushothaman_0-1658827588997.png

Thank you

 

1 Solution

Accepted Solutions
Or
MVP
MVP

If this is a full list of values, you could load it inline and use a mapping load, or you could use a pick/match statement such as:

Pick(Match(Raw,'1 DOOR >90 CM','1 DOOR 81 - 90 CM','SIDE BY SIDE'),'1 DOOR', '1 DOOR','SBS')

You could shorten this a little with Wildmatch by using e.g. '*DOOR *' for the top three, but honestly, with a list this short I don't think it's worth the bother, just type out the entire list in a regular match statement.

View solution in original post

1 Reply
Or
MVP
MVP

If this is a full list of values, you could load it inline and use a mapping load, or you could use a pick/match statement such as:

Pick(Match(Raw,'1 DOOR >90 CM','1 DOOR 81 - 90 CM','SIDE BY SIDE'),'1 DOOR', '1 DOOR','SBS')

You could shorten this a little with Wildmatch by using e.g. '*DOOR *' for the top three, but honestly, with a list this short I don't think it's worth the bother, just type out the entire list in a regular match statement.