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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.