Today I would like to discuss about my favorite function in Tableau: CASE
I like this function because the using is many-sided and you can create both dimensions and numbers.
Example 1: Rename (Dimension)
If you would like to rename some data set, not using the option “Alias”, then you can use the CASE
Here Tableau looks at data items in “Category”, compare it and if it finds any match, it renames them into the labels I entered.
Example 2: 5 Total sum (Number)
If you would like to calculate the rate for each items in the Category, then you can also use the Case function.
Kommentare
Kommentar veröffentlichen