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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
sahdevISW
Regular Visitor

Power BI DirectQuery Error with Simba ODBC – Anyone Seen This or Got It Working?

I'm trying to use DirectQuery mode in Power BI with the Custom ODBC driver to query a Presto backend.

sahdevISW_1-1744880766467.png

 

  • The native SQL query (SELECT * FROM tiny.customer) runs fine.

  • Power BI loads the preview successfully in DirectQuery mode.

  • But on clicking Load, it fails with this error:

    sahdevISW_0-1744880722862.png

     

"DirectQuery error: DirectQuery may not be used with this data source – please consider moving to a supported data source..."

In Import mode, everything works perfectly — schema loads, data appears in visuals, and ODBC logs show no issue.
Even In DirectQuery mode without catalog and query, everything works perfectly.

Any help would be appreciated.

1 ACCEPTED SOLUTION
v-achippa
Community Support
Community Support

Hi @sahdevISW,

 

Thank you for reaching out to Microsoft Fabric Community.

 

Power bi does not support DirectQuery with native sql queries over the ODBC connectors. In this case, the data source like Presto via Simba ODBC does not provide all the DirectQuery push down features expected by power bi.

 

Even though the preview may work, the final model load fails to load due to power bi’s validation of source capabilities. This is a known limitation for unsupported DirectQuery scenarios.

Since the Presto ODBC connection works in import mode and the query runs fine, please use import mode for now.

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

 

Thanks and regards,

Anjan Kumar Chippa

View solution in original post

2 REPLIES 2
sahdevISW
Regular Visitor

Hi @v-achippa 

I would like to provide more details regarding a scenario we're working on using a Simba-based Custom BI Connector for Presto with Power BI in DirectQuery mode, DirectQuery supports Custom BI Connector.

sahdevISW_1-1744976297794.png

Setup Details

  • ODBC Driver: Simba Presto ODBC driver

  • Custom BI Connector: compiled as a .mez file (Simba_presto.mez)

  • Data Source: Presto 

Once we give details and clicking OK

sahdevISW_2-1744976659282.png

 

What We See

  • The table preview loads successfully – we can see data in a tabular format 

  • Network traffic captured in Fiddler shows that requests and responses are successful, with JSON responses containing valid data

  • But on clicking Load, we get this error:

  • sahdevISW_3-1744976726953.png

Any Suggestion like how I can resolve this actual issue.

 

 

 

v-achippa
Community Support
Community Support

Hi @sahdevISW,

 

Thank you for reaching out to Microsoft Fabric Community.

 

Power bi does not support DirectQuery with native sql queries over the ODBC connectors. In this case, the data source like Presto via Simba ODBC does not provide all the DirectQuery push down features expected by power bi.

 

Even though the preview may work, the final model load fails to load due to power bi’s validation of source capabilities. This is a known limitation for unsupported DirectQuery scenarios.

Since the Presto ODBC connection works in import mode and the query runs fine, please use import mode for now.

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

 

Thanks and regards,

Anjan Kumar Chippa

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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