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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Incorrect Sums using folder to get data

Good Morning,

 

I feel like I am on a roll for asking questions. It seems this one budget document is giving me all sorts of issues. So basically I have an issue where the sum of all expenses is very incorrect. If I upload the files individually rather than through the folder it displays the correct sum. I am attaching a bunch of photos that describe the situation.

 

I can provide more screenshots if you need clarification. The first photo is just a sample if i uploaded things individually. The next set of photos is my actual working project that uses a folder to pull files

First Example.JPGExample 2.JPGExample 3.JPGExample 4.JPGExample 5.JPG

15 REPLIES 15
Anonymous
Not applicable

@Anonymous,

When you load individual files, Power Query automatically performs data conversion. In you case when iterating all files in a folder, make sure you change each column's data type after combining all the files. Try this out first and if the issue still persists, let me know.

Anonymous
Not applicable

@Anonymous 

Do you mean within the sample file? Or after everything? Because I didnt really edit the sample file.

 

-Michael

Anonymous
Not applicable

@Anonymous,

After each query

Anonymous
Not applicable

@Anonymous ,

Yes, In this photo you can see that I did the conversions after. Only to the date and the Cost 

Example 6.JPG

Anonymous
Not applicable

@Anonymous,

What version of Power BI desktop are using? Please try to update to the latest version to see if it fixes your issue.

Anonymous
Not applicable

I am using the december release. I will try updating it and let you know. At my company sometimes it can take days to get permissions to install software onto the computer.

 

-Michael

Anonymous
Not applicable

@Anonymous,

I found a similar problem that has been resolved in this thread by checking "Ignore Privacy setting" in the Options, not sure if it helps you or not

Anonymous
Not applicable

@Anonymous ,

Thank you for finding that for me. unfortunately that did not fix the issue. Still getting very high numbers 12x as large as the actuals

 

-Michael

Anonymous
Not applicable

I am Still trying to resolve, if anyone has an idea let me know. I can provide more info

Anonymous
Not applicable

bump

Anonymous
Not applicable

Bump. I still cannot figure out this issue.

Anonymous
Not applicable

After further analyzing I noticed that Power Bi doesnt seem to be recognizing hidden rows from my folder. So it is essentially including rows that shouldnt be included. Thoughts on how to fix this?

 

Anonymous
Not applicable

@Anonymous,

Where do these hidden rows come frome?

Anonymous
Not applicable

@Anonymous 

 

Basically It's an expense report that gets reported monthly into a folder. The way they are reported "monthly" Is by updating the YTD expense report and hiding the rows for the previous months if that makes any sense. It appears that when these files are pulled into Power BI what I think is happening, is the rows that are hidden are shown and an incorrect sum results because I have a lot of repeat transactions when I shouldn't

 

-Michael 

Anonymous
Not applicable

Does the file name have any sort of context, like Month Name or Month Number?  If so, you could use that to filter out all the other data that does not fit in that month. 

 

That's just a high level guess though, is it possible to get two sample files? Or just some random actual data but correct on the file is named?  Just thinking out loud here....

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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