Forum Discussion
ahuhn
7 years agoAdvocate I
full outer join in dax
I am trying to do a full outer join in DAX (not in PQ)
I have two tables, T1 and T2, and am trying to make a merged table, M, as shown below.
I tried combinations of crossjoin and generate, but cannot find an appropriate solution. Is this possible?
Any suggestions welcome
6 Replies
- petrovnikitamaiResolver V
try to use NATURALLEFTOUTERJOIN(T1;T2)
- ahuhnAdvocate I
Very odd error:
No common join columns detected. The join function 'NATURALLEFTOUTERJOIN' requires at-least one common join column.
- petrovnikitamaiResolver V
new table = naturalleftouterjoin( selectcolumns(T1;"name";[name];"statusBefore";[statusBefore]); selectcolumns(T2;"name";[name];"statusToday";[statusToday]))
i'm not sure, but try this