Video | Tableau | Data prep

Tableau Prep Builder: Unions & Joins (Part 7 of 7)

If you're coming from Excel and still calling them VLOOKUPs, here's how joins and unions actually work in Tableau Prep.

  • Unions stack tables on top of each other, combining rows from data sets with similar column layouts, while joins add columns by matching records side by side via a join clause.
  • Tableau Prep colour-codes columns by their source data, so you can visually trace which rows or fields come from which branch and check the proportions in the summary view.
  • The union step flags mismatched fields when column names don't align, letting you manually pair columns to merge them.
  • Choosing the wrong join type or omitting part of the join clause can explode your row count beyond the input total, an immediate alarm bell for accidental duplication.
  • You can run a flow and output to a Tableau hyper file (fast and compressed) or CSV for Excel, and run it from the output button, the output step, or the top toolbar with caching speeding up reruns.

Diego Parker’s Post: http://j.mp/3aWVooaIn this last video of the series, I walk you through how unions and joins work in Tableau Prep builder. In excel this would typically be a manual operation leaving you to human error if you incorrectly configure a V lookup or incorrectly union two data sets. Tableau prep gives you a fast easy and safe way to make sure the relationships in your data make sense and it makes it easy to spot scenarios where your matches don’t work the way they should. -----Join my Discord Server. https://discord.gg/shBuxXr it’s a little sparse at the moment but hang in there.