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 September 15. Request your voucher.

Reply
ms166
Regular Visitor

Power BI Question

When uploading files to a Power BI report from a folder, is it possible to programme the automatic removal of certain colunms and rows or does this have to be done manually everytime?

2 ACCEPTED SOLUTIONS
SamWiseOwl
Super User
Super User

Hi @ms166 

When you connect to the folder and choose transform all the files are listed like so:

SamWiseOwl_0-1728998422745.png

You can choose which columns and files to include before click on the expand icon next to Content.

SamWiseOwl_1-1728998489016.png

 

Once expanded you can remove columns and filter rows in the combined table.

SamWiseOwl_2-1728998511787.png

 

These will be added as applied steps and will be reapplied to the combined query.

Any files that have been added since the last refresh will also be included.

 

Hope this helps!


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

Kedar_Pande
Super User
Super User

Yes, you can automate the removal of specific columns and rows when uploading files from a folder in Power BI by using Power Query.

  1. In Power Query, after loading the data, you can select the columns you want to keep.
    Right-click on the unwanted columns and choose Remove.
  2. Right-click on the rows/values you want to filter out and select Remove Rows or apply a conditional filter in the filter options for that column.
  3. Once you've set the transformations (removing columns/rows), click on Close & Load.

If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn

View solution in original post

2 REPLIES 2
Kedar_Pande
Super User
Super User

Yes, you can automate the removal of specific columns and rows when uploading files from a folder in Power BI by using Power Query.

  1. In Power Query, after loading the data, you can select the columns you want to keep.
    Right-click on the unwanted columns and choose Remove.
  2. Right-click on the rows/values you want to filter out and select Remove Rows or apply a conditional filter in the filter options for that column.
  3. Once you've set the transformations (removing columns/rows), click on Close & Load.

If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn

SamWiseOwl
Super User
Super User

Hi @ms166 

When you connect to the folder and choose transform all the files are listed like so:

SamWiseOwl_0-1728998422745.png

You can choose which columns and files to include before click on the expand icon next to Content.

SamWiseOwl_1-1728998489016.png

 

Once expanded you can remove columns and filter rows in the combined table.

SamWiseOwl_2-1728998511787.png

 

These will be added as applied steps and will be reapplied to the combined query.

Any files that have been added since the last refresh will also be included.

 

Hope this helps!


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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