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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
hxkresl
Helper V
Helper V

rowcount during CSV import truncated - using Power BI Desktop

using powershell i verified rowcount of source csv file : 1068606

 

 

after import (Get Data>csv)  I check row count using query editor>transform tab>count rows feature and get 946,677.  I double check this by creating a measure with function countrows(), and get 947K

 

how to capture all rows on import???

5 REPLIES 5
v-yuezhe-msft
Employee
Employee

Hi @hxkresl


Could you please save the CSV file into txt format or Excel format, then connect to it from Power BI Desktop and check the result?


Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Since the data is too large for  a single excel file and getdata/folder option has been problematic for me, I have uploaded them seperately.  Sum of rows imported between three files (198,103, 657,844, and 212,657) is 1,068,604.  

 

But this is not solution, as I need all data imported together.  Reason for csv file is that I was able to pipe these three files into one csv using command line.

 

I would like to be able to import either the csv file with all rows or figure out how getdata/folder works, but I must be able to import all rows at once (SQL query not option). Is there some limitation with csv?  

Hi @hxkresl,

According to my knowledge, there is no limitation for CSV file in Power BI Desktop. What is the problem when you use Get Data->File->Folder entry to import all excel files to Power BI Desktop? You can review the deatiled steps in this similar blog.

In addition, when you save the CSV file into Text format, and use Get Data->File->Text entry to import data, what is the result?

Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I am able to use GetData/Folder method for a collection of csv files and get correct rowcount.   This is good.

 

Seems I am only having trouble with GetData/Folder method for a collection of excel files and with importing a single csv file having 1,068,604 rows.  For the present task am satisfied, but am very much worried for the day the client requirement is to consume excel workbook files or large csv files.  

Can we look deeper at the issue of the combined excel files and large csv file import?

Hi @hxkresl,

What is the problem when you import multiple excel file to Power BI? Also would you mind sharing me the CSV file so that I can test?

Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors