Skip to main content
Albero Academy

Tableau Cheat Sheet

Calc fields · LODs · table calcs

Calculated fields, LOD expressions, parameter actions, table calculations, and dashboard layout best practices.

All sheets
PDF quick reference

TableauCheat sheet

Sections
3
Snippets
4
Page
1
01

Calculated fields

Profit margin
[Profit Margin] = [Profit] / [Sales]
IF / CASE
IF [Sales] > 1000 THEN "High"
ELSEIF [Sales] > 500 THEN "Mid"
ELSE "Low" END
02

LOD expressions

FIXED / INCLUDE / EXCLUDE
{ FIXED [Region] : SUM([Sales]) }
{ INCLUDE [Sub-Category] : AVG([Profit]) }
{ EXCLUDE [Order Date] : SUM([Sales]) }
03

Table calculations

Running / pct of total
RUNNING_SUM(SUM([Sales]))
SUM([Sales]) / TOTAL(SUM([Sales]))