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: 
Not applicable

Creating Groups Within a Single Variable

My basic case is this:

I have a variable that shows the status or various projects. However, the formatting of the content of this variable is not consistent. For example, for a completed project, the responses are "Yes", "yes", "Closed", "Complete", "complete." Basically I want Qlikview to recognize all of these as one category "Completed."

Is there a way to do this?

2 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

In a variable:

     Let vstatus = If(WildMatch(vstatus, 'yes', 'close*', 'complete*'), 'Completed', vstatus);

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

This worked perfectly! Thank you!