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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Help. My Data model is producing a cartesian product in excel and I cant fix it.

I have an issue with a data model I created in PowerBI. When it is imported into excel the relationships between tables seem to go out the window but measures based on them work.

Essentially in a case with the following tables Table 1 (Key: A,B) Table 2 (Key: A,B)
when a user selects from more than one table in excel pivot table they are getting the following result set (A,A),(A,B),(B,B),(B,A). Where I was only expecting them to receive (A,A),(B,B).

The dataset preforms as expected in PowerBI desktop. Is there a setting I'm missing or something else.

1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

try to put a mearsure into the value area

View solution in original post

2 REPLIES 2
wdx223_Daniel
Super User
Super User

try to put a mearsure into the value area

jbwtp
Memorable Member
Memorable Member

Hi @Anonymous,

 

This is weird, but this may be the way that the relationships work in Excel. Are you setting them up via Power Pivot funcionality (drag and drop) or using Relationships.. dialog (selecting pairs from the box)?

 

Are you considering having a key: AB on both tables (i.e. one "index" column vs two columns)?

 

Kind regrads,

John

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors