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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
amit_saini
Master III
Master III

Filter help???

Hi Folks,

Below is my requirement :

I would like to implement the following logic (I want to use Category 2 for the split and leave Category 3 reporting the existing data)

Where category 3 is like BEL% then set category 2 = Incident

Where category 3 is null then set category 2 = Unclassified

  Else set category 2 = Change


I'm trying something like this : 

=if(match(Category3,'_BEL%'),'Incident',

if(match(Category3,'-'),'Unclassified','Change'))

But it's not working. Kindly help!

Thanks,

AS


12 Replies
amit_saini
Master III
Master III
Author

Same Result.

elyM
Partner - Creator
Partner - Creator

Hi Amit,

you can apply this rule in QlikView Script - backend or is stricly necessary frontend ?

Regards,

Ely

jonathandienst
Partner - Champion III
Partner - Champion III

I assume you need a wildmatch...

=if(wildmatch(Category3, '*_BEL*'), 'Incident',

  if(IsNull(Category3) or Category3 = '-', 'Unclassified', 'Change'))

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