Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello everybody,
I have a question regarding merging two tables. These have the same columns in parts, but also different ones. Both tables come from different databases but represent a similar theme. It looks something like this:
Table 1
R_ID | Date | Coloumn A | Column B
123 | 01012022 | Abc | Def
Table 2
R_ID | Date | Column 1 | Column 2
456 | 01012023 | Wer | Gfd
Can someone help me to make sure that these tables are listed completely, analogous to the example below:
Desired result table
R_ID | Date | Coloumn A | Column B | Column 1 | Column 2
123 | 01012022 | Abc | Def | null | null
456 | 01012023 | null | null | Wer | Gfd
Solved! Go to Solution.
Hi @Jul1An
In Power Query you just need to append one table to the other. PQ will automatically create the nulls in Cols A and B and Cols 1 and 2 as you want to see them.
A bit trickier in DAX but this syntax works. In PBI desktop go to New table in the ribbon and use the DAX below.
Hi @Jul1An
In Power Query you just need to append one table to the other. PQ will automatically create the nulls in Cols A and B and Cols 1 and 2 as you want to see them.
A bit trickier in DAX but this syntax works. In PBI desktop go to New table in the ribbon and use the DAX below.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
98 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |