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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Query Folding

Do xml files have the capability of query folding?
I'm using data source as xml and have traced every step in query editor to check whether it has "view native query" enabled or not and it was greyed out in all steps.

4 REPLIES 4
mahoneypat
Microsoft Employee
Microsoft Employee

While your source hosting your XML files may not allow folding, you can still benefit from incremental refresh. Do your XML files have the date in the name? or is there a created/modified date? If in the name, you can parse it out and create a DateTime column, and do incremental refresh on that.

How you can incrementally refresh any Power BI data source (This example is a CSV File) - FourMoo | ...

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Anonymous
Not applicable

is there any other similar way of doing incremental refresh which would npt be based on query folding other than scheduled refresh?

XML is essentially a flat file. It's not like connecting to an engine that will support folding or incremental refresh (it's just a file; there's no engine at all). If you want your data to be able to do these things, you'll need to store it somewhere that does have a query engine (like a database or a SharePoint list).

Vijay_A_Verma
Most Valuable Professional
Most Valuable Professional

No. 

"Most data sources that have the concept of a query language support query folding. These data sources can include relational databases, OData feeds (including SharePoint lists), Exchange, and Active Directory. However, data sources like flat files, blobs, and web typically do not."

https://docs.microsoft.com/en-us/power-query/power-query-folding

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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