Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
prashanth0626
Frequent Visitor

Merge two columns into one table

I have two tables

Location
A
B
C
D
E
F
G

 and

Type
1
2
3
4
5
6
7

 I want to join the above in power query to get the resulting table. Each instance of first table joined with each instance of second table. 

LocationType
A1
A2
A3
A4
A5
A6
A7
B1
B2
B3
B4
B5
B6
B7
C1
C2
C3
C4
C5
C6
C7
1 ACCEPTED SOLUTION
ziyabikram96
Helper V
Helper V

Result Table = CROSSJOIN(Table1,Table2)

View solution in original post

5 REPLIES 5
ziyabikram96
Helper V
Helper V

Result Table = CROSSJOIN(Table1,Table2)

create new table and then put the previouse formula with respect to requirements

prashanth0626
Frequent Visitor

@Pragati11 i do not have any common fields between the two. I tried all the combinations of merge queries but doesnt give me the required output. 

Hi @prashanth0626 ,

 

Apologies I missed that part. There is an existing thread for your scenario on the forum:

https://community.powerbi.com/t5/Desktop/expand-and-merge-tables-without-identical-columns/m-p/34083...

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Pragati11
Super User
Super User

HI @prashanth0626 ,

 

You can achieve this in Power Query Editor in Power BI. Refer this simple document on combining/merging your 2 tables:

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-shape-and-combine-data#combine-querie...

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.