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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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 Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 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.

Top Solution Authors