Forum Discussion
Merge two tables with no usable identifiers
- 1 year ago
For some reason, you have chosen to not show what you expect for results from the data you have presented.
However, examination of your data shows that the articles are listed in exactly the same order in both tables. If that is truly the case and relevant, all you need to do is add the Delivery_Date column to your Table A. (If that is not the case, you will need to provide what I previously requested along with your logic in developing your result table)
let //Read in the data tables SourceA = Excel.CurrentWorkbook(){[Name="TableA"]}[Content], TableA = Table.TransformColumnTypes(SourceA,{{"Truck_ID", type text}, {"Article_Number", Int64.Type}}), SourceB = Excel.CurrentWorkbook(){[Name="TableB"]}[Content], TableB = Table.TransformColumnTypes(SourceB,{{"Delivery_Date", type date}, {"Article_Number", Int64.Type}}), //Add the delivery date column #"Add Delivery Date" = Table.FromColumns( Table.ToColumns(TableA) & {TableB[Delivery_Date]}, type table[Truck_ID=text, Article_Number=Int64.Type, Delivery_Date=date]) in #"Add Delivery Date"
Hi magloons ,
I hope the information provided above assists you in resolving the issue. If you have any additional questions or concerns, please do not hesitate to contact us. We are here to support you and will be happy to help with any further assistance you may need.
Hi magloons ,
I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you
- Anonymous1 year agoNot applicable
Hi magloons ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.