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
Anonymous
Not applicable

Relationship issue when i have unique values

Hi Experts

 

Refer to table dimdata and hierarchy both tables have ItemID. I have unique values in Hierarchy table and multiples in dimdata...

 

When I try and create an 1 to * relationship its telling me I have multiple values in both tables.

 

https://www.dropbox.com/s/ilpja4jodpl2vei/SampleData_2.pbix?dl=0 

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@Anonymous 

Yes, you remove duplicates in Power Query, create the relashionship.

 

________________________

If my answer was helpful, please click Accept it as the solution to help other members find it useful

Click on the Thumbs-Up icon if you like this reply 🙂


WebsiteYouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

4 REPLIES 4
Fowmy
Super User
Super User

@Anonymous 

Yes, you remove duplicates in Power Query, create the relashionship.

 

________________________

If my answer was helpful, please click Accept it as the solution to help other members find it useful

Click on the Thumbs-Up icon if you like this reply 🙂


WebsiteYouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Fowmy
Super User
Super User

@Anonymous 

When you are creating a relationship as one-to-many, the one side of the relationship must have unique values. In your hierarchy table, there are duplicates 3a and 3b. Remove duplicates and it should work.

 

________________________

If my answer was helpful, please click Accept it as the solution to help other members find it useful

Click on the Thumbs-Up icon if you like this reply 🙂


WebsiteYouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

Many thanks for excellent feedback 

Anonymous
Not applicable

Just duplicate for 3a and 3b...all other item ids are good?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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