Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

How can I do Merged Queries for more than two tables?

Hello

 

How can I do Merged Queries for more than two tables? It only allows me to choose two tables. Maybe I should merge the two and then merge the resulting table with the third one and so on?

 

Thanks

2 ACCEPTED SOLUTIONS
Pragati11
Super User
Super User

Hi @Anonymous ,

 

Are you merging or appending?

Merging is always 2 tables, as you are joining them using either of the following join like INNER, OUTER, etc.

But, appending is done when you are appending rows from multiple files into ONE single file when the structure of all the files is same. Appending gives you option to append more than 2 files also.

But, merging doen;t allow that as it uses keys from 2 files to merge data.

 

If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

az38
Community Champion
Community Champion

Hi @Anonymous 

For merge multiple tables you should merge it step-by-step. If you are in Power QueriEditor mode do this action so many times as you need

For DAX try statement like 

NATURALLEFTOUTERJOIN ( <LeftTable>, NATURALLEFTOUTERJOIN ( <RightTable>, <TheVeryRightTable> ) )

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

2 REPLIES 2
az38
Community Champion
Community Champion

Hi @Anonymous 

For merge multiple tables you should merge it step-by-step. If you are in Power QueriEditor mode do this action so many times as you need

For DAX try statement like 

NATURALLEFTOUTERJOIN ( <LeftTable>, NATURALLEFTOUTERJOIN ( <RightTable>, <TheVeryRightTable> ) )

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Pragati11
Super User
Super User

Hi @Anonymous ,

 

Are you merging or appending?

Merging is always 2 tables, as you are joining them using either of the following join like INNER, OUTER, etc.

But, appending is done when you are appending rows from multiple files into ONE single file when the structure of all the files is same. Appending gives you option to append more than 2 files also.

But, merging doen;t allow that as it uses keys from 2 files to merge data.

 

If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors