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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.