cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
russellclaude Frequent Visitor
Frequent Visitor

Relationship is set, but results don't reflect the relationship

I am not new with creating relationships, and I have been using power BI for only about 5 months. But- this error seems like an easy thing to fix, but I cannot figure it out.

 

I am simply trying to add an item list, by UPC, to my center of the star-schema. Without the item list everything works fine, but when I add the attribute list I get a cartesian-product-type result.

 

Here's my relationship:

Capture_Relationship.PNGJoined on UPC code

Here's my result in a table Viz with the Cartesian-Product effect:

Capture-Duplicates.PNGCartesian-product results in Table visual. These should all match 1:1 in the view.

What am I missing!?!?!?!?!?

2 ACCEPTED SOLUTIONS

Accepted Solutions
Super User
Super User

Re: Relationship is set, but results don't reflect the relationship

@russellclaude becuase your WM UPC is on many side. Add new column in your Item table or change filter direction to both

 

WM UPC = RELATED( UPCTable[WM UPC])





Did I answer your question? Mark my post as a solution.

Proud to be a Datanaut! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





View solution in original post

russellclaude Frequent Visitor
Frequent Visitor

Re: Relationship is set, but results don't reflect the relationship

Okay, @parry2k , THANKS for the help!

 

I updated the relationship to be BOTH, but that did not fix the problem, so I added the column to my table at the center of my Star-Schema as you recommended using RELATED(). That seems to be working. I don't feel it is efficient, but at least it is working! 🙂

 

Thanks a ton for the help!

View solution in original post

3 REPLIES 3
Super User
Super User

Re: Relationship is set, but results don't reflect the relationship

@russellclaude becuase your WM UPC is on many side. Add new column in your Item table or change filter direction to both

 

WM UPC = RELATED( UPCTable[WM UPC])





Did I answer your question? Mark my post as a solution.

Proud to be a Datanaut! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





View solution in original post

russellclaude Frequent Visitor
Frequent Visitor

Re: Relationship is set, but results don't reflect the relationship

Okay, @parry2k , THANKS for the help!

 

I updated the relationship to be BOTH, but that did not fix the problem, so I added the column to my table at the center of my Star-Schema as you recommended using RELATED(). That seems to be working. I don't feel it is efficient, but at least it is working! 🙂

 

Thanks a ton for the help!

View solution in original post

Community Support Team
Community Support Team

Re: Relationship is set, but results don't reflect the relationship

Hi @russellclaude ,

 

You could accept reply you like if your question has been solved.

 

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

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 6 members 1,350 guests
Please welcome our newest community members: