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 gener...
petrovnikitamai
7 years agoResolver V
try to use NATURALLEFTOUTERJOIN(T1;T2)
- ahuhn7 years agoAdvocate I
Very odd error:
No common join columns detected. The join function 'NATURALLEFTOUTERJOIN' requires at-least one common join column.
- petrovnikitamai7 years agoResolver V
new table = naturalleftouterjoin( selectcolumns(T1;"name";[name];"statusBefore";[statusBefore]); selectcolumns(T2;"name";[name];"statusToday";[statusToday]))
i'm not sure, but try this
- ahuhn7 years agoAdvocate I
Thanks for the suggestion.
I renamed name to name1, made a relationship between the two tables, and ran
Table = NATURALLEFTOUTERJOIN('Now','Before')
succssfully