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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Merge Query Breaking Appended Query

Hi,

I am having multiple occurances of roughly the same issue with queries that are using Business Central as a data source. Though I don't think the data source is the issue.

I have appended two queries with perfectly matching table structure. Query 1 has 238 rows and Query 2 has 221 rows. So I should get a new query with 459 rows. Instead I either get a query with 476 rows, which consists of Query 1 appended to itself. Or I get a query with 442 rows, which consists of Query 2 appended to itself.

This is strange by itself, but if I refresh the data I get the proper appended query with 459 rows. 

But if I take this new appended query and add try to add a merge to it, the merge will always try to be applied to 476 rows. And after the merge, no amount of refreshing will get me a query with 459 rows.

Has anyone else experienced this kind of thing before? What is going on?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

For those interested, the issue appears to be due to the fact that the default operation that a Merge does is a nested query.

View solution in original post

3 REPLIES 3
CloudMonkey
Post Prodigy
Post Prodigy

Please can you attach the pbix file or share by https://uploadfiles.io/ for example?

 

Thanks,

 

CM

Anonymous
Not applicable

The pbix contains very sensitive client information and cannot be shared.

Anonymous
Not applicable

For those interested, the issue appears to be due to the fact that the default operation that a Merge does is a nested query.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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
Top Kudoed Authors