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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
bourne2000
Helper V
Helper V

How to combine 2 tables into one?

Hi

 

I have two tables, table 1 and table 2. Both the tables have been connect with street address and it is many to many relationship

 

bourne2000_0-1641265322033.png

 

In table 1, it doesn't have a date. I need to create a single map by taking both tables. So I want to combine both these tables into one table. How to do it?

 

I can create a map separately for each graph, but needs to create one map for both. 

 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @bourne2000,

I'd like to suggest you take a look at the following link about creating a bridge table and many column relationships.

How to Join Many to Many with a Bridge Table in Power BI | Seer Interactive

Relationship in Power BI with Multiple Columns - RADACAD

After you build a relationships bridge based on many columns, you can create a calculated table to use one table as the base and relationships key as conditions to lookup and summary another table records.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

HI @bourne2000,

I'd like to suggest you take a look at the following link about creating a bridge table and many column relationships.

How to Join Many to Many with a Bridge Table in Power BI | Seer Interactive

Relationship in Power BI with Multiple Columns - RADACAD

After you build a relationships bridge based on many columns, you can create a calculated table to use one table as the base and relationships key as conditions to lookup and summary another table records.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
amitchandak
Super User
Super User

@bourne2000 , Create combine field using log/Lat and sqft if needed and merge

In power power and merge

new column = [longitude] & "-" & [Latitude]

https://radacad.com/append-vs-merge-in-power-bi-and-power-query

 

Or create a new column  in a table 

Date in tbale 1 = maxx(Table2, Table2[longitude] = Table1[longitude]  && Table2[Latitude] = Table1[Latitude] ), Table2[Date])

 

refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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