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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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