Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
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
Hi all,
When importing data from SQL, i usually load in the data alongside a pre-written SQL statement with most transformation defined. From my understanding of QueryFolding, it does the exact same thing for you step by step with each transformation done on PowerQuery.
Is there any difference in performance given that transformation is identical between both methods? Wouldn’t having a pre-written SQL statement be more efficient on the SQL side and prevent potential table locking?
Also, can i enable Queryfolding after hand when I import the data with an SQL script?
Solved! Go to Solution.
@Bokchoy
Pre-written SQL statement with NO power query transformations is the most efficient.
If you use it then you can't add power query steps or you will lose folding.
If you use the GUI of Power Query then you can also achieve Query folding but that's depend on the transformations you do.
You can check to see if the query is folded by right clicking the last step and view the native query if available. Best thing is to check with SQL profiler what is the queries being sent to the data source to verify if there was a query folding or not.
@Bokchoy
Pre-written SQL statement with NO power query transformations is the most efficient.
If you use it then you can't add power query steps or you will lose folding.
If you use the GUI of Power Query then you can also achieve Query folding but that's depend on the transformations you do.
You can check to see if the query is folded by right clicking the last step and view the native query if available. Best thing is to check with SQL profiler what is the queries being sent to the data source to verify if there was a query folding or not.
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.
| User | Count |
|---|---|
| 53 | |
| 45 | |
| 44 | |
| 20 | |
| 19 |
| User | Count |
|---|---|
| 73 | |
| 71 | |
| 34 | |
| 33 | |
| 31 |