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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
briktheprop2
Frequent Visitor

Combine two data tables

Hi all,

 

I have 2 data tables - one for store information and another for product info. In short, I need to create a new table that splits out each store showing every product. I need this in order to be able to calculate product availability based on what should be in store. Furthermore, over time new stores will be added to my store table, so I'd like the output to self-update within power BI.

 

So for example, my store table contains 100 different stores and my product info table has 50 products, therefore I would expect to see an end result of a new table that contains 5,000 rows of data, with 50 rows per store showing each unique product.

 

Does anyone have any ideas? For info, there is no relationship between the two tables as they are completely different!

 

Regards,

Rick

1 ACCEPTED SOLUTION
PowerBIEnthu
Resolver I
Resolver I

You're looking to do the cartesian product of two tables.
You can use cross join in power query and you'll get your expected result.

View solution in original post

2 REPLIES 2
PowerBIEnthu
Resolver I
Resolver I

You're looking to do the cartesian product of two tables.
You can use cross join in power query and you'll get your expected result.

Amazing, thank you!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.