Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Table Relationship Doesn't Work.

Hello Communities, I am converting excel report into Power Bi Report. I am getting below error” The column 'Accessories Historical Data[ACCESSORIES HISTORICAL UI A]' either doesn't exist or doesn't...
  • v-juanli-msft's avatar
    v-juanli-msft
    7 years ago

    Hi Anonymous

    In fact, many to many relationship works.

    In you scenario, why it doesn't work is that:

    For example, in my test example,

    there are two "a" values in table 1, also two "a" values in table2,

    then use "RELATED" function in table1 to get "a" values from table2,

    it can't determine which "a" to return.

     

    For this scenario, you could follow my method(use aggregation) in my last post, it is a general way to solve this kind problems.

     

    Regrading using tables with many to many relationship in power bi, you could refer to this article

    https://www.seerinteractive.com/blog/join-many-many-power-bi/

     

    Best Regards

    Maggie