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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Matching column values from one table to another

Hi,

 

I have two tables

Table 1 headers = Email, Pageviews

 

Table 2 headers = Email, Country

 

I am seeking a way to match the emails together so that essential I can be able to filter by country to see the pageviews for the emails within that country.

 

I tried in the data model to build a relationship but one of the columns has to have unique values and I'm not sure if this is the solution anyway.

 

If anyone has any ideas, that would be great.


Alex

2 ACCEPTED SOLUTIONS
RohithGn
Helper I
Helper I

Hi,

 

You could create a new Dim table with distinct values from either Table 1 or Table to then set the relationship with this unique emails to both the tables. 

Table 3 = DISTINCT(Table1[Email])

 

Regards,

Rohith

View solution in original post

v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous

 

You may update your desktop and try to use many to many relationships. Here is the documnet for your reference.

Many-to-many relationships in Power BI Desktop (preview)

1.png

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous

 

You may update your desktop and try to use many to many relationships. Here is the documnet for your reference.

Many-to-many relationships in Power BI Desktop (preview)

1.png

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
RohithGn
Helper I
Helper I

Hi,

 

You could create a new Dim table with distinct values from either Table 1 or Table to then set the relationship with this unique emails to both the tables. 

Table 3 = DISTINCT(Table1[Email])

 

Regards,

Rohith

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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