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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.