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

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

Reply
MWN1990
Regular Visitor

Problem with filtering in the query editor

Hello everyone,

 

I am a novice in Power BI and have been trying to use the Query Editor in Power BI to load a certain line from multiple files with the same format in a folder (containing multiple subfolders).

 

I use the 'folder' as a source and then filter so that I only have the xlsx files. Then I filter on a certain part of the path so that only the reports that I need remain. I use custom functions to load the content of the files, and filter on the sheets that I need from each file. After all these steps I end up with these columns:

 

File name / Column3 / Column10

 

Column 3 displays names of portfolios and column 10 displays the AUM. Now I need to filter on value 'Total' in column 3, so that I get the total of all portfolios. However, when I do this, it filters out a lot of files that do contain the 'total' value. When I first filter on the filenames, and then on 'total', I do get the total lines of a lot of these files that were missing earlier. Does anybody know what might cause this?

 

 

 

1 REPLY 1
Anonymous
Not applicable

@MWN1990,

Would you mind sharing me the folder with dummy data and PBIX file so that I can test? You can share the files via Private Message.

Regards,
Lydia

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!

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.