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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
vipett
Helper III
Helper III

Crossjoin in PowerQuery vs In table

Hi,

 

I am doing a lot of cross joined tables with just Table = Crossjoin(Table1,Table2,Table3,etc), sometime with filters or only selected columns.

I wanted to try doing it in PowerQuery instead, with data from a Dataflow form the PowerPlatform.

One example I did with three tables that contained 2-5 columns per table with table1 17 rows, table2 about 390 rows and table 3 about 25 rows

To do the crossjoin in DAX took just seconds to generat the 165k rows.

But If I do it in Powerquery (adding a custom column and expanding it) it is loading super slow, so far it has loaded about 400kb in 15 minutes.

No internet connection issues, I can load massive tables from our DW in no time.

 

What am I missing, is PowerQuery doing something strange and asking the powerplatform for each and every row?

Is there a better way of doing it?

I did try to do it in a dataflow using the website, but then it wanted to load 1gb+ each time which is way way more than what it should be.

2 REPLIES 2
amitchandak
Super User
Super User

@vipett , refer

https://learn.microsoft.com/en-us/power-query/cross-join

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi,

 

That articles describes the two methods I've tried but doesn't explain how it works in more detail, so that I can understand what method to use in different scenarios.

Using DAX is quick to generate it, but with calculations after it becomes really slow

Using the expand method is super slow to load, but faster with calculations.

 

Is there another way to do it?

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.