Forum Discussion

IF's avatar
IF
Post Prodigy
5 years ago
Solved

Combining data from

Hi,

 

I want to combine two tables by including all values. Below I represented it with sample data on how I want to have the table.

 

Table1:

DateUnitSubunitValue1
05.2021AA110
05.2021AA212
06.2021BB222

 

Table2:

DateUnitSubUnitValue2

DateUnitSubunitValue2
05.2021BB130
06.2021BB120
06.2021BB222

 

Joined Table should be:

DateUnitSubunitValue2Value1
05.2021BB130 
06.2021BB120 
06.2021BB222 
05.2021AA1 10
05.2021AA2 12
06.2021BB2 22

 

How can I combine the data in this way? Thanks in advance!

 

  • After doing NidhiBhusari solution you can use group by in Power Query Editor to give you desired result. As it will combine the same row and SUM all the values in Value1, Value2

     

     

     

6 Replies