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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.