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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
HadasSpier
Helper I
Helper I

Get data- Folder contains CSV files

Hi everyone,

 

The folder contains CSV files with more or less similar columns but in a different order.
For example:
CSV1 contains columns: A, B, C, D
CSV2 contains columns: A, D, C, B
CSV3 contains columns: C, B, A
CSV4 contains columns: D, C, B, A
Does anyone have an idea of how I can best load my data?

 

Thank you!

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @HadasSpier 

There is no restriction on how large a pbix file can be locally. However, when you publish a pbix file over 1GB to Power BI Service, you will get a file size limit message. 

 

I cannot reproduce the problem you encountered. Everything is working well on my side, and there will be no case of putting column A into column B. It is recommended to recheck the column names of your related tables.

If you still have this issue for Power BI, you'd better create a support ticket in Power BI Support to get further help.

 

Best Regards,
Community Support Team _ Eason

View solution in original post

8 REPLIES 8
v-easonf-msft
Community Support
Community Support

Hi, @HadasSpier 

There is no restriction on how large a pbix file can be locally. However, when you publish a pbix file over 1GB to Power BI Service, you will get a file size limit message. 

 

I cannot reproduce the problem you encountered. Everything is working well on my side, and there will be no case of putting column A into column B. It is recommended to recheck the column names of your related tables.

If you still have this issue for Power BI, you'd better create a support ticket in Power BI Support to get further help.

 

Best Regards,
Community Support Team _ Eason

Thank you!!!!

StefanoGrimaldi
Resident Rockstar
Resident Rockstar

Currently Power BI desktops files have a limit for 1GB of space, those 150k x 83 its around 12gb but Power BI greatly compress the info of the file, check the end size how much its within the file. 





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




Good to know! 

how can I check it?

collinq
Super User
Super User

HI @HadasSpier ,

 

If the header name is the same and the data type is the same, then when you use Folder and "Combine and Transform Data" then it will put them together.  I tested this and I ended up with four columns, with the CSV3, as expected, having nulls for column D for those rows.

If you are NOT wanting the columns combined then you might be best of bringing them in and selecting transform data only and doing it manually.

Or, of course, if you want the most control, don't use folder at all and bring them in one at a time and append/merge as needed.

I would appreciate Kudos if my response was helpful. I would also appreciate it if you would Mark this As a Solution if it solved the problem. Thanks!




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




Hi!

If the header name is the same and the data type is the same, but when I use Folder and "Combine and Transform Data" I have errors and it didn't put them together (for some of the CSVs)
I think maybe it is not working because my data is too heavy?

 

Thank you!!

you should post the error over here with image for better asistence, this way we can look over the error. in the best cast scenario post a dummy data pbi with the error and dummy data files. 





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




Hi,

The error is due to the fact that it switched between the fields.
I.e. put column A in B and so on. I'm wondering if this is because I have a lot of CSV files in the folder I loaded (83) each of them is 150,000KB.

Thank you!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors