From the course: Tableau: Mastering Calculations
Unlock the full course today
Join today to access over 24,200 courses taught by industry experts.
Syntax of LOD calculations - Tableau Tutorial
From the course: Tableau: Mastering Calculations
Syntax of LOD calculations
There are three different expressions we can use in a level of detail calculation. When we want to aggregate at a higher level of detail than the current visualization level, we use EXCLUDE. This means that we heed all dimensions currently in our view, except the ones specified by EXCLUDE. If we want to aggregate at a more granular level, we use INCLUDE. This means we use the existing dimensions in the view, but we also include the dimension specified by our INCLUDE statement. Sometimes we want to completely ignore the current visualization level and not even think about it. Instead, we want to specify a certain level of detail completely independent from our visualization level. It can be higher, it can be lower, or it can even incidentally be at the same level. We don't care. We want our level of detail fixed to a set of specific dimensions. So that's why we use FIXED. The level of detail calculation follows a specific syntax, which I would like to show you here before we start…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
When do I need LOD calculations?1m 23s
-
(Locked)
Syntax of LOD calculations2m 16s
-
(Locked)
EXCLUDE LOD calculations3m 23s
-
(Locked)
INCLUDE LOD calculations3m 48s
-
(Locked)
FIXED LOD calculations2m 37s
-
(Locked)
LOD calculations in the Tableau Order of Operations2m 20s
-
(Locked)
Challenge: LOD46s
-
(Locked)
Solution: LOD4m 30s
-
-