# Join Pivoted Data to Customer Data[¶](https://knowledge.dataiku.com/latest/courses/advanced-data-prep/data-pipelines/join.html#join-pivoted-data-to-customer-data "Permalink to this headline")

Finally, we’re ready to add these columns to the rest of the customer data.

* Open the existing Join recipe.

* Click **+Add Input**.

* Select *orders\_by\_customer\_pivoted* as the new input dataset, and click **Add Dataset**.

Dataiku should automatically detect *customerID* and *customer\_id* as the correct join keys. There’s no need to change the join type from left join at this point.

* On the “Selected columns” step, deselect *customer\_id* from the *orders\_by\_customer\_pivoted* list.

* Click **Save**, and accept the schema changes.
