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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
November Fabric Update Carousel

Fabric Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors