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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Bridging Table not working as expected

I have two tables that I need to show data from. They both have a 'National Code' that is not unique in either table. I am trying to use a bridging table consisting of one column with a comprehensive list of unique 'National Code's. The visual (a Table) that contains info from both tables errors. Can anyone tell me what I am missing here? Here's screenshots of a moc example:

 

BridgingTableModel.PNG

BridgingTableVisualisations.PNG

 

 

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

It’s prompted that can’t display the data coz power bi can’t determine the relationship between these two tables.

Why don’t you try to set the relationship bwteen CourseMasterData with LearningBankData1 directly?

1.png2.png

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

6 REPLIES 6
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

It’s prompted that can’t display the data coz power bi can’t determine the relationship between these two tables.

Why don’t you try to set the relationship bwteen CourseMasterData with LearningBankData1 directly?

1.png2.png

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

Thanks Frank,

Yes this works thanks. I was using an older version of PBI which did not have the many to many cardinality. I have now got the new version and the many to many works just fine. Thanks

amitchandak
Super User
Super User

Select cmd_national_code from bridge table. and try.

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @

Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin

Anonymous
Not applicable

No that did not work. Here's a link to the file.

https://www.dropbox.com/s/l75tln43a96rl9s/BridgingTable.pbix?dl=0

 

smpa01
Super User
Super User

What is the measure you created that is generating the error. Can you please share the measure and the error it is generating
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
Anonymous
Not applicable

I am not using any measure, just the 'CMD_National Title' from the 'CourseMasterData' and the 'LB_Info'from the 'LearningBankData1' as per the screen shot. The error is shown in the screen shot also.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.