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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Building huge data table from 2 smaller one efficiently.

Hi All!

 

I have a bit of a challange on how to combine huge data efficiently and build a report on top of that.

 

I have 2 lists both not too big in their own List Shops and List Products. We have like 150 shops for now and 370 products that are the same in all shops. How can I put all those in one table or connecting them in a way that the report will recognise all shops with all products? It will be 150*370 row of data, but I dont know how to combine them in this way inside PowerBI.

For example:

Shop A Product 1

Shop A Product 2

...

Shop A Product 370

Shop B Product 1

...

Shop B Product370

... and so on...

1 ACCEPTED SOLUTION
zenisekd
Super User
Super User

@Anonymous, 150*370 is not a big table...

I believe what you are trying to achieve is called "cartesian join". Here is a solution: 
https://radacad.com/cartesian-product-in-power-query-multiply-all-sets-of-all-pairs-in-power-bi

View solution in original post

2 REPLIES 2
zenisekd
Super User
Super User

@Anonymous, 150*370 is not a big table...

I believe what you are trying to achieve is called "cartesian join". Here is a solution: 
https://radacad.com/cartesian-product-in-power-query-multiply-all-sets-of-all-pairs-in-power-bi

Anonymous
Not applicable

Lifesaver, thank you! I tought it should be easy to do just couldnt find it myself.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors