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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Many to one relationships | Error : Can't determine the relationship between two or more fields

I am trying to create a table visual with data pulled from 2 different tables. Both the tables have a column called CHARG, with dulicate values. Therefore, since I cannot have a many-many relationship, I built a third table with all values for CHARG and then linked the aforementioned 2 tables to the third table. Following is the model I've built. However, when I try to populate the visual with values from both the tables, I get an error - Can't display data because PBI can't determine the relationship between 2 or more fields. 

PBI_Relationship.PNG

Can someone help me understand why this is happening and what can be done to avoid this error, please?

 

Thanks in advance! 

 

Update : I tried changing the cross filter direction to 'Both' and it still wouldn't work. Also, the values that I am trying to display on the table - when I try to show them as a Count of, then I am getting values in the visual. However, my usecase requires a 'Do not summarize' operation.

 

1 ACCEPTED SOLUTION

@Anonymous,

 

You may use Merge Queries (Table.NestedJoin) in Query Editor.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

i have a same problem...any solution? i did try the merge query ...and its just a join and it works.....but what is the point of creating relationship then? why use many to many and all other relationship. WIthout any relationships we can just use different types of join right.... i still dont understand why create relationship?
parry2k
Super User
Super User

@Anonymous you are on right track and which visual you are using, make sure you are using CHARG field  from your bridge table. 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

@parry2k - I am trying to build a table visual. I did use the column from the bridge table and it still did not work. 

@Anonymous,

 

You may use Merge Queries (Table.NestedJoin) in Query Editor.

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

@v-chuncz-msft - Hey Sam. Thanks for responding.  Did you mean to tell ' merge all 3 tables?

@Anonymous,

 

You may just merge the original two tables.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors
Top Kudoed Authors