Video | Tableau | Data prep | Data visualisation

Tableau Data Model: Relationship calculations

Relationships landed in 2020.2, but now in 2020.3 you can finally build them with calculations.

  • Relationships arrived in Tableau 2020.2, but the ability to define them with calculations was only added in 2020.3
  • To create a relationship calculation, drag a table to relate it and pick the relationship calculation option at the bottom of the field matching dialog
  • You can concatenate two string fields, such as Book ID 1 plus Book ID 2, to form a single matching key for the relationship
  • This removes the need for the older workaround of using join calculations inside a relationship to bring fields together
  • Once set up, Tableau pulls related fields together dynamically across the data model

Tableau release Note: Create relationships between tables in your data source with more flexibility. You can now relate tables based on custom calculated fields, like concatenated fields or date truncation and inequality operators. Additionally, we’ve improved the drag-and-drop experience in the data model.This video is part of a larger playlist on Tableau 2020.3. Be sure to check out other videos in the playlist and subscribe for more content.https://tableautim.com ----Join my Discord Server. https://discord.gg/shBuxXr it’s a little sparse at the moment but hang in there.