Video | Tableau | Data prep

Tableau Prep Builder: Aggregations (Part 5 of 7)

In Tableau Prep you have to describe your aggregations as a way of reshaping the data, and if you forget to bring a field in, that level just won't come through.

  • Unlike Tableau Desktop where aggregations happen in the view, Prep requires a dedicated aggregation step because you're reshaping row-level data into rolled-up output.
  • The aggregation step uses two panes: group-by fields on the left (dimensions) and the fields being aggregated on the right (numerical values).
  • Aggregating only returns the rows and columns you bring in, so to reconnect aggregated values to the original data you need a join or VLOOKUP.
  • Dropping a dimensional field onto the right pane lets Prep auto-detect it and offer count, count distinct, min, max, percentile, or group-by options.
  • Cleansing changes like excluding values or renaming fields are captured within the same aggregation step and surfaced in the changes column.

We’re over half way through e series so it’s time to cover how aggregations work in Tableau Prep Builder. Hopefully you’ll find them a little easier to use and whilst it might lack some core features (such as running sum, ranks and LOD’s from Tableau Desktop) at the time of recording, understanding how it works now means that when those features arrive you’ll know how it all works and how to make best use of it. -----Join my Discord Server. https://discord.gg/shBuxXr it’s a little sparse at the moment but hang in there.