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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Power Query reads All excel file rows

Hi everyone,

 

I'm struggling with how to handle importing an excel file which now has 3715 rows but when I import it using "from file" or "from folder", loads all 1'048.576 rows. Any step ahead, loads every 1'048.576 rows and working with it has been impossible.

 

Is not possible to format the data as table because this file comes every day and we want to avoid any manual transform. The idea to use Power Query is to automate this process. Take into account that every file has more data which means has more rows, but never will have a million. On worst case 10k by end of the year and then on january 2023 will be restarted.

 

Any clue how to just import the rows where it is located the data?

 

I already tried to remove empty rows, but on further steps still loads the million rows.

 

Thanks in advance

1 REPLY 1
artemus
Microsoft Employee
Microsoft Employee

You can use add a step with something like:

Table.FirstN(Source, [A] <> "")

 

where [A] would be a column, and "" would be what the blank rows are (could be null instead).

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.