Forum

Power Query - Impor...
 
Notifications
Clear all

Power Query - Import only a certain amount of columns

4 Posts
3 Users
0 Reactions
785 Views
(@darkwing1711)
Posts: 31
Trusted Member
Topic starter
 

Hello!

If I have an excel file with, lets say 100 columns, but I only need the first 10 columns.  Is there a way for me to import, via power query, just the 10 columns?

Thanks in advance!

 
Posted : 07/08/2020 1:16 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Kenneth,

Yes, get the data with Power Query. In the Power Query editor window, select the 10 columns you want > right click: remove other columns. Close and Load.

Mynda

 
Posted : 07/08/2020 6:38 pm
(@gvg)
Posts: 1
New Member
 

Hi,

And how do I do the exact opposite - I have 10 columns in a file but want to load 100 columns? 

 
Posted : 26/04/2021 3:38 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Giedrius,

Welcome to our forum! 

I'm not sure how you plan to get 100 columns from a file containing 10 but I suspect using Power Query would be the wrong way to go about it. You probably should use a PivotTable.

If you still have further questions, please start a new thread and upload a sample file of your data so we can see what you mean.

Mynda

 
Posted : 26/04/2021 6:54 pm
Share: