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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

Expression understanding

Hi Expertise ,

 

Can anyone please help me understand the below script 

Pick(WildMatch(if(IsNull(

 

Thanks in Advance

 

1 Solution

Accepted Solutions
AshutoshBhumkar
Partner - Specialist
Partner - Specialist

Hello,

below steps are being performed in the above code

1. Check if LABEL has null values, replace those with 'NoModes', rest values remains same.

2. If above generated field contains '*Mode0*','*Mode1*','*Mode2*','*Mode3*','NoModes','*' (with wildcard search)

then give appropriate values from 'Mode0','Mode1','Mode2','Mode3','NoModes','NoModes'

and create a field called LABEL

 

Thanks,
Ashutosh

View solution in original post

2 Replies
abhijitnalekar
Specialist II
Specialist II

Hi @smilingjohn,

provided expression  

First, check if a field is null or not, and if null then defines the 'NoModes' value.

second, it searches the strings in the fields and define the specified values to it using pick and match function

 

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!
AshutoshBhumkar
Partner - Specialist
Partner - Specialist

Hello,

below steps are being performed in the above code

1. Check if LABEL has null values, replace those with 'NoModes', rest values remains same.

2. If above generated field contains '*Mode0*','*Mode1*','*Mode2*','*Mode3*','NoModes','*' (with wildcard search)

then give appropriate values from 'Mode0','Mode1','Mode2','Mode3','NoModes','NoModes'

and create a field called LABEL

 

Thanks,
Ashutosh