Question
How to determine whether to join tables or use data blending.
How to determine whether to join tables or use data blending.
Note: If one of the data sources that you want to use for data blending is a cube, the cube must be the primary data source.
If you want to add details such as returns of ordered merchandise, you can include this information without modifying the original data. For example, you can join a table that identifies returned orders to the original data source. For more information, see Joining Tables in the Tableau Desktop Help. For an example, see the Joining Excel Worksheets article.
If you have more than one table from the same data source, you may find it faster to create the join in Tableau than in the source. If the join does not provide the expected results, see the other options described in this article.
If you have multiple data connections that are large and take a long time to query, using a join can increase query time dramatically. A better approach is to aggregate the tables, then blend the data on the aggregate. For example, you can aggregate data on the year rather than the date, or on the product type instead of the product name. For an example, see the Data Blending with Summarised Data article.
Tableau assumes that fields with same name and data type match so automatically creates a data relationship between them. Use the Relationships dialogue box to connect the two data sources.
Note: You can manually create custom relationships between fields that have different names. For more information, see Defining Relationships in the Tableau Desktop Help.
If you want to see both the summary of a calculation and the breakdown on same view, select the data source from the Data menu and then select Duplicate. This will get you started to blending the data to communicate between two data connections.