# Swap root tables in the Tableau data model: New in Tableau 2022.1

> This is content from just-tim, the data-and-analytics channel by Tim Ngwena (formerly 'Tableau Tim'). Tim has 12+ years of hands-on BI experience and covers Tableau most of all, plus Power BI, Looker, Hex, SQL and data modelling, the analytics industry, and the craft of doing the job — always tool-agnostic and honest about the trade-offs.

- **Author:** Tim Ngwena (just-tim, https://just-tim.com/about)
- **Published:** 2022-03-30
- **Format:** Video · 4 min watch · transcript available
- **Topics:** Data prep, Tool strategy
- **Tools:** Tableau (data modelling, relationships)
- **Canonical:** https://just-tim.com/posts/swap-root-tables-in-the-tableau-data-model-new-in-tableau-2022-1
- **Watch:** https://www.youtube.com/watch?v=CBUxSsv8hYQ

I walk through a new capability in Tableau 2022.1 that lets you swap root tables and move tables around the logical and physical layers of the data model without rebuilding it from scratch. Using the bookshoplibraries sample data, I demonstrate the swap with root and move to options and how Tableau preserves your existing relationships.

## Key takeaways

- In Tableau 2022.1 you can right click a table and choose swap with root to make it the new root table, with Tableau automatically rearranging all relationships to keep the model working.
- The move to option lets you reposition a table to a different logical layer, bringing everything related to it along to the new location.
- Tableau remembers a previously set relationship, so if a move doesn't work you can move the table back without redefining the join.
- Clicking a relationship line (formerly called the noodle) now shows a description of that relationship for added context.
- These features are major time savers on large, intricate data models, even though most real-world models tend to be simpler.

## Chapters

- 0:35 Swapping the root table
- 1:30 Undoing and moving tables between layers
- 2:26 Remembered relationships and the interface
- 3:11 Wrap up

Watch the full video, read the transcript and use chapter deep-links on the page: https://just-tim.com/posts/swap-root-tables-in-the-tableau-data-model-new-in-tableau-2022-1

---
just-tim — Data and analytics, with a point of view. · https://www.youtube.com/channel/UC7HYxRWmaNlJux-X7rNLZyw · https://twitter.com/TableauTim · https://www.linkedin.com/in/timngwena
