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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

880 MB CSV File

Hey Hey,

 

I have a 880 MB CSV which holds +- 17.000.000 rows.

I want to make a selection but unfortunately i get " error, not enough memory".

Does anybody know how to work with large CSV files?
Do i need to make use of another program?

Thanks in advance,

Vianney

2 REPLIES 2
amitjzaveri
Resolver II
Resolver II

You can import a large CSV file via an ODBC driver. Here are the steps:

 

1) Assuming ODBC driver is installed in your PC make sure to add "Microsoft Access Text Driver" to User DSN

1.png

 

2) In Power BI

Get Data > Other > ODBC > Connect

 

3) DSN

Select CSVFile or whatever name you have given

 

4) Advanced Option - Connection String

dbq=d:\filepath\;extensions=asc,csv,tab,txt

 

5) Advanced Option - SQL Query

select * from filename.csv

2.png

 

Click OK

 

6) If asked for credentials 

Select "Default or Custom" and don't enter in any credential details unless necessary

 

Click Connect

 

Now data preview should come.

 

Click Load or Transform

 

Cheers!

 

Mark this as an answer in case this resolves the issue

Greg_Deckler
Community Champion
Community Champion

@Anonymous - Hard to troubleshoot something like that, how much memory do you have? Not sure what you mean by "trying to make a selection". I have worked with large CSV files in the 5-6 million row range. 

 

One thing to check, go to File | Options and settings | Options. In Data Load, uncheck Auto date/time for new files. Also uncheck this under Data Load for the CURRENT FILE. Save your PBIX and refresh.

Greg_Deckler_0-1599315054284.png

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.