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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors