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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
useruserhi91
Helper I
Helper I

How to fix Dataflow Gen2 error: "Failed to verify that a query with incremental refresh is folding"?

When connecting to BC365 custom/advanced API (salesInvoiceLines) through a Dataflow Gen2, I get the error "Failed to verify that a query with incremental refresh is folding" upon publishing.

 

How to fix? I have incremental load enabled on "lastmodifieddate" (datetime data type).

 

Here are my query steps (basically I first navigate to salesInvoices (the parent) after which I expand/unpivot data for salesInvoiceLines):

useruserhi91_0-1738852367606.png

Incremental refresh settings:

useruserhi91_1-1738852426829.png

 

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

I have incremental load enabled on "lastmodifieddate" (datetime data type).

Incremental Refresh is incompatible with data changes.  You need to choose a datetime column with immutable values like "createddate".

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

I have incremental load enabled on "lastmodifieddate" (datetime data type).

Incremental Refresh is incompatible with data changes.  You need to choose a datetime column with immutable values like "createddate".

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

May FBC25 Carousel

Fabric Monthly Update - May 2025

Check out the May 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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