Filter Power Query

madsb1999

New Member
Joined
Sep 15, 2022
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Hi,

I have a database in a SQL-server with 8 million rows and +50 columns. I want to be able to filter what data Excel imports, such that it does not load all 8 million rows. In particular I want to be able to filter in an Excel workbook by clicking the things I want to import. As an example I have tried to first select the columns I want to be able to filter by in a Power Query, taking only distinct rows then loading them into Excel, created slicers on this table, loaded it back into Power Query selecting only the rows left after choosing in the slicers and used this for input in a new Power Query that would be the one to import my main data but it is either a really slow approach and sometimes it do not work - it just says "Connecting to source". Any suggestions?

Thanks in advance!
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,224,755
Messages
6,180,766
Members
452,996
Latest member
nelsonsix66

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top