Hi, Thank you so much for your time. I have the below if condition statement from the Qlikview reporting tool as part of the migration to another tool, iam trying to put the below IF conditions into the Alteryx workflow but i got stuck..with the conversion error..
the syntax for the general IF condition in Qlikview is IF (condtiion ,thenpart, elsepart)
If([DR2 - Last Valid Date]= 'Gap', 'No-Data',
If(Band = '1',
If([DR2 - Last Valid Date]< [SR1 - Last Valid Date] and [SR1 - Test Passed] = 'Yes' ,
[SR1 - Last Valid Date] +365 ,
If([DR2 - Test Passed] = 'Yes', [DR2 - Last Valid Date]+365 , 'No Test Date')
),
If(Band = '2',
If([DR2 - Last Valid Date]< [SR1 - Last Valid Date] and [SR1 - Test Passed] = 'Yes' ,
[SR1 - Last Valid Date] +365 ,
If([DR2 - Test Passed] = 'Yes', [DR2 - Last Valid Date]+365 , 'No Test Date'))
,
If(Band='3',
If([DR2 - Last Valid Date]< [SR1 - Last Valid Date] and [SR1 - Test Passed] = 'Yes' ,
[SR1 - Last Valid Date] +730,
IF([DR2 - Test Passed] = 'Yes',[DR2 - Last Valid Date]+730, 'No Test Date')),
If(Band='4', 'Band4')
)
)
)
)
I tried to convert this into Alteryx IF ELSEIF but iam getting the conversion error - attached the error message
could some please help - also attached some sample test data
