Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I have two tables Orders and Returned, I want to merge the two tables but once I merge the data will be duplicated. I have tried aggregating after merging but it will only display the returned orders, I need to have the full data set without getting duplicated. The tables are as follows;
Orders
| Order ID | Order Date | Ship Date | Ship Mode | Customer ID | Customer Name |
| CA-2012-124891 | 7/31/2012 | 7/31/2012 | Same Day | RH-19495 | Rick Hansen |
| IN-2013-77878 | 2/5/2013 | 2/7/2013 | Second Class | JR-16210 | Justin Ritter |
| IN-2013-71249 | 10/17/2013 | 10/18/2013 | First Class | CR-12730 | Craig Reiter |
| ES-2013-1579342 | 1/28/2013 | 1/30/2013 | First Class | KM-16375 | Katherine Murray |
| SG-2013-4320 | 11/5/2013 | 11/6/2013 | Same Day | RH-9495 | Rick Hansen |
| IN-2013-42360 | 6/28/2013 | 7/1/2013 | Second Class | JM-15655 | Jim Mitchum |
| IN-2011-81826 | 11/7/2011 | 11/9/2011 | First Class | TS-21340 | Toby Swindell |
| IN-2012-86369 | 4/14/2012 | 4/18/2012 | Standard Class | MB-18085 | Mick Brown |
| CA-2014-135909 | 10/14/2014 | 10/21/2014 | Standard Class | JW-15220 | Jane Waco |
| CA-2012-116638 | 1/28/2012 | 1/31/2012 | Second Class | JH-15985 | Joseph Holt |
Returned
| Returned | Order ID | Market |
| Yes | MX-2013-168137 | LATAM |
| Yes | US-2011-165316 | LATAM |
| Yes | ES-2013-1525878 | EU |
| Yes | CA-2013-118311 | United States |
| Yes | ES-2011-1276768 | EU |
| Yes | MX-2013-131247 | LATAM |
| Yes | ID-2011-20975 | APAC |
| Yes | IN-2014-58460 | APAC |
| Yes | ES-2011-3028321 | EU |
| Yes | MX-2014-148285 | LATAM |
| Yes | IN-2014-54708 | APAC |
| Yes | ID-2011-20989 | APAC |
| Yes | ES-2013-3323529 | EU |
Are you sure you're merging and not appending, this seems a trivial merge on the order id
@Anonymous , At a very high-level look of the data, I do not think there are matching no for me to test.
Please refer if this can help :https://radacad.com/pivot-and-unpivot-with-power-bi
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 37 | |
| 34 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 74 | |
| 70 | |
| 37 | |
| 35 | |
| 25 |