Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

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:

 

 

 

  • 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?

     

6 Replies

  • smpa01's avatar
    smpa01
    Icon for Community Champion rankCommunity Champion
    What is the measure you created that is generating the error. Can you please share the measure and the error it is generating
    • Anonymous's avatar
      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.

    • Anonymous's avatar
      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

       

  • v-frfei-msft's avatar
    v-frfei-msft
    Icon for Community Support rankCommunity 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?

     

    • Anonymous's avatar
      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