Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Creating a Join

INFO

The columns from the sheets being joined must have a common key that links the information together, e.g.

Sheet 1 contains:

Name_docu_join_sampleZimeZone
AlisonEast Coast
Ben

West Coast

Sheet 2 contains:

Name_docu_join_sample_2Posts
Alison54
Ben35

Create an inner join by 'screen name' and get the result:

Name_docu_join_sampleName_docu_join_sample_2TimeZonePosts
AlisonAlison5454
BenBen3635

To create a join:

  1. Open a workbook and click on the "Join" icon or click on "Edit" → "Join"The 'Create a Joined Sheet' dialog opens. 
     or 
  2. Select the required /wiki/spaces/DASSB100/pages/32569527080 from the drop-down within the 'Simple' tab. 
     
  3. Unfold the workbook sheet and column menu and position the required columns via drag and drop on the appropriate fields. 
     
  4. Select "Included columns" to display the content and select the columns you want to have displayed in the result join sheet. 
     
  5. Confirm with "Create Joined Sheet"The new joined sheet appears in the workbook. Joining Data is finished.  



Creating a Join From Multiple Columns

INFO

With the multi-key join, you can specify multiple columns from two different worksheets and join the data together.

To create a join from multiple columns:

  1. Open a workbook and add the data sources that need to be joined together in a workbook in different sheets.
  2. Click on the "Join" icon or click on "Edit" → "Join"The 'Create a Joined Sheet' dialog opens.
     or 
  3. Unfold the Workbook sheet and column menu and position the required columns via drag and drop on the appropriate fields.
  4. Click the "+" button and add additional column keys to the join. 
    INFO: The same data source must be used in the left and right columns as the previous data sources.
    INFO: If you want to join data from multiple sheets, use the "+" button at the bottom right side of the tab 'Simple' to create pins from multiple data sources. 

  5. Select "Included columns" to display the content and select the columns you want to have displayed in the result join sheet. 
  6. Confirm with "Create Joined Sheet". The result is displayed in the joined workbook. Multiple joining is finished. 


Creating a Ranged Join

INFO

A ranged join is similar to a simple join but has additional versatility. Instead of joining worksheets using an exact matching key column, you can specify a range (greater than, less than) between two worksheet key columns.

Data types allowed by a range join are limited to dates and geolocations, e.g.

Sheet 1

UserTime
Jeff17/10/2015
Mike17/10/2015

Sheet 2

ValueTime
4534518/10/2015
9238319/10/2015

Create a range join by Sheet 1.Time is less than Sheet 2.Time. Deselect Sheet 2.Time under "Included Columns".

Sheet1.UserSheet1.TimeSheet2.Value
Jeff17/10/201545345
Jeff17/10/201592383
Mike18/10/201592383

To create a ranged join click on the tab "Range Join" and then the "+" button to add additional columns. 

Creating a Self Join

INFO

A self join combines a sheet with itself returning related records from the same sheet. Self joins are useful when one record falls into two or more categories.

To create a self join: 

  1. Open a workbook and add the data source.
  2. Select "Edit" →  Join or click the "Join" icon.
  3. In this example of a self join, the goal is to use the employee names as a key to find if any employee has multiple roles. To do this, add the employee column.
  4. The result is a self join using the employee names as a key and displaying matching records.

Joined Sheet Naming

INFO

When creating a join sheet in a workbook, the columns in the join sheet keep their original names unless there is an existing column with the same name.

In that case, the new column has a suffix of the sheet name. Example: "Name" changes to "Name_MarketingData". This new name is stored immediately and not updated when the column name in the source sheet changes.  

Avoiding Errors When Using Other Functions After Joining Data

INFO

When joining data and applying other Datameer X functions such as "Unioing Data" afterwards, make sure to enable column transpose when joining data. Key columns must be displayed first.

To enable transposing columns within joining data, make sure the check box "Display key columns first" is checked. This should be checked by default. If not, check it.

  • No labels