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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
GPr0
Frequent Visitor

Power BI Service - Analyze in Excel - One to one relationship

I've created a very simple dataset in Power BI Service with two tables, joined through a one-to-one relationship.

 

Table 1:

GPr0_0-1600870610495.png

Table 2:

 

GPr0_1-1600870664971.png

Model:

 

GPr0_2-1600870778088.png

 

In Power BI service, whenever I create a report based on this dataset, data is displayed as expected : one row in Table 1 matches with one and only one row in Table 2 :

GPr0_3-1600870922771.png

However, whenever I use the "Analyze In Excel" feature, the result is quite unexpected, and it looks like a cartesian product of Table 1 and Table 2  :

GPr0_4-1600871131817.png

Is this behaviour expected when using the "Anlayze in Excel" feature ?
Thanks in advance for your help.

1 ACCEPTED SOLUTION
GPr0
Frequent Visitor

I found the answer here :
https://community.powerbi.com/t5/Power-Query/Relationships-in-PBI-Publisher-for-Excel/td-p/226105

 

Without measures, the relationships are not taken into account.

 

Thanks for your help.

View solution in original post

5 REPLIES 5
Pragati11
Super User
Super User

HI @GPr0 ,

 

ANALYZE IN EXCEL option in a way imports your Power BI model to an excel and helps you to analyze the data further.

In you case you have created ONE-to-ONE relationship between your tables, but it is BI-DIRECTIONAL.

BI_DIRECTIONAL refers here both tables can filter eachother.

But BI-DIRECTIONAL relationship introduces extra joins with the rows of your tables and creates every single possible combination, like you see at your end.

 

Check the following link on Analyze in Excel in Power BI for details:

https://exceleratorbi.com.au/power-bi-analyze-excel-what-you-need-to-know/

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Thanks for your reply.

What I don't really get is : why is the behaviour different from a Power BI Report, where one-to-one relationships don't generate cartesian products ?

Hi @GPr0 ,

 

It actually does it in the background because your relation is bi-directional.

If you move exactly all the columns from TABLE1 against all the columns in TABLE2 in a table visual in Power BI, you will end up with similar join behaviour as you see in Excel.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

It actually doesn't : there is no cartesian product in Power BI when using a Table Visual for example (see screenshot in my first post). 

GPr0
Frequent Visitor

I found the answer here :
https://community.powerbi.com/t5/Power-Query/Relationships-in-PBI-Publisher-for-Excel/td-p/226105

 

Without measures, the relationships are not taken into account.

 

Thanks for your help.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Kudoed Authors