Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello,
I've used incremental refresh for my dataflow, but it takes almost as long as the full refresh.
He're below is the configuration and the timings:
for the full refresh (~15min):
for incremental refresh (~15min):
Do you know why ?
Thanks !
Solved! Go to Solution.
Can you define a view in the you SQL source that defines the query, including the CTEs, that you call in your data flow?
From your screenshots it looks like the Incremental refresh, at least in the way it is set up now, is not actually loading a portion of the data during incremental load.
As we see in your screenshots, in both full and incremental refreshes the 'Rows Processed' column shows pretty much the same number of rows.
This could be, as @Deku mentions, due to query folding not working. Or it could be that the date field to which you have set the incremental load is affecting a lot more rows that you initially expect.
How do I know if the query is folding ? here's what I see in the dataflow editor:
The red green colour strip indicates query folding
https://learn.microsoft.com/en-us/power-query/step-folding-indicators
You can see your second step breaks folding as it has a red indicator
thank you, I believe it's because i'm using a custom select. I searched online and the only thing I found to enable query folding with custom select is to add a step with Value.NativeQuery(...) and put the sql query inside
is there any other way to enable query folding apart from this workaround ? this workaround doesn't seem to allow the use of ctes.
not sure what you mean by custom select
this is what i meant:
Have you applied the folding flag on the native query like this?
Value.NativeQuery(Source, "SELECT DepartmentID, Name FROM HumanResources.Department WHERE GroupName = 'Research and Development' ", null, [EnableFolding = true])
yes, I did, that's the workaround I found online instead of putting my sql query in the advanced options. I was asking if there is any other way to enable query folding as i can't wrap a sql query containing CTEs in Value.NativeQuery(Source, ...).. it gives me an error
Can you define a view in the you SQL source that defines the query, including the CTEs, that you call in your data flow?
not a bad idea, i will do this then, thank you ! 🙂
Are you sure the query is folding?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.