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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.