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
sasdfasdfsad
Advocate II
Advocate II

Cross Filter must be both to avoid cartesian/cross join results?

I have (what I thought) was a simple example.  Is there anyway to avoid getting cartesian/cross join results without setting Cross Filter to both if I want to display columns from different tables on the TABLE visual?

Customers table, and then a related Address and related Phone Numbers table:

sasdfasdfsad_0-1699481025080.png

The issue, of course, is that when I use Customers in a data grid and try to drag on rows from Phone Numbers and Addresses in the same grid it cross joins out (assuming I understand that correctly)

sasdfasdfsad_1-1699481082294.png

The only way around this that I could find was to set the Cross Filter direction to both:

sasdfasdfsad_2-1699481143828.png


Then I had to set it to show items with No Data otherwise it would only show rows where there were matches in all 3 tables (Customers will always have a match but there may not be Phone Numbers or Addresses for each customer)

Unchecked – “Show Items With No Data”

sasdfasdfsad_3-1699481269664.png

 

Checked – “Show Items With No Data”

sasdfasdfsad_4-1699481302696.png


That of course brings up the entire other issue with the TABLE visual where the order of columns impacts if you do or don't get values populated in rows "to the right", but let's just ignore that for now.

Data below:


Customers  
CustomerIDName 
1Jane Doe 
2John Doe 
3Sally Smith 
4Jessica Rabbit 
5Arthur Dent 
6Robert Johnson
   
Phone Numbers  
PKIDCustomerIDNumber
3331555-555-5555
9841555-555-6666
1854555-555-7777
915555-555-8888
   
   
   
Addresses  
PKIDCustomerIDAddress Full
552 123 Fun Street
893839 47th Ave
12552293 Horizon Ave
252991 Eastern Glacier Drive
5854 New Haven Ave
137323 Main Street
489622 Main Street
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @sasdfasdfsad 

You can conider to realize it in power query by using merge queries in power query, 

vxinruzhumsft_0-1699941359030.png

 

vxinruzhumsft_1-1699941378412.png

Then expanded the related columns

vxinruzhumsft_2-1699941430756.png

vxinruzhumsft_3-1699941475213.png

 

vxinruzhumsft_4-1699941486427.png

 

Output

vxinruzhumsft_5-1699941497770.png

You can refer to the following link about the merge queries

Merge queries overview - Power Query | Microsoft Learn

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

View solution in original post

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

Based on the 3 tables that you have shared, show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

I was hoping to get a layout like this:

sasdfasdfsad_0-1699544649580.png

 

sasdfasdfsad_1-1699544652745.png

 

 Where rows would not be surpressed.  I'd rather have rows repeated once for each.

Hi,

Perhaps i cannot understand your requirement.  Someone else will help you.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Which occurs to me that's the same behavior from a TSQL INNER JOIN... EXCEPT for an INNER JOIN to work I would need a row in each table to join on.

It looks like I'll have to insert a place holder row into each table then???

Is there a way to simulate that functionality without having to populate the tables that way?

A measure using CROSS JOIN OR CROSSFILTER or something?

Data tables with added rows 

Phone Numbers 
PKIDCustomerIDNumber
3331555-555-5555
9841555-555-6666
1854555-555-7777
915555-555-8888
956 
962 
973 
Addresses 
PKIDCustomerIDAddress Full
552 123 Fun Street
893839 47th Ave
12552293 Horizon Ave
252991 Eastern Glacier Drive
5854 New Haven Ave
137323 Main Street
489622 Main Street
981 
7734 



Anonymous
Not applicable

Hi @sasdfasdfsad 

You can conider to realize it in power query by using merge queries in power query, 

vxinruzhumsft_0-1699941359030.png

 

vxinruzhumsft_1-1699941378412.png

Then expanded the related columns

vxinruzhumsft_2-1699941430756.png

vxinruzhumsft_3-1699941475213.png

 

vxinruzhumsft_4-1699941486427.png

 

Output

vxinruzhumsft_5-1699941497770.png

You can refer to the following link about the merge queries

Merge queries overview - Power Query | Microsoft Learn

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

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 Solution Authors