Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I've got a dataflow that's pulling data from Snowflake and I've got reports connecting to that dataflow via DirectQuery.
It's been running smoothly before, but yesterday I decided to change the dataflow to incremental refresh since it's been taking hours to refresh. Used this setup:
I ran the refresh after changing it to incremental and tested--everything worked fine. But today, after the incremental refresh happened, I'm getting the error on the visuals saying "We couldn't fold the expression to the data source. Please try a simpler expression.." and on Power Query it's saying "This step results in a query not supported in DirectQuery mode".
I'm sure that this is because of the Incremental Refresh since after disabling incremental refresh, and refreshing the dataflow it's working again. But, I want to understand why incremental refresh did that. Did I set it up incorrectly?
P.S. Not sure if it's relevant but, not all the tables that I'd set to incrementally refresh had the error, I notice that on the refresh history the tables getting the error had 2 refresh partitions (IncrementalRefreshPolicyPartition-2022Q10327 and IncrementalRefreshPolicyPartition-2022Q10328).
Hi, @thedaxlearning
Please refer to Incremental refresh and real-time data for datasets.
Because support for query folding is different for different types of data sources, verification should be performed to ensure the filter logic is included in the queries being executed against the data source. In most cases, Power BI Desktop attempts to perform this verification for you when defining the incremental refresh policy. For SQL based data sources such as SQL Database, Azure Synapse, Oracle, and Teradata, this verification is reliable. However, other data sources may be unable to verify without tracing the queries. If Power BI Desktop is unable to confirm, a warning is shown in the Incremental refresh policy configuration dialog.
Best Regards,
Community Support Team _ Eason
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.