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

See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap

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
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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

Top Solution Authors
Top Kudoed Authors