Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi!
I would like to create a table containing all possible combinations of two unrelated columns from unrelated tables.
So I would like to do something like this, which obviously does not work in it's current form.
SUMMARIZE('Dates', 'Dates'[Date], 'Cars'[Brand])
Intention is to create results for every possible combination like for example:
AVERAGEX (
<Table unrelated columns>,
DIVIDE ( [Some Measure], __SomeVariable, BLANK () )
)
Solved! Go to Solution.
Hi @Bamse
Something like this should do it
CROSSJOIN (
VALUES ( 'Dates'[Date] ),
VALUES ( 'Cars'[Brand] )
)
Hi:
To start you could use CROSSJOIN
CROSSJOIN(VALUES(Dates[Date]),
VALUES(Cars[Brand])
)
Hi @Bamse
Something like this should do it
CROSSJOIN (
VALUES ( 'Dates'[Date] ),
VALUES ( 'Cars'[Brand] )
)
Sorry Paul, I didn't see your reply!
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
11 | |
9 | |
6 |