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 August 31st. Request your voucher.

Reply
jigneshpatel
Regular Visitor

Dataflow from saleforce object to warehouse with incremental refresh not working

Hi,

 

I want to bring data from salesforce object to data warehouse in fabric workspace. I am using datalfow gen2 for this. 

 

When I set "Incremental refresh" on source table I get following error.

 

A query with incremental refresh is not folding.
Please make sure the query is folding, then re-publish the dataflow.

There is no additional implementation, just source is set to salesforce object and destination is set to warehouse existing table with replace option selected.

 

Is there any solution to this? or we can not use incremental refresh for salesforce objects.

 

also to note, when we use powerbi desktop to load data from salesforce object connector the incremental refreshworks but it does not work in the fabric dataflow.

 

Jignesh

 

 

1 ACCEPTED SOLUTION
goldenarm253
Frequent Visitor

Hi,

 

To my knowledge incremental refresh for Salesforce in a Gen2 dataflow is not possible at this time in fabric.  It seems the incremental refresh is only possible with Power Bi desktop application.

View solution in original post

10 REPLIES 10
v-mdharahman
Community Support
Community Support

Hi @jigneshpatel,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

 

Thank you.

goldenarm253
Frequent Visitor

Hi,

 

To my knowledge incremental refresh for Salesforce in a Gen2 dataflow is not possible at this time in fabric.  It seems the incremental refresh is only possible with Power Bi desktop application.

v-mdharahman
Community Support
Community Support

Hi @jigneshpatel,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution so that other community members can find it easily.


Thank you.

v-mdharahman
Community Support
Community Support

Hi @jigneshpatel,

As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help?

If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.


If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.
Thank you for your patience and look forward to hearing from you.

v-mdharahman
Community Support
Community Support

Hi @jigneshpatel,
Thanks for reaching out to the Microsoft fabric community forum.

The issue you're facing is related to query folding, which is essential for incremental refresh in Dataflow. Salesforce objects are sometimes problematic when it comes to query folding due to how the Salesforce connector in Power Query often does not support query folding due to API limitations. If the query is not folding, the dataflow cannot use incremental refresh. To check the Query Folding Capability ensure that the query from Salesforce supports query folding. In Power Query, right-click on any step in the query editor and check if the "View Native Query" option is available. If it is not, query folding is not happening.

Here are some links which may be useful in understanding Query Folding :
https://learn.microsoft.com/en-us/power-query/query-folding-examples

https://learn.microsoft.com/en-us/power-bi/transform-model/dataflows/dataflows-understand-optimize-r...

https://learn.microsoft.com/en-us/fabric/data-factory/dataflow-gen2-incremental-refresh

 

If this post helps, then please consider Accept it as the solution and give a Kudos to help the other members find it more quickly. If you have any other queries you can reach out to community forum for assistance.

Thank you.

HI,

 

You mentioned that Salesforce connector in Power Query often does not support query folding due to API limitations

But, on PowerBI desktop when I do same it supports query folding and also it supports incremental refresh. But in fabric dataflow it does not.

 

jignesh

Hi @jigneshpatel,

 

You are right. Power BI Desktop and Fabric Dataflow handle query folding differently, even when using the same Salesforce connector. This difference comes from how Power BI Desktop interacts with the connector versus how Dataflow processes queries in the cloud. For example PowerBi Desktop uses the Power Query engine locally while Fabric Dataflow runs transformations in the cloud, where query folding behavior may differ.

 

If I misunderstand your needs or you still have problems on it, please feel free to let us know.  

Best Regards,
Hammad.
Community Support Team

 

If this post helps then please mark it as a solution, so that other members find it more quickly.

Thank you.

Apologies for my delayed response, and thank you for taking the time to reply.

I exclusively use the Fabric backend for all reports, as it provides improved governance for data management.

Thank you for your response.

 

Salesforce does not allow query folding. After 'View data source query,' all Salesforce objects in the navigation are greyed out, as shown below in the screenshot.  This behavior has been duplicated in Gen2, Excel, and Power BI

 

Gen2 dataflow

goldenarm253_0-1736164750687.png

 

PowerBI

goldenarm253_1-1736165563096.png

 

I am designing a data pipeline and testing refresh times with promising results.

 

goldenarm253
Frequent Visitor

Hi,

reference: Validating Findings on Optimizing Incremental Refresh with Microsoft Fabric 

 

Last week, I conducted tests and observed that Salesforce objects are incompatible with Gen2 incremental refresh in Microsoft Fabric. If query folding isn't enabled, scheduled refresh times can triple. The issue stems from Salesforce using SOQL rather than standard SQL. A better approach might be setting up a pipeline to handle SOQL efficiently.

 

 

I’m also attaching a link to my post. Nono Chen shared some best practice ideas in the discussion, which might provide additional insights.

I hope this helps!

Helpful resources

Announcements
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

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

July 2025 community update carousel

Fabric Community Update - July 2025

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