Adding rows to a data table
You can add rows from a different source to your current 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. For example, if all columns are the same in the data sources and you know that you want to use summarized values from all sources in your visualization.
When you add data into your analysis, you can select to add the data as new rows in another data table, from the final step in the add data workflow:
You can also insert rows into a specific place in a data table, as described below.
On the authoring bar, click
Make sure the data table of interest is selected in the upper-left drop-down list.
- In the data table structure, click on the plus sign between the nodes where you want to add rows, and select Add rows.
- Select data to insert rows from.
- In the flyout, click Settings for added rows.
Add rows – match columns dialog, verify that the suggested column matching is valid, or edit the matching as desired. This is done by adding or removing matches between columns
From original data and
From new data.
Click on the plus sign and select a column from the list to add a match for one of the columns from the original data. Click on the x on a row to remove a match.
Optionally, if there are additional columns in the added data, you can select to include or skip these columns under
Include additional columns from new data by selecting or clearing the check box for each column.
Note: If the data source from which data was added can be reloaded, and new columns become available after a reload, then the new columns will automatically become included. If this is not desired, you may want to exclude new columns after reloading data by editing the settings for added rows.
Optionally, change the settings under
Identify origin of rows in a column.
Select Do not identify origin to skip this option, Create new column to add a new column with different values for data from the original source and data from the added source, or select Use existing to add this information to an existing column.
- When you are done, click OK.
Example: Adding rows 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 rows (between the nodes in the graphical structure or between transformation groups), and click Add rows:
Choose a new or a predefined connection to Salesforce and sign in. Select the data to add and click OK. In the Add rows – 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.