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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Janka1712
Frequent Visitor

Not relationship

Hi, I need some help.

 

I have two tables, first table has columns Origin Postal Code and  Destination Postal Code. In second table I have 3 columns:  Postal Codes, Latitude, Longitude. I tried to create relationship but it worked just for one column of postal codes.  I need columns latitude and longitude for both columns Origin and Destination  for visualizations to work.

 

I also tried Lookupvalue but it show  error or blank.

 

 

 

 

 

2 REPLIES 2
v-diye-msft
Community Support
Community Support

Hi @Janka1712 

I’ve created table 1 with Origin Postal Code and  Destination Postal Code, table 2 with Postal Codes, Latitude, Longitude.

3.PNG

There’s only one active relation available between 2 tables, thus we can create another new table which same as the first one. And then set the single relationship between New table and table 2 using Destination code as the common key. The relationship shown as below:

4.png

Then both original code and destination code could be the filter.  Pbix attached for your reference.

5.jpg

Regards,

Dina

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

Hi @v-diye-msft ,

 

Thank you, I hoped there is some other way of doing this  without uploading same table twice, but I guess there is no other solution.

 

Janka

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.