Ever wondered what is the difference between joins and relationships in Tableau?
Join:
A join merges tables before analysis/data visualization. Ifyou don’t know what joins are, the inquisitive learner can put out a post for that too. Do let us know in the comments section below if you need an easy to understand post on Joins. For now, understand that like SQL, in tableau too, there are 4 kinds of joins – Left Outer Join, Right Outer Join, Inner Join and Full Outer Join (aka Outer Join). The image below shows inner join.
This creates a fixed output joined table on which further analysis/visualization can take place.
Relationships: Relationships are links between different tables that do not form a final table as seen in case of joined table or Join Operation result. Relationships maintain separate tables while still being able to combine during analysis/ data visualization defined by business logic. Only those items are pulled during analysis that are needed (see light pink and dark pink cells that have been pulled in the image).
Thus, in case of relationships, tableau queries only the data needed to create the visualization. This saves time and performance.
Inquisitive Learner
We're passionate about learning new stuff and we hope you're too!
Want to know the answers to the questions most inquisitive people have?
That's what we're here to help you with!
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsOkay
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.