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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors