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

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.

Reply
Anonymous
Not applicable

Direct Query Mode: mergeing queries as new query

Hello!

My .pbix file uses one datasource (Oracle Database) in Direct Query mode.

I am now trying to merge two Queries as a new one (Query Editor). The merge works as expected however when saving the changes and closing the Query Editor I get an error message stating that I can not combine direct query sources and importet sources:

 pbierror.png

Is this expected behaviour? Anything I could do about this?

Thanks!

chris 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I may have found a workaround by duplicating one of the queries first and then merging with the second query. This should (in my opinion) lead to the same result as the option "merge as new query".

 

Still feedback from anyone who knows more about this would be very much appreciated as this error message makes me wonder...

View solution in original post

6 REPLIES 6
PowerQPro
Frequent Visitor

Wow this works for me as well.

mguerratorres
Regular Visitor

Any chance you can do the merge in the background instead?  Like a materialized view since you're in Oracle?

 

This would be advantageous, as you'll be able to change the code in your view as many times as you want, and it will be essentially "seamless" to your report.

Anonymous
Not applicable

No, unfortunatly I have no way to do this in the database. Thats why it would be convenient to do this in Power BI!

Gotcha.  Well if it helps at all, I am constantly getting errors stating I can't combine features from DirectQuery and DirectImport types.  I think it's a known limitation.

Anonymous
Not applicable

The thing is: both queries I am using are Direct Queries from the same data source. And merging them into one of them works fine. Just merging them as a new query results in this error. And as I am not importing anything I can make much sense of this error message.

So if anybody has more information on this behaviour it would be highly appreciated!

Thanks!

chris

Anonymous
Not applicable

I may have found a workaround by duplicating one of the queries first and then merging with the second query. This should (in my opinion) lead to the same result as the option "merge as new query".

 

Still feedback from anyone who knows more about this would be very much appreciated as this error message makes me wonder...

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

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.