Multiple Condition If Statements in Tableau

The Else If statement is a handy tool when checking numerous conditions as it will continue to execute until the conditions are met. Another useful function for logical operations is the IIF function.


Solution:

Below condition works for me:

If ([Lead Age] > 30 and 
([Lead Status] = 'Attempting to Contact' or [Lead Status] = 'Contacted')) THEN
'Yes'
ELSE
'No'
END

Frequently Asked Questions

Posted in Uncategorized