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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
AdamDel
Frequent Visitor

Delete Rows

Hi,

 

I have a large data set with many thousands of rows but I only need about 30 of them. I have removed and filtered out the rows that I don't need in the Power Query Editor but they still "exist", as in any further changes I make to the table takes a long time to process. 

 

I may be misunderstanding how the queries work but what is the best way to reduce my data set to only include the rows I need? Or is it that all previous steps are being rerun when I make further changes?

 

Thanks

2 REPLIES 2
LivioLanzo
Solution Sage
Solution Sage

Hi @AdamDel ,

 

what is the source of your data?  If it is a database you can make use of query folding which can drastically speed this up

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

Hi @LivioLanzo ,

 

Thanks for your reply. The data is actually made up of several Excel files uploaded to SharePoint that are updated regularly, and occasionally new files are added (the layout of these files is a bit of a nightmare). 

 

Maybe I am going about this in the wrong way. For a bit of background, the Excel files contain two header rows, row one is a constant in all files, row two contains custom names that can be anything and then the data. What I am trying to build up is a mapping table of these custom names, for example:

 

Example Excel File 1

 

NameCustom Milestone 1Custom Milestone 2Custom Milestone 3Custom Milestone 4Custom Milestone 5Custom Milestone 6Custom Milestone 7
Person AA MilestoneB MilestoneC MilestoneD MilestoneE MilestoneF MilestoneG Milestone
Person A*data**data**data**data**data**data**data*
Person A*data**data**data**data**data**data**data*
Person A*data**data**data**data**data**data**data*
Person A*data**data**data**data**data**data**data*
Person A*data**data**data**data**data**data**data*
Person A*data**data**data**data**data**data**data*

 

Example Excel File 2

 

NameCustom Milestone 1Custom Milestone 2Custom Milestone 3Custom Milestone 4Custom Milestone 5Custom Milestone 6Custom Milestone 7
Person BZ MilestoneY MilestoneX MilestoneW MilestoneV MilestoneU MilestoneT Milestone
Person B*data**data**data**data**data**data**data*
Person B*data**data**data**data**data**data**data*
Person B*data**data**data**data**data**data**data*
Person B*data**data**data**data**data**data**data*
Person B*data**data**data**data**data**data**data*
Person B*data**data**data**data**data**data**data*

 

Target Output

 

NameCustom Milestone 1Custom Milestone 2Custom Milestone 3Custom Milestone 4Custom Milestone 5Custom Milestone 6Custom Milestone 7
Person AA MilestoneB MilestoneC MilestoneD MilestoneE MilestoneF MilestoneG Milestone
Person BZ MilestoneY MilestoneX MilestoneW MilestoneV MilestoneU MilestoneT Milestone

 

At the moment I am basically combining the files and stripping out the unwanted data, any suggestions?

 

Thanks

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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