Forum Discussion
Problem with relationship
Hi
I create table with Unique Value in Power Query Editor (made Table.Distinct)
Then i tryed to create relationship with source table but power bi tells me that there is error with many-to-many connection.
But i am sure that table only with unique fields. Can you help me what is problem?
Thanks
3 Replies
- speedrampsSuper User
Hi sevast
If you read the message very careful I think it is says only use many-to-many is the table key is not unique
In the relationship dialogue box try change the default cardality from many-to-many to one-to-many.
Please leave kudos if this soution works, thank you.
Good luck!
- Tahreem24Super User
Try the bridge table. Let's say you have two tables i.e. Table A and Table B.
Create a new table via desktop:
key Table= Distinct(Table[Your Key Column])
Then join the Table A with Key Table and then Table B with Key Table.