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
alxschaefer
New Member

Report won't display using DirectQuery

Hi all,

 

I am using a custom connector that queries my database via DirectQuery (database is InterSystems IRIS).  Everything works fine in Desktop mode but once I publish the report I am getting the below error trying to access it.  I do have the on-premise gateway installed.

 

Any ideas?

 

Thanks,

-- Alex

 

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.

Please try again later or contact support. If you contact support, please provide these details.Hide details
2 REPLIES 2
alxschaefer
New Member

Hi there,

 

yes, the test connection of the gateway is successful.  My database isn't SQL Server so those cumulative fixes/updates don't apply in my case.

 

Thanks,

-- Alex

v-luwang-msft
Community Support
Community Support

Hi @alxschaefer ,

Have you configured gateway on the service,and test connection successful,pls check it.

vluwangmsft_2-1664849894982.png

 

 

vluwangmsft_0-1664849806992.png

vluwangmsft_1-1664849833328.png

And pls refer the below and check if it is helpful.

https://support.microsoft.com/en-us/topic/kb4093226-fix-directquery-may-not-be-used-with-this-data-s... 

Best Regards

Lucien

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.