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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
useruserhi91
Regular Visitor

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

JanFabricDE_carousel

Fabric Monthly Update - January 2025

Explore the power of Python Notebooks in Fabric!

JanFabricDW_carousel

Fabric Monthly Update - January 2025

Unlock the latest Fabric Data Warehouse upgrades!

JanFabricDF_carousel

Fabric Monthly Update - January 2025

Take your data replication to the next level with Fabric's latest updates!