7 Replies Latest reply: Aug 29, 2016 11:39 AM by Rupam Das RSS

    Nested If statements

    Seth Rosenbauer

      I'm wondering how Qlikview handles Nested If Statments. For example, is there a difference between the code below

       

      Example 1:

       

      if( x > y, 'Yes',

           if( J = U, 'Missing',

                if(R < H, 'Hung Up', 'Successful'))) as [Call Outcome]

       

      Example 2:

       

      if(x>y, 'Yes') as [Call Outcome]

      if(J=U, 'Missing') as [Call Outcome]

      if( R < H, 'Hung Up', 'Successful') as [Call Outcome]