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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
salim007
New Member

Power query adds empty row.

Hi, when i am trying to convert file from csv format to xlsx format power query are adding one more row to the table.

Why its happening before i dont have this kind of problem.

 

salim007_0-1692784553732.png

 

2 REPLIES 2
v-yanjiang-msft
Community Support
Community Support

Hi @salim007 ,

Here are some possible reasons:

One possible cause is that your CSV file has a blank line at the end, which Power Query interprets as an extra row. To fix this, you can either delete the blank line from the CSV file before importing it, or filter out the blank row in Power Query after importing it.
Another possible cause is that your CSV file has a different delimiter than the default one set in your Windows Regional settings. For example, if your CSV file uses semicolon as the delimiter, but your Windows settings use comma, then Power Query may not split the data correctly. To fix this, you can either change the delimiter in the CSV file or specify the delimiter when importing the CSV file to Power Query.
A third possible cause is that your CSV file does not have headers in the first row, but Power Query assumes that it does. This may result in an extra row with incorrect column names. To fix this, you can either add headers to the CSV file or disable the option to use the first row as headers in Power Query.

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

ToddChitt
Super User
Super User

In [Column1] you have data. That is a valid row. If you don't want it, filter out NULLs using a filter on [Column2]




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.

Top Solution Authors