> For the complete documentation index, see [llms.txt](https://docs.akkio.com/akkio-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.akkio.com/akkio-docs/prepare-your-data/prepare/merge.md).

# Merge & Fuzzy Merge

Combining two datasets into one

Beyond connecting a single dataset, you can create a new dataset by merging two or more datasets. Akkio supports both Exact Match and Fuzzy Match merging. Your data sources do not need to be in the same format or system; for example, you can have one from a CSV and another from Salesforce.

<figure><img src="https://71333621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUiovvmaDi_ad2DYdZ4%2Fuploads%2FXBiSvfeCOziLOAqPf5gG%2Fimage%20(19).webp?alt=media&amp;token=7bcb7db4-c832-43be-a5c4-3c37724680f5" alt="" width="530"><figcaption></figcaption></figure>

We will now merge two sets of housing data with a fuzzy merge.  Select 'Merge' from the top left area of Prepare to open the guided process.

<figure><img src="https://71333621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUiovvmaDi_ad2DYdZ4%2Fuploads%2FuP7W8kV1Ql2GQnfJhQ6f%2FScreenshot%202023-07-05%20at%2010.47.07.png?alt=media&amp;token=0df19e88-3753-4b67-9a77-b9d1478c30c9" alt="" width="563"><figcaption></figcaption></figure>

You can now select the Secondary Dataset to merge and the column to match. Two housing datasets are merged on the Sale Price column in the example below.  You can select additional columns as well, such as Lot Area. Once the columns are selected, press 'Merge Datasets.'

<figure><img src="https://71333621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUiovvmaDi_ad2DYdZ4%2Fuploads%2FVw1B4xRgDYaeIQOTUo2s%2FScreenshot%202023-07-05%20at%2010.50.01.png?alt=media&amp;token=5234d3b6-23b7-42f6-8f83-6e624a3f01ba" alt="" width="563"><figcaption></figcaption></figure>

### Advanced

For additional control, specifically of fuzzy merging, advanced options are available as part of the merge function.

<figure><img src="https://71333621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUiovvmaDi_ad2DYdZ4%2Fuploads%2FsSe5trFLEUVeTe2uss8n%2FScreenshot%202023-07-05%20at%2010.50.54.png?alt=media&amp;token=b375e5da-2e0b-4537-a83b-90631cb9876f" alt=""><figcaption></figcaption></figure>

#### Match Sensitivity

By default, the matching sensitivity is “Exact Match Only,”  which will only merge the datasets on exact column matches.

Alternatively, you can select “Fuzzy Match,” meaning the datasets will be merged, even if the column names aren’t identical.

#### Merge Type

The next setting is “Merge Type,” which allows you to select between these two options:

* Keep all rows in the primary dataset.
* Keep only rows that appear in both datasets.

#### Merge Score

Scored 0-1, this value demonstrates how similar the records are, with 1 being a perfect match and 0 being completely different.

#### Append (Vertical) Merge

The current UI only supports horizontal merging. Appending rows/ merging vertically is not currently an option within the UI. However, this can be configured through the API.

#### Merge Pricing

Exact Merge is available to Basic and Professional level plans. While Fuzzy Merge is only available to Professional.

###


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.akkio.com/akkio-docs/prepare-your-data/prepare/merge.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
