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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
arunjha
New Member

Problem while creating relationship?

Hello All,

 

Recently i am facing a problem while creating relationship between table. It shows an error saying as i mentioned below:Untitled.png

6 REPLIES 6
konstantinos
Memorable Member
Memorable Member

Always keep in mind that if you remove duplicates with query is case sensitive while the data model engine is not..meaning Sam , sam is different in PQ but same value for PP engine
Konstantinos Ioannou
Akahn
Advocate IV
Advocate IV

I can't see your whole dataset, but at a glance this looks like a many to many issue. One possible solution is to create a table to tie these together. It would have to have a list of unique event labels and would have one to many relationships with RTC Source and RTC User Type

Hi Akahn & Eno,

 

Can you share the procedure in detail. We have one common filed as Event Lebel with repeated value between two tables and i want to create relationship between those tables and without removing the duplicate value. Is this possible? Please help me.

@arunjha - sorry didn't see the reply on this. You can use Akhan's advice and create a seperate table with just unique users (events) Then build your model like this:

1.JPG

and you will see that by using the unique user that the aggregates roll up to the unique user from both tables. I just used arbitrary numbers.

2.JPG


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Hi,

 

Can you tell us what's advanced options are configured please ?

See an sample below.

 

Capture2.PNG

 

Hope it's help you.

Seth_C_Bauer
Community Champion
Community Champion

@arunjha I'm guessing the screenshots are just a sample of your data set, because the if it is the entire data set, you should have no problems.

I am running version 2.27.4163.351 - and had no issues building this, in fact the relationship is automatically created. I also tested the removal and add back for the sample set below.

 

Your RTC Source table can only have a single value for each "event label" - so as an example "Sam" can only show up one time. I'd review your Source data to remove the duplicates you obviously have in there.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.