Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Syndicate_Admin
Administrator
Administrator

Select multiple columns quickly

Dear, how are you?

Along with saying hello, I would like to ask this express question that would help me a lot when doing Column Override in Power Query.

The issue is: all the dates I have in column format, I want to convert them into rows applying the previous function, but first, these columns I have to select.

There is a quick way to select these columns (in my base there are 120 that correspond to 120 months in 10 years) instead of having to select column by column by left clicking on each header with the risk that the pointer goes off the side, and I have to repeat the process of doing again 120 clicks to select 120 columns.

Attached screenshot to illustrate example:

MatiasBI1986_0-1686624689791.png

In advance, thank you very much!

Best regards

5 REPLIES 5
Syndicate_Admin
Administrator
Administrator

That option is good, the problem is that to apply a pivot, I have to select several columns (about 32) ... In reality, the base is gigantic.

In any case, the proposal is good because it is preferable to select 32 columns instead of 120.

Hi @Syndicate_Admin 

 

I understand your pain and we should really think to automate as much as possible.

 

I can try to help you out with the example, but I think there are several online links availble. If it does not help, then I will provide a sample.

 

https://goodly.co.in/dynamic-column-selection-power-query/

 

https://www.google.com/search?q=dynamically+remove+columns+power+query+goodly&rlz=1C1CHBD_enIN926IN9...

 

https://goodly.co.in/dynamic-unpivoting-power-query/

 

Hope it helps.

 

mahenkj2
Solution Sage
Solution Sage

Hi @Syndicate_Admin 

 

Can below option help you avoiding selecting 120 column, and select remaining few columns other than those!

 

Hope it helps.

Sorry @Syndicate_Admin, Image is attached below:

 

mahenkj2_0-1686630568406.png

 

amitchandak
Super User
Super User

@Syndicate_Admin , Based on what I can see in the sample. You first need to unpivot the column. Then split it into multiple columns and then change the type

Unpivot Data(Power Query): https://youtu.be/2HjkBtxSM0g

Power Query Split Column , Split Column By Delimiter: https://youtu.be/FyO9Vmhcfag

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.