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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors