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

Conversion of IF

Hi All,

Can anyone help me with the conversion of below if loop to case statement. I want to use the below logic in the select statement.

if(MATCH_TYPE = 'VOD','Tier 1',

  if(MATCH_TYPE <> 'VOD' AND Match(NETWORK_TYPE,'Broadcast', 'Cable') AND Len(Trim(PROGRAM_NAME)) <> 0,

      if((TIMESHIFT_INDICATOR_ID >= 10 AND TIMESHIFT_INDICATOR_ID <= 16) And SAMPLE <> 0,

            'Tier 2','Tier 1')))

As Field_Name

3 Replies
ogster1974
Partner - Master II
Partner - Master II

These techniques will help.

Re: Multiple IF, PICK AND MATCH

settu_periasamy
Master III
Master III

Looks like the same thread here

RE:Change if

reddy-s
Master II
Master II

Hi Ravikiran,

Check this out:

purpose of pick and match.