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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Loay_Haggag
Regular Visitor

Modifying source table structure

Hi All,

 

While loading Data from Excel, i need to remove some columns & rows as a kind of cleaning or formating.

 

Is there a way to perform this automatically with Power BI instead of using another tool (ex. VBA Macro)?

 

Thanks,

Loay Haggag

1 REPLY 1
Anonymous
Not applicable

Hey @Loay_Haggag 

 

Any of the steps done in the query editor in desktop will be done automaticalll with each refresh.

 

You can remove columns and rows in the query editor. Rows are a little more complicated unless you are simply trying to remove duplicates or filter out certain values in certain column. Any filtering done in query editor will be applied to the data that can be used in report creation.

 

Check out this link for more info: https://docs.microsoft.com/en-us/power-bi/desktop-query-overview

 

If this helps please kudo.

If this solves your problem please accpet it as a solution.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.