Tableau

A visual-first BI tool built around drag-and-drop shelves, calculated fields, LOD expressions and Tableau Public for portfolios.

Intermediate · about 14 hours · difficulty 3/5

Learn first: How BI Platforms Work

Tableau is famous for fast visual exploration and polished output. Many analysts build their public portfolio on Tableau Public, which is free.

How Tableau thinks

  • Dimensions and measures: discrete fields (blue pills) create headers; continuous fields (green pills) create axes.
  • Shelves: dragging fields to Rows, Columns, Color, Size and Detail builds the chart. The Marks card controls the chart type.
  • Worksheets, dashboards and stories: single charts, arranged layouts with actions, and guided sequences.

Calculations

  • Calculated fields for row-level logic and aggregates (SUM([Profit]) / SUM([Sales])).
  • Table calculations for running totals, percent of total, and rank, computed on the visible result.
  • LOD expressions like {FIXED [Customer] : MIN([Order Date])} compute at a grain different from the view, which is how you find each customer's first purchase date.

Data sources

Tableau can connect live or create extracts (its import mode). Relationships in the logical layer let tables join at the right level automatically, reducing duplicated totals.

Pitfall: mixing aggregated and non-aggregated fields in one calculation, which produces the classic "cannot mix aggregate and non-aggregate" error, or summing an already-duplicated join. You are ready to move on when you can publish a dashboard to Tableau Public with filters, a dashboard action and at least one LOD calculation.

Key concepts

  • Dimensions, measures, discrete and continuous
  • Shelves and the Marks card
  • Calculated fields
  • Table calculations
  • LOD expressions
  • Dashboards and actions
  • Extracts vs live connections
  • Tableau Public portfolio

Other options for this step

  • Power BI: Microsoft's BI suite: Power Query for shaping, a star-schema model, report canvas and the Power BI service for sharing.
  • Looker Studio: Google's free web-based reporting tool, well suited to marketing dashboards on Google Analytics, Sheets and BigQuery.
  • Metabase: An open-source BI tool that sits directly on your SQL database, popular with startups for questions, dashboards and alerts.

Mini project

Recreate a Makeover Monday dataset in Tableau Public: a dashboard with two linked views, a filter action, and an LOD-based metric such as customer first-order cohort.

Check yourself

What does a FIXED LOD expression do that a regular aggregate in the view cannot?

Free resources