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
Anonymous
Not applicable

all combinations from two tables into one (no common ID for merge or join)

Hi all,

 

I have 2 lists I would like to combine into all combinations.

 

List A has all Subjects taking part in the research, by Site, example:

SiteSubject
1001
1002
1003
1011
1012
1021
1022
1023
1024

 

List B has all Events, in order, example:

Event
a
b
c
d

 

Where in simple coding I could use a simple loop, I'm having trouble in DAX creating this final product:

SiteSubjectEvent
1001a
1002a
1003a
1011a
1012a
1021a
1022a
1023a
1024a
1001b
1002b
1003b
1011b
1012b
1021b
1022b
1023b
1024b
1001c
1002c
1003c
1011c
1012c
1021c
1022c
1023c
1024c
1001d
1002d
1003d
1011d
1012d
1021d
1022d
1023d
1024d

 

the order of the result doesn't matter to me, as long as all possible combinations between the Subjects and Events are in one Table.

 

Thanks in advance!

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

Use the DAX command GENERATE

View solution in original post

2 REPLIES 2
HotChilli
Super User
Super User

Use the DAX command GENERATE

Anonymous
Not applicable

nothing beats experience! 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