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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors