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! Request now

Reply
newpbiuser01
Helper V
Helper V

Combining Tables with No Matching Column

Hello,

 

I have two data tables coming from seperate sources, and I need to combine them both. The rows in the subcategory table are a subset of the category table and I'm trying to combine them so we have one  for each subcategory for every category. Since there are no matching columns, I'm not sure how to merge the tables. 

Category Table: 

Category
A
B
C

 

Subcategory Table:

Subcategory
ABC
DEF
GHI
JKL
MNO
PQR
STU

 

Combined Table: 

CategorySubcategory
AABC
ADEF
AGHI
AJKL
AMNO
APQR
ASTU
BABC
BDEF
BGHI
BJKL
BMNO
BPQR
BSTU
CABC
CDEF
CGHI
CJKL
CMNO
CPQR
CSTU

 

How could I go about combining the tables? I'd really appreciate any help!

 

Thank you!

1 ACCEPTED SOLUTION
rsbin
Super User
Super User

@newpbiuser01 ,

Use the CROSSJOIN function:

NewTable = CROSSJOIN( Category, SubCategory )

 

Regards,

View solution in original post

2 REPLIES 2
rsbin
Super User
Super User

@newpbiuser01 ,

Use the CROSSJOIN function:

NewTable = CROSSJOIN( Category, SubCategory )

 

Regards,

Thank you! 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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