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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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