Forum Discussion

hxkresl's avatar
hxkresl
Advocate III
9 years ago

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

  • Anonymous's avatar
    Anonymous
    Not applicable

    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

    • hxkresl's avatar
      hxkresl
      Advocate III

      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?  

      • Anonymous's avatar
        Anonymous
        Not applicable

        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