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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
gianlu2
Regular Visitor

Empty filter (not blank) to be excluded

Hello everyone,

 

I am not a PowerBI's expert and I am having the following issue. I have a list of records and I wants to compare the total number of records and the records that have a labels.   I would like to exclude the red value from the total sum. If I deselect it it is applied to everything. I would like to count exlude this category and the (Blank), how can I do it?

gianlu2_2-1669308627096.png

Thank you in advance

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @gianlu2,

It seem like your table has some records that existed 'whitespace' characters.
If you want to exclude them, you can setting a filter on this fields to filter 'whitespace' characters(advanced filter mode and exclude filter) or try to do replace value operation in query editor side to replace/remove these character and they will be merged with the "blank" options in the filter.

Replace values and errors - Power Query | Microsoft Learn

Types of filters in Power BI reports - Power BI | Microsoft Learn

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @gianlu2,

It seem like your table has some records that existed 'whitespace' characters.
If you want to exclude them, you can setting a filter on this fields to filter 'whitespace' characters(advanced filter mode and exclude filter) or try to do replace value operation in query editor side to replace/remove these character and they will be merged with the "blank" options in the filter.

Replace values and errors - Power Query | Microsoft Learn

Types of filters in Power BI reports - Power BI | Microsoft Learn

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.