{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["availability","callout","img","cards","card","faq","faq-item","partial"]},"type":"markdown","userRole":"Users, Editors, and Admins","accountType":"All accounts","plan":"Exclusive to select subscription plans"},"seo":{"title":"Merge datasets","description":"Join multiple datasets together by matching columns to create a single, merged dataset without altering the original data.","siteUrl":"https://help.databox.com","llmstxt":{"title":"Databox Knowledge Base","description":"Databox is a business analytics platform that consolidates data in one place, enabling real-time performance tracking and insights by mixing and matching data from various sources for a comprehensive view.","details":{"content":"This knowledge base covers everything from account setup and integrations to building Databoards, creating custom metrics, and using AI-powered features."},"sections":[{"title":"General","includeFiles":["docs/general/*.md","docs/general/visualization-types/*.md","docs/general/templates/*.md"],"excludeFiles":[]},{"title":"AI","includeFiles":["docs/ai/*.md"],"excludeFiles":[]},{"title":"Account Management","includeFiles":["docs/account-management/**/*.md"],"excludeFiles":[]},{"title":"Databoards","includeFiles":["docs/databoards/**/*.md"],"excludeFiles":[]},{"title":"Data Management","includeFiles":["docs/data-management/**/*.md"],"excludeFiles":[]},{"title":"Metrics","includeFiles":["docs/metrics/**/*.md"],"excludeFiles":[]},{"title":"Forecasts","includeFiles":["docs/forecasts/*.md"],"excludeFiles":[]},{"title":"Goals","includeFiles":["docs/goals/*.md"],"excludeFiles":[]},{"title":"Reports","includeFiles":["docs/reports/*.md"],"excludeFiles":[]},{"title":"Notifications","includeFiles":["docs/notifications/*.md"],"excludeFiles":[]},{"title":"Pricing and Billing","includeFiles":["docs/pricing-and-billing/*.md"],"excludeFiles":[]},{"title":"Mobile","includeFiles":["docs/mobile/*.md"],"excludeFiles":[]},{"title":"Support","includeFiles":["docs/support/*.md"],"excludeFiles":[]},{"title":"Integrations","includeFiles":["docs/integrations/**/*.md"],"excludeFiles":[]}],"hide":false,"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"merge-datasets","__idx":0},"children":["Merge datasets"]},{"$$mdtype":"Tag","name":"Availability","attributes":{"users":"users","accounts":"all","plans":"exclusive"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Merging datasets helps you combine related information from multiple sources into a single, unified dataset. By merging datasets, businesses can get a complete view of their performance, simplify reporting, improve data accuracy, and unlock deeper insights. With flexible join options, you can control how data is matched and merged to suit your business needs."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"merge-datasets-1","__idx":1},"children":["Merge datasets"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Before merging, make sure you have already created the datasets with all the columns you want to include, as you won't be able to add or modify columns during the merge process."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To start, navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Manager > Datasets"]}," and click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Merge Datasets"]},". This will open the merge flow, where you can follow these steps:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Select dataset"]},", choose the first dataset you want to merge, and click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Continue"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select the columns you want to include from this dataset, then review the dataset preview."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/merge-datasets_1.eb2b11537d300991fe3304a0410d18d77813e64ed42a09a0da2669436a962667.2fc30de7.svg","alt":"circle-plus"},"children":[]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Dataset"]}," above the preview table to add another dataset."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select the second dataset, choose the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Join operator"]}," (Left outer, Inner, Right outer, or Full outer), and define the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Join conditions"]}," by matching columns from each dataset. The ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Output preview"]}," at the bottom shows the number of rows that match based on the selected join operator and conditions."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Select"]}," to confirm the join, then choose which columns from the second dataset you want to include."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Continue"]}," to review the preview of the merged dataset."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can repeat steps 3–6 to merge additional datasets, up to a maximum of ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["20"]},". Note that the final merged dataset can include up to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["150 columns"]}," in total."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"Callout","attributes":{"type":"note"},"children":["Merging datasets does not alter the original datasets. A new, separate merged dataset is created."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When merging datasets, Databox processes them from ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["left to right"]}," in the list of datasets. This means:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["left"]}," side of each join refers to either the first dataset or the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["result of all previous merges"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["right"]}," side is the new dataset being merged at that step."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Here's a simple example:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Dataset A ➔ (merge with) ➔ Dataset B ➔ (merge with) ➔ Dataset C"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["First, A is merged with B."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Then, the result of (A + B) is merged with C."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"join-operators","__idx":2},"children":["Join operators"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When merging datasets, you can choose between four join operators depending on how you want to match and combine data:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"class":"table-header-col","className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Join operator"},"children":["Join operator"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Rows from left (first) dataset"},"children":["Rows from left (first) dataset"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Rows from right (second) dataset"},"children":["Rows from right (second) dataset"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Result"},"children":["Result"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/merge-datasets_2.70a775e81ae97083f088afd8fd27f33b3b317c7625655accaf0371d81bbd498f.2fc30de7.svg","alt":"left-outer"},"children":[]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Left outer"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["All rows from the left dataset"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Matching rows from the right dataset"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Includes all left dataset rows, and matching rows from the right dataset. Non-matching rows from the right are excluded."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/merge-datasets_3.5d19839f99f9f7caa5c93ff50512f2107905ad6107e0fe575703bf6fb0d3a490.2fc30de7.svg","alt":"inner"},"children":[]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Inner"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Only matching rows"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Only matching rows"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Includes only rows that have a match in both datasets."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/merge-datasets_4.263b5f89d0958a8869abd99c98630b41e7996d392af28f3dbeb4c72dcec08e76.2fc30de7.svg","alt":"right-outer"},"children":[]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Right outer"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Matching rows from the left dataset"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["All rows from the right dataset"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Includes all right dataset rows, and matching rows from the left dataset. Non-matching rows from the left are excluded."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/merge-datasets_5.61316279400fd99419fc80f60653ac797db6d1d128ea4e7b1d6ba70ee680a93b.2fc30de7.svg","alt":"full-outer"},"children":[]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Full outer"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["All rows from the left dataset"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["All rows from the right dataset"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Includes all rows from both datasets. Non-matching rows will have null (empty) values where there's no match."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"join-conditions","__idx":3},"children":["Join conditions"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When merging datasets, ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["join conditions"]}," define how the datasets are matched together."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A join condition links a column from the left dataset to a column from the right dataset, based on matching values."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For example, if both datasets have a column called ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ID"]},", you can create a join condition where ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ID"]}," from the left matches ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ID"]}," from the right. Only rows where the selected column values match will be joined together, depending on the join operator."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can set one or more join conditions for each merge step. If you add multiple conditions, ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["all"]}," conditions must be true for rows to match (similar to using \"AND\" logic in SQL)."]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/merge-datasets_6.ca90bbc8f1c1f4da211cfc5eab55319a3eadf0447f0e809605f5dcecc8d2426d.2fc30de7.png","alt":"join-conditions","withLightbox":true,"className":"ss-img"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"best-practices","__idx":4},"children":["Best practices"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use columns with unique or clearly matching values whenever possible (such as IDs, emails, or names)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Avoid using columns with a lot of ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}," or empty values, as this may lead to missing matches or unexpected results."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Make sure the data types of the columns you join on are compatible (e.g., both columns should be text, or both should be numbers)."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"examples","__idx":5},"children":["Examples"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Let's say you have two datasets:"]},{"$$mdtype":"Tag","name":"Cards","attributes":{"columns":3,"cardMinWidth":240},"children":[{"$$mdtype":"Tag","name":"Card","attributes":{"title":"Dataset A","imagePosition":"start","iconPosition":"auto","layout":"vertical","align":"start","variant":"outlined"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"class":"table-header","className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Region ID"},"children":["Region ID"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Sales"},"children":["Sales"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Alice"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["100"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Bob"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["150"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["3"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Charlie"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["200"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Card","attributes":{"title":"Dataset B","imagePosition":"start","iconPosition":"auto","layout":"vertical","align":"start","variant":"outlined"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"class":"table-header","className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Region ID"},"children":["Region ID"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Region"},"children":["Region"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["East"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["3"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["West"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["4"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["South"]}]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Before merging, you define a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["join condition"]}," that matches the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Region ID"]}," column from the first dataset with the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Region ID"]}," column from the second dataset. This ensures that rows with the same ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Region ID"]}," value are matched together during the merge."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Depending on the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["join operator"]}," you select (Left outer, Inner, Right outer, or Full outer), the resulting merged dataset will look different. See the examples for each join operator below."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"left-outer","__idx":6},"children":["Left outer"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Includes all rows from Dataset A, with matching Region values from Dataset B. Rows without a match in B have ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}," values for Region."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"class":"table-header","className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Region ID"},"children":["Region ID"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Sales"},"children":["Sales"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Region"},"children":["Region"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Alice"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["100"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Bob"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["150"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["East"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["3"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Charlie"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["200"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["West"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"inner","__idx":7},"children":["Inner"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Includes only rows where the Region ID exists in both datasets."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"class":"table-header","className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Region ID"},"children":["Region ID"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Sales"},"children":["Sales"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Region"},"children":["Region"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Bob"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["150"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["East"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["3"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Charlie"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["200"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["West"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"right-outer","__idx":8},"children":["Right outer"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Includes all rows from Dataset B, with matching Name and Sales values from Dataset A. Rows without a match in A have ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}," values for Name and Sales."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"class":"table-header","className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Region ID"},"children":["Region ID"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Sales"},"children":["Sales"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Region"},"children":["Region"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Bob"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["150"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["East"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["3"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Charlie"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["200"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["West"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["4"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["South"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"full-outer","__idx":9},"children":["Full outer"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Includes all rows from both datasets. Missing values are shown as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]},"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"class":"table-header","className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Region ID"},"children":["Region ID"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Sales"},"children":["Sales"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Region"},"children":["Region"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Alice"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["100"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Bob"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["150"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["East"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["3"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Charlie"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["200"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["West"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["4"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["South"]}]}]}]}]},{"$$mdtype":"Tag","name":"Faq","attributes":{},"children":[{"$$mdtype":"Tag","name":"FaqItem","attributes":{"question":"Can I merge datasets from different integrations?"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Yes, you can merge datasets from different integrations as long as they have compatible join columns (e.g., matching IDs, names, or other common fields)."]}]},{"$$mdtype":"Tag","name":"FaqItem","attributes":{"question":"Can I use a merged dataset as an input in another merge?"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Yes. Once you create and save a merged dataset, it becomes available alongside your other datasets. You can select it as an input when setting up a new merge, allowing you to build more complex datasets in multiple steps if needed."]}]},{"$$mdtype":"Tag","name":"FaqItem","attributes":{"question":"What happens if two datasets have columns with the same name?"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If there are duplicate column names between datasets, Databox will automatically rename the columns during the merge to avoid conflicts (e.g., \"Sales\" and \"Sales (2)\")."]}]},{"$$mdtype":"Tag","name":"FaqItem","attributes":{"question":"Will merging datasets change my original datasets?"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["No. Merging datasets creates a new, separate dataset. Your original datasets remain unchanged."]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[" "]},{"$$mdtype":"Tag","name":"Cards","attributes":{"columns":4,"cardMinWidth":160},"children":[{"$$mdtype":"Tag","name":"FooterCard","attributes":{"title":"Ask Genie","icon":"genie","to":"https://app.databox.com/genie","variant":"elevated"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Get instant answers or help with your data using the in-app AI assistant."]}]},{"$$mdtype":"Tag","name":"FooterCard","attributes":{"title":"Talk to an expert","icon":"assistance","to":"https://meetings.hubspot.com/databox-meeting/account-management","variant":"elevated"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For customers: Get help with your setup, strategy, or making the most of Databox."]}]},{"$$mdtype":"Tag","name":"FooterCard","attributes":{"title":"Book a demo","icon":"eye-open","to":"https://meetings.hubspot.com/databox-meeting/ref-knowledge-base","variant":"elevated"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["New to Databox? See how it works and get guidance on getting started."]}]},{"$$mdtype":"Tag","name":"FooterCard","attributes":{"title":"Send an email","icon":"help","to":"mailto:help@databox.com","variant":"elevated"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Reach out to support for help with your account, data, or technical issues."]}]}]}]},"headings":[{"value":"Merge datasets","id":"merge-datasets","depth":1},{"value":"Merge datasets","id":"merge-datasets-1","depth":2},{"value":"Join operators","id":"join-operators","depth":2},{"value":"Join conditions","id":"join-conditions","depth":2},{"value":"Best practices","id":"best-practices","depth":3},{"value":"Examples","id":"examples","depth":2},{"value":"Left outer","id":"left-outer","depth":3},{"value":"Inner","id":"inner","depth":3},{"value":"Right outer","id":"right-outer","depth":3},{"value":"Full outer","id":"full-outer","depth":3}],"frontmatter":{"slug":"merge-datasets","seo":{"title":"Merge datasets","description":"Join multiple datasets together by matching columns to create a single, merged dataset without altering the original data."},"keywords":{"includes":["merge datasets","how to merge datasets in Databox","combine datasets Databox","Databox dataset join","left outer join Databox dataset","join multiple data sources Databox","dataset join conditions Databox"]},"metadata":{"userRole":"Users, Editors, and Admins","accountType":"All accounts","plan":"Exclusive to select subscription plans"}},"lastModified":"2026-04-05T19:27:28.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/merge-datasets","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}