Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
I have one fact table related to shipments. Each shipment has an origin_country_wnbr and a dest_country_wnbr. We have one country dimension table. We are often trying to create shipment records where we specify the origin and destination pairs. How can I bring in the one country dimension table yet create a relationship to both the origin_country_wnbr and the dest_country_wnbr?
Solved! Go to Solution.
Duplicate your country table (referenced) in power query.
Now you can setup a new relationship to your newly created country table on destination_country
Duplicate your country table (referenced) in power query.
Now you can setup a new relationship to your newly created country table on destination_country
pls provide some sample data and expected output.
Proud to be a Super User!
You can try to use a ID country?
Not understanding your suggestion.
If you have the county in both tables, add an unique ID for each country and use it for the relationship
The country dim table has a primary_key assigned to each country code. Could I simply duplicate that key as a new column, then use it to create one of the two relationships needed to the fact table? I apologize for my lack of experience here. I am a very new PBI user and certainly appreciate your patience!
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
87 | |
87 | |
85 | |
67 | |
49 |
User | Count |
---|---|
135 | |
112 | |
100 | |
66 | |
62 |