Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi guys,
I am looking for a way to dynamically keep a range of rows in power query.
I have multiple standard worksheet files that are combined in one query. But the data starts at a different row per file. I already have combined the files and i am now working in "Transform sample File". I would like every file to start with 3 zeros and then start with the data in row 316 (see image) and then end with 3 zeros.
Can anyone help me with this?
Add index column since you already know the starting row of dataset.
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
For this example i do know indeed but for the other 200 files i do not know the starting row of the data and it would be nice if that coould be automatically solved...
Please see this video for one way to do this.
Remove Top Rows and Combine Data from Multiple Excel Files - YouTube
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Unfortunately did not work for me. Thank you anyway! any alternatives?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.