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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
dewitweb
Frequent Visitor

Visual filter in Power BI Desktop not working as expected

Hello,

 

I have a Power BI Report with a visual matrix. I present a column with values 'blank', '0' and '1'. These are numbers. I count the disctinct count of companies (rows) from my table.

 

Schermafbeelding1.png 

 

 

 

 

When i add a filter to this table I get unexpected results. The 1's are filtered as expected. The blank's are not.

Why are the blanks showing, when (as shown in the last picture) I did not select them?

 

 

Schermafbeelding2.jpg

 

 

Schermafbeelding3.jpg

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @dewitweb ,

Depending on the information you have provided, blank values can sometimes behave differently than other values such as '0' or '1' in Power BI. This may be due to the way Power BI interprets whitespace in the context of filters and calculations. You can follow these steps below:

1.Add an index column.

vyifanwmsft_0-1713922747255.png

vyifanwmsft_1-1713922776561.png

2.Put Index column in Filter.

Final output:

vyifanwmsft_3-1713922880490.png

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Ada Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @dewitweb ,

Depending on the information you have provided, blank values can sometimes behave differently than other values such as '0' or '1' in Power BI. This may be due to the way Power BI interprets whitespace in the context of filters and calculations. You can follow these steps below:

1.Add an index column.

vyifanwmsft_0-1713922747255.png

vyifanwmsft_1-1713922776561.png

2.Put Index column in Filter.

Final output:

vyifanwmsft_3-1713922880490.png

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Ada Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Accepted as solution, because it put me on a right track. I did manage to solve the problem by adding a custom conditional column instead of index. 

 

In the end I redid my datamodel and thus circumvented the filter context issue, the way I think is the best way. 

 

Thanks to @Anonymous 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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