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 September 15. Request your voucher.

Reply
michaelkwb
New Member

2 fields requiring reference from the same field

hi,

 

I have 2 fields, POL (port of loading) and POD(pod of discharge). These are 5 letter codes that shows both country and city. I also have a master list of all portcodes with seperate columns for country and city.

 

I initially created a relationship between both sheets selecting POD and the portcode in the master list. When I select country in the charts, it shows the POD countries. This was what I wanted.

 

however, when I decided to include POL into my visualisations and wanted to show the countries of the POL, it was unable to link the POL countries when I select country from the master list in the visualisation. It still shows the POD countries.

 

Can someone advise on the steps I will need to take?

1 ACCEPTED SOLUTION
SteveCampbell
Memorable Member
Memorable Member

A coiuple of ways, you could have multiple relationships and write DAX with USERELATIONSHIP. But this is quite complicated.

 

For the descriptopn, it sounds like you could create a star schema with three dimensions:

Country/City,

Product (with a unique product id to link to pod and pol)

 

Then two fact tables, with

POD 

POL

 

Check out the documentation:

https://docs.microsoft.com/en-us/power-bi/guidance/star-schema

 

 

 

Love hearing about Power BI tips, jobs and news?
I love to share about these - connect with me!

Stay up to date on  linkedin-logo.png
Read my blogs on  powerbi.tips_.png

Remember to spread knowledge in the community when you can! tu.png



Did I answer your question? Mark my post as a solution! Proud to be a Super User!


Connect with me!
Stay up to date on  
Read my blogs on  



View solution in original post

1 REPLY 1
SteveCampbell
Memorable Member
Memorable Member

A coiuple of ways, you could have multiple relationships and write DAX with USERELATIONSHIP. But this is quite complicated.

 

For the descriptopn, it sounds like you could create a star schema with three dimensions:

Country/City,

Product (with a unique product id to link to pod and pol)

 

Then two fact tables, with

POD 

POL

 

Check out the documentation:

https://docs.microsoft.com/en-us/power-bi/guidance/star-schema

 

 

 

Love hearing about Power BI tips, jobs and news?
I love to share about these - connect with me!

Stay up to date on  linkedin-logo.png
Read my blogs on  powerbi.tips_.png

Remember to spread knowledge in the community when you can! tu.png



Did I answer your question? Mark my post as a solution! Proud to be a Super User!


Connect with me!
Stay up to date on  
Read my blogs on  



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.