Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi all,
I have a bit of experience with both sql and power query and I was wondering what uses less computing power and bandwidth: querying with SQL or power query.
For example if I was going to select dog type, dog cost and dog breed from a million row DB for the time range 2017 to now, is it roughly the same time and power to do this with power query and SQL? are there positives and negatives Im not aware of?
Thanks!
Solved! Go to Solution.
When connecting to SQL DB, Power Query tries to do Query Folding and tries to push maximum logics to data source, means the time take in Power Query and SQL will be the same in such cases. In your example, ideally Power Query should just trigger a SQL with a where clause for the time filter. You can see this by checking "View Native Query" option.
In case you do some transformations which PQ cannot convert to SQL, then it will take more time to process, since PQ has to bring in all the data and do the Transofrmation on its side.
When connecting to SQL DB, Power Query tries to do Query Folding and tries to push maximum logics to data source, means the time take in Power Query and SQL will be the same in such cases. In your example, ideally Power Query should just trigger a SQL with a where clause for the time filter. You can see this by checking "View Native Query" option.
In case you do some transformations which PQ cannot convert to SQL, then it will take more time to process, since PQ has to bring in all the data and do the Transofrmation on its side.
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 |
|---|---|
| 56 | |
| 40 | |
| 36 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 73 | |
| 73 | |
| 38 | |
| 35 | |
| 26 |