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
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
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.