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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Foram
Frequent Visitor

Unable to read one csv file.

I'm importing 2 csv files, but i can only read one at a time. While the other file shows blank records for all the columns.

Both the files have equal number of columns and the name of the columns are also same.

 

 

Can somebody help me out in this.

I'm stuck with this since a long time now.

 

Thanks in advance

1 ACCEPTED SOLUTION
jshutters
Resolver I
Resolver I

If I understand your situation, you have 2 similar csv files; one imports into Power BI but the second one doesn't load the data. My initial hunch is there might be corrupt data within the 2nd csv file. Does the 2nd file at least load the column headers? Do you get any error messages?

 

As a test, you might try deleting all rows in that 2nd csv file, except leave one row of data. Then try importing the file. If that works/loads, then try loading more rows of data. If it doesn't work, then try re-creating that 2nd file, or make a copy of the 1st file and replace its data and then try to re-import.

View solution in original post

4 REPLIES 4
jshutters
Resolver I
Resolver I

If I understand your situation, you have 2 similar csv files; one imports into Power BI but the second one doesn't load the data. My initial hunch is there might be corrupt data within the 2nd csv file. Does the 2nd file at least load the column headers? Do you get any error messages?

 

As a test, you might try deleting all rows in that 2nd csv file, except leave one row of data. Then try importing the file. If that works/loads, then try loading more rows of data. If it doesn't work, then try re-creating that 2nd file, or make a copy of the 1st file and replace its data and then try to re-import.

This worked.

The problem was with my data actually, there were many blank rows so power bi was displaying blank records first.

So this is where i thought it ain't loading the second file but it was loading but showing all the blank records first.

 

Thank you for helping.

Hi,

I appreciate your response but i tried in the similar manner you asked for but still it didn't work.

Yes, i can see column headers but not the content within it.

Datatype is also  same for both the files.

 

 

May i know how to attach sample file here? So that i can upload and you can also test it.

Icey
Community Support
Community Support

Hi @Foram ,

You can share your sample files with hyperlink.

 

jpg.PNG

 

Best Regards,
Icey

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.