Forum Discussion
achrafkasmi
Helper I
3 years agomerge two tables on Directquery Mode
Hi, I have two tables in DirectQuery mode: V_demandeStockD and V_tranStockD. I want to merge the two tables , and adding a columns on V_demandeStockD to have the ItemCode and Dscriptio...
Mahesh0016
Super User
3 years agoTable = UNION ( SELECTCOLUMNS ( V_demandeStockD, "ColumnName", [tablecolumn], .,
.,
.,
"ColumnName", [tablecolumn] ), SELECTCOLUMNS ( table2, "ColumnName", [tablecolumn],
.,
.,
.,
"ColumnName", [tablecolumn] ) )
achrafkasmi i hope this helpyou.