- 1 Minute to read
- DarkLight
Data Blending
- 1 Minute to read
- DarkLight
Data blending allows you to join two different data sources and add to a single flow.
Create a New Data Flow with Blending
- Navigate to the Flows page and click on Create Flow in the top right corner.
- Click on Connect Your Data and select the first source.
- Hover overly the newly added source for the menu to show and click on Combine.
- Select Blend Sources.
- Click on Select Source to choose the sources you wish to blend.
- Choose a Join Key that is the same for both sources. Dataddo will blend the datasets based on this particular key.
- Click on the button between the sources to configure the joining type. Left Join is selected by default.
- Left Join - records from the right source will be joined to the left dataset.
- Inner Join - returns records which values are only matching in both column sources.
- Click on Save Source.
- Once the data is configured for blending, add your destination.
- Finish your flow's configuration and click on Data Preview to check your data.
- Click on Save Flow.
Select columns from each source by dragging the fields from the list on the left or right. The columns don't have to be the same for both sources.
If changes that affect the database schema (field name, add/delete column(s), and changing a field data type) are made in the flow, go to the database and delete the previously created table. Afterwards, save the changes and refresh.
Troubleshooting
“The column name ‘___’ is specified more than once” Error Message
This problem can be fixed by renaming the affected column in one of the two sources.
Click on the three dots on one of the sources you want to blend and select Edit. Navigate to the Data Types tab, change the name of the affected column to e.g. propertyid_2 and click on Save.
You should now be able to blend your data without one column being defined more than once.
Flow Doesn't Work Due to Multiple Columns with the Same Name
When using data blending, combining columns from two different sources may result in a duplicated field (such as ID). Simply rename one of the two affected columns.