Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
I want to add one table to another and I know how to do it in the query editor.
But the table I want to add was created outside the query editor in the "data" area. So the table is not shown in the query editor.
Is there a way to add the other table to the query editor?
Thanks!
Mark
Solved! Go to Solution.
@Anonymous you can easily use selectcolumns and than use union
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@Anonymous what is the DAX expression used to add data table. You cannot take date table by DAX in Power Query but we can look at DAX code and try to generate it in Power Query. share the DAX expression.
Any reason why you need it in power query?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi @parry2k ,
the only reason why I want it in Power Query is, because I know how to work with it there. But a DAX solution would also be fine.
Here are the different example tables:
table 1 (Power Query) name type value month year A ext 3 may 2018 B ext 3 jun 2018 table 2 (DAX) name type value year position C int 2 2017 doe D int 4 2017 doe2 final table name type value month year position A ext 3 may 2018 0 B ext 3 jun 2018 0 C int 2 0 2017 doe D int 4 0 2017 doe2
My goal is to have the final table.
The DAX code for table 2 is:
FinalTable = CALCULATETABLE ( 'TEMPTABLE'; FILTER ( 'TEMPTABLE'; 'TEMPTABLE'[Value] <= IF ( ISBLANK ( YEAR ( 'TEMPTABLE'[exit] ) ); 2019; YEAR ( 'TEMPTABLE'[exit] ) ) && 'TEMPTABLE'[Value] >= YEAR ( 'TEMPTABLE'[entry] ) ) )
But this is different from my example tables above, as the real tables are much more complex.
I justs need to understand the logic, how to match certain columns in different tables to form a new table.
Thank you!
Mark
@Anonymous you can easily use selectcolumns and than use union
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.