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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
mep
Frequent Visitor

directquery for Redshift throws error after directquery for opensearch is set

Setting a directquery to my Redshift cluster works perfectly until I set a query to my opensearch instance on the same powerbi dashboard, then the directquery to Redshift cluster stops working and throws the following error:

 

Error Message:
DirectQuery error: DirectQuery may not be used with this data source - please consider moving to a supported data source or upgrading the SQL Server data source to the latest available version.
 
The strange part is that both connections seem to be working in the PowerQuery editor, however, in the Report page, visualizations connected to opensearch DQ work fine but visualizations connected to redshift DQ stops workin and throws above error message once opensearch is setup.
 
Anyone have any idea why could this be?
1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @mep ,

 

One possible solution is that you may check if you have mixed datasource options, which is not allowed in DirectQuery. This error is caused by the Mashup static analysis identifying 2 data sources for a DirectQuery query, which is not allowed. Usually this is due to the DQ query referring to another query that utilizes different connection options.

                                                                                                                                                         

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

View solution in original post

1 REPLY 1
v-stephen-msft
Community Support
Community Support

Hi @mep ,

 

One possible solution is that you may check if you have mixed datasource options, which is not allowed in DirectQuery. This error is caused by the Mashup static analysis identifying 2 data sources for a DirectQuery query, which is not allowed. Usually this is due to the DQ query referring to another query that utilizes different connection options.

                                                                                                                                                         

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors