Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
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:
| Category | Subcategory |
| A | ABC |
| A | DEF |
| A | GHI |
| A | JKL |
| A | MNO |
| A | PQR |
| A | STU |
| B | ABC |
| B | DEF |
| B | GHI |
| B | JKL |
| B | MNO |
| B | PQR |
| B | STU |
| C | ABC |
| C | DEF |
| C | GHI |
| C | JKL |
| C | MNO |
| C | PQR |
| C | STU |
How could I go about combining the tables? I'd really appreciate any help!
Thank you!
Solved! Go to Solution.
Use the CROSSJOIN function:
NewTable = CROSSJOIN( Category, SubCategory )
Regards,
Thank you!
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 42 | |
| 41 | |
| 21 | |
| 21 |
| User | Count |
|---|---|
| 150 | |
| 106 | |
| 64 | |
| 37 | |
| 36 |