🧵How to link two different excel sheets in Tableau?
Just a quick thread detailing how you can easily link two sheets within your Tableau workbook and remember this applies to any dataset that you use.
First, select any one of the worksheets that you wish to connect with the other. Here, I'm selecting the Top 5 leagues Fbref sheet that I have.
On your data source screen, click on 'Add' and then select whichever format your second file is in. Mine is in Microsoft Excel format, so that's what I'll go with.
Selecting the second worksheet here, I'll be using the player position classifier file that I have -
Now, if you don't see the data on your source screen, don't worry, it's because you haven't linked it with your primary data source, which is the FBref data set, so let's do the linking next.
You'll see that my 2nd sheet is now under connections.
Drag sheet 1(or whatever your sheet name is) beside the box that says full, and you'll see an orange line pop up, which is basically the link you're trying to create between the two files.
Now, this is the *important* bit. Tableau has linked the two datasets but because you haven't defined the relationship, it is confused. So what you've got to do is define the relationship between the two data sources.
Define the relationship using pre-existing dimensions/measures, whichever works best. Here, I'm using the 'player' field from the FBref data and 'name' from the position classifier sheet.
And that's about it! When you go to your worksheet, you'll notice that the fields from the 2nd sheet are now available at your disposal.
End of thread.
Hope this proves useful for you if you're getting started with Tableau and facing trouble with this sort of stuff.
You can follow @NinadB_06.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: