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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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