Forum Discussion
Can you turn off querying hive in Excel Power Query anytime you make a change?
- Mar 18, 2021
If you query the server for few millions of records and on next step filtered them down to few hundreds, Power Query in background combine these steps and returns from the server only few hundreds. That's query folding. If it doesn't work or if you break it with another step, filtering will be done on the client site and that could take years to perform.
Hi - JKPieterse in our case we are also using the data in Tableau and will not be able to limit the number of records in the database. I am actually very surprised that the application would send requests to the database for any movement like moving a column to another location.
- JKPieterseMar 18, 2021Silver ContributorAs far as I know PowerQuery only does that during development of the query, I *think* it is trying to optimize the query along the way. But I'm no PQ expert by any means 🙂
- awateletMar 18, 2021Copper ContributorThank you for taking time to respond and confirming what Sergei posted as well above!
- SergeiBaklanMar 18, 2021Diamond Contributor
If you query the server for few millions of records and on next step filtered them down to few hundreds, Power Query in background combine these steps and returns from the server only few hundreds. That's query folding. If it doesn't work or if you break it with another step, filtering will be done on the client site and that could take years to perform.
- awateletMar 18, 2021Copper ContributorThank you for your response above and will consider filtering first moving forward.