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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.