Sign in or start a free trial to avail of this feature.
1. Logical Functions in Tableau
Logical functions are incredibly useful for building custom categorizations in Tableau. In this lesson, we learn how to use IF/ELSEIF functionality to allocate each customer a Small / Medium / Large designation.
- Unlike Excel, Tableau has the ability to easily create multiple branches to an IF function
- The functionality works as follows:
--- IF is used to create the first condition
--- THEN is used to return the output for each branch
--- ELSEIF is used on each subsequent branch after IF
--- ELSE is capture all remaining cases outside the stated conditions
--- END finishes the function