From the course: Cleaning, Transforming and Prepping Your Data With Tableau Prep
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Explaining the different join types - Tableau Tutorial
From the course: Cleaning, Transforming and Prepping Your Data With Tableau Prep
Explaining the different join types
- [Instructor] One way that you combine data in Prep is using joins. There are three types of join, inner, left and right, and outer joins. Now there are some subtle differences between these that are going to make a big difference when you do your analysis. So to understand that, let's look at some example data. So here I have some products, in this case, fruit, and each one has an ID number, a name, and a price. I then have some sales data. So I have a customer, the ID of the fruit that they bought, and the amount of each fruit that they bought. So I want to combine both of these together, and I'm going to look at three different ways of doing that. Firstly, an inner join. Now an inner join only retrieves rows where the transaction appear in both tables. So to see what that result looks like, let's have a look. In example of the inner join, only results where the items appear in both the left and right-hand table get returned. So in this case, we can see that the apple, pear, and…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
Merging data using unions3m 3s
-
(Locked)
Union data using wildcards3m 58s
-
(Locked)
Correcting mismatched fields3m 40s
-
(Locked)
Explaining the different join types4m 9s
-
(Locked)
Creating joins4m 8s
-
(Locked)
Correcting join errors3m 38s
-
(Locked)
Challenge 4: Combining data41s
-
(Locked)
Solution 4: Combining data3m 55s
-
(Locked)
-
-
-
-
-