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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Anonymous
Not applicable

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
Anonymous
Not applicable

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.