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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
ranz_vincent
Helper I
Helper I

Missing Values when uploading whole folder of csv files

Has anyone encountered null values when uploading data in pbi. I've noticed missing values when building my report and found out that I am having errors due to null values, and when i check the source file it was complete no blanks or errors, after that I tried uploading one single csv file that has null values and it was complete. Does anyone have a solution for this? 

https://drive.google.com/drive/folders/1k7KeQTkI-ZScgcr2m8_uZgL9E36D4Km-?usp=sharing 

6 REPLIES 6
ranz_vincent
Helper I
Helper I

I've may have found the problem some headers are different making thus making some values null any work around this because I have multiple files and it would take time for me to manually cleanse those files.

But how different are they? Power BI uses the headers to group the data vertically.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Some headers have extra spaces like dc_code and store_code and some and some are entered as date_departure but it shoul be date_dispatch

ranz_vincent_1-1733383544886.png

 

 

The automatic combine and transform feature can't help you with that. It's for the basic of combining files. The trailing and preceding spaces can easily be removed with custom M but for departure and dispatch date, what if there are files with both columns?





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
danextian
Super User
Super User

Hi @ranz_vincent 

 

I am assuming you used the automatic combine and transform feature. This feagture uses to QuoteStyle.None which may be the reason why you're missing some values. Use  QuoteStyle.Csv instead

More  on that: https://learn.microsoft.com/en-us/powerquery-m/quotestyle-type 

 

danextian_0-1733382572199.png

Otherwise, please identify which records have missing values.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

I found out that some of headers have extra spaces or different from the usual headers do you think that causes the problem. Do you know any workaround cause I'm not really good at this.

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.