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
ludovicLaurent
Frequent Visitor

Directquery mode with simba obdc ( amazon athena)

Hi

   I want using amazon athena connection not with   amazon connector ( that generate  AmazonAthena.Databases instruction in powerquery)  but odbc connector  (that generate Odbc.DataSource  instruction in powerquery) 

    But i don't if it's possible to use the odbc connector with directquery   ?

    if it's possible , how activate directquery mode  ( the option is not display in the pop up where we define the connection) 


thanks for your help

2 REPLIES 2
Anonymous
Not applicable

Hi @ludovicLaurent ,

 

ODBC extensions can optionally enable DirectQuery mode, allowing Power BI to dynamically generate queries at runtime without precaching the user's data model.

I'd like to suggest you take a look at the following document to create a custom connector with 'direct query' enabled on odbc driver if helps:

Enabling DirectQuery for an ODBC-based Power Query connector - Power Query | Microsoft Learn

 

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.

 

Hi 
if i understand well , i have to create a pq file  in the folder corresponding to personnal connection in the gateway 


I have to change the example file :  https://github.com/microsoft/DataConnectors/tree/master/samples/ODBC/SqlODBC/SqlODBC.pq  ?
 has somebody do this ?  and how i have to name the file to associate it with the powerbi connection in the powerbi service

Thanks



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.