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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
GermanAravena
New Member

Odata - Enabling Native query - Native queries aren't supported by this value. Details: [Table]

Hello,

 

Trying to Enable Native queries but getting the following error

Native queries aren't supported by this value.
Details: [Table]

The video below makes it look simple but not sure what I'm doing wrong

https://www.youtube.com/watch?v=8hjdOCni_ZY 

 

I'll use the northwinds dataset as an example of how i'm getting the error:

GermanAravena_0-1644364288803.pngGermanAravena_1-1644364298349.png

 

4 REPLIES 4
Daryl-Lynch-Bzy
Resident Rockstar
Resident Rockstar

@GermanAravena  - are you trying to connect to an SQL server that is managed by your DBA?  If so, why are you using an OData connection to a public source like "services.odata.org".  Please note, the OData will not support query folding or the advance API connection that Miguel is describing.  In this scenario, you will be copying the entire table from the northwind database before applying the filter date.  If you are testing this example, I would suggest using a SQL database source, or set up a basic SharePoint example like Miguel's. 

Note Miguel's example is not technically query folding, it is just a lazy evaluation example.  The Range Start and End are turned into a filter to reduce the number of files retrieved from SharePoint files.  He is taking advantage of the SharePoint's API to create a url string with additional filter.  The first time he runs this issues 3 URL requests from SharePoint, when the incremental load is enabled, only one URL request is issued (a lazy evaluation).

@Daryl-Lynch-Bzy  The source of the data is SAP.

I will review your notes with a colleague of mine, but I'm finding as you said - You have to populate a SQL database to get this to work.

Daryl-Lynch-Bzy
Resident Rockstar
Resident Rockstar

Hi @GermanAravena , In the example that Patrick shows, there is a connection to SQL Server data source.  This data source supports Query Folding by default.  You connection is using a OData connection, so it is possible that the OData data source may not support Query Folding.  In this situation the "services.odata.org" northwind does not support query folding.  Please note the "Query Folding" relates to whether the Client (i.e. your Power BI Desktop) or the Server (i.e. the Odata datasource) is using the CPU to process the query.  If the data source is an SQL Database, the database CPU can be used to process the query then return the results.  In your situation, the OData feed is not hosted on a database.  It is technical just a Blob storage.  There means that you need to return all the data from the Datasource to your Local Client to process the query.  I hope this help you understand.

Hi Daryl,

 

Thanks for getting back to me, much appreciated!

Ultimately I am trying to enable the incremental refresh feature built into the powerbi service using an oData source.

I'm finding multiple posts and blogs that indicate it should be possible but that enabling native query is a requirement.

If I'm understanding correctly, this might be a setting/permission that my DBA needs to enable?

https://community.powerbi.com/t5/Community-Blog/Query-Folding-in-PowerBI/ba-p/1853138 

https://www.thepoweruser.com/2020/01/19/incremental-refresh-for-files-in-a-folder-or-sharepoint-powe... 

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors