I'm using Tableau 10.5 still, so perhaps there is an easier way to do this is in the latest version of the software, but my issue was that I have 4 csv files of data in one network location and a separate csv file in a different network location that I want to union together. The issue is that Tableau Desktop does not allow you to union files across data location/connections. Below I've outlined the steps I take to hack Tableau!
Side note: the difference between a data source and a data connection is that data connection contains the information necessary to connect to a data source, of which you can have multiple in a single data source. A data source, on the other hand, is a complete collection of data connections, manipulations, filters, and/or extracts.
- Select a Full Outer join
- From the left drop down select any field
- From the right drop down select any field that does NOT match what was selected in Step 2
Because these two data sets will not match on any of the given criteria AND a full outer join is being performed, the result is very similar to a union. The exception is that the fields from the left and right side of your data set will not align. I solved for this by creating calculated fields using the IFNULL() function, which is easy enough with a data set with a small number of columns, but it may not be the best solution if a large number of columns are needed.