Join a table or View to another data source
Joining a table or View to another table, View, or Worksheet creates a relationship that allows them to be searched together. Choose a column to join on that both tables contain (e.g. employee ID or product key). This process creates a generic join between the table or View and the other table, View, or Worksheet on the column you specify.
You must have either the Can administrator ThoughtSpot or the Can manage data privilege to create a join relationship. If you’re not an administrator, you also need edit permissions on the table, View, or Worksheet.
When creating a join between the columns in two data sources, the linked columns must have the same data type, with the same meaning. That is, they must represent the same data. Normally, you can make this kind of link from a fact table column to a column in a dimension table that uniquely identifies a logical entity in your data such as Employee ID for a person, Product ID for a product, or Date Key for a specific date in a date lookup table.
To create a relationship through the Web interface:
Click Data in the top menu, and choose Tables or Views.
Find your table or View through browsing, Search, or selecting the appropriate Tag(s).
To select the table or View for adding joins, click its name in the list. You will see the Columns view of the data source.
Click the Joins tab. The list of existing joins appears.
Click +Add Join. The Create Join page appears.
Select the data source of your table, either Embrace, or Falcon.
Choose your connection from the dropdown Connection menu. You can only create joins between data sources uploaded through the same connection.
[Optional] Click Enter join name to name your join. Note that ThoughtSpot automatically names joins using the following syntax: [OriginDataSourceName] to[DestinationDataSourceName]. You can always enter a more meaningful join name, either when creating, or when editing the join.
Under Table 1, choose the table you want to create a join from (origin table).
Under Table 2, choose the destination table or View for the other end of the join.
Choose the matching columns under each table. These columns must use the same data type. [Optional] You can select multiple columns for the same join. To add another pair of matching columns to the join definition, click +Add columns.
Specify the join type; see Join types.
Specify the join cardinality; see Cardinality.
Click Create join.
Repeat these steps until all the joins you want to make have been created.
After creating the join, you may change its name, type, or cardinality by clicking the edit icon. If you want to change the data source or column being joined, you must delete the join and create a new one.