Forum Discussion

newpbiuser01's avatar
newpbiuser01
Helper V
2 years ago
Solved

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!

2 Replies