Forum Discussion
ChoiJunghoon
Helper III
6 years ago[DAX] How to append Table A/B
I want to create "NewTable". I am able to use only DAX code. Could you help me....
- 6 years ago
Hi ChoiJunghoon ,
You may create calculated table like DAX below.
Table3 = var _Table= EXCEPT(VALUES(Table2[Date]),VALUES(Table1[Date])) return UNION(SUMMARIZE(Table1,Table1[Date],"Value", SUM(Table1[Value])), SUMMARIZE(_Table, [Date],"Value", SUM(Table2[Value])) )Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-xicai
Community Support
6 years agoHi ChoiJunghoon ,
You may create calculated table like DAX below.
Table3 =
var _Table= EXCEPT(VALUES(Table2[Date]),VALUES(Table1[Date]))
return
UNION(SUMMARIZE(Table1,Table1[Date],"Value", SUM(Table1[Value])),
SUMMARIZE(_Table, [Date],"Value", SUM(Table2[Value])) )
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.