Adding columns to a data table
If you are working with in-memory data, you can add columns to your current data table to create a join between data from different sources and merge it to a single data table. Data can be added from a local file, a data file previously saved in the Spotfire library (using the Windows client), or, you can add data directly from Google Analytics or from Salesforce, if you have access to those systems.
Even though data from different data tables often can be viewed in the same visualization, it may be preferred to actually incorporate similar data into a single data table. When multiple data tables are used in one visualization, the join of the two tables is done after aggregation has been performed. Therefore, if you want to perform joining of tables before any aggregations, or, if you want to create certain calculated columns based on data from two sources, you might want to insert data from one table to the other.
You add data from the Files and data flyout .
When you add data into your analysis, you can select to add the data as new columns in another data table, from the final step in the add data workflow:
You can also insert columns into a specific place in a data table, as described below.
Prerequisites
Procedure
Example: Adding columns from Salesforce
In this example, data has already been opened from a local Excel file. In the Data canvas, select the data table of interest, determine where you want to add columns (between the nodes in the graphical structure or between transformation groups), and click Add columns:
Choose a new or a predefined connection to Salesforce and sign in. Select the data to add and click OK. In the Add columns – match columns dialog, verify that the suggested column matching is valid, or add or remove matches between columns From original data and From new data. When you are satisfied with the data selection and settings, click OK to close the flyout and add the data.
See also Adding a calculated column.