Matt Allington
MrExcel MVP
- Joined
- Dec 18, 2014
- Messages
- 1,624
I am trying to bring in data from SQL Server into Power Pivot (Excel 2013) using Power Query. I want to use Query folding to make the process more efficient. I understand this should be automatic, however the behaviour suggests it is not working.
I have a list of (say 10) product codes that I want to bring sales into Power Pivot. I have loaded a table containing 10 product codes (create connection only) in Power Query.
I then create a new connection to SQL server. I did not write any SQL, but instead browsed to the table from within Power Query Edit. I then created an inner join between this SQL table and the 10 product codes mentioned above. I would expect a query to be pushed to SQL and the small table returned. But instead I see the Power Query status bar cranking through 20 million + rows.
Am I doing something wrong? If I write this query natively, it refeshes in 20 seconds.
I have a list of (say 10) product codes that I want to bring sales into Power Pivot. I have loaded a table containing 10 product codes (create connection only) in Power Query.
I then create a new connection to SQL server. I did not write any SQL, but instead browsed to the table from within Power Query Edit. I then created an inner join between this SQL table and the 10 product codes mentioned above. I would expect a query to be pushed to SQL and the small table returned. But instead I see the Power Query status bar cranking through 20 million + rows.
Am I doing something wrong? If I write this query natively, it refeshes in 20 seconds.