Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter in Preview window not properly filtering for empty values #524

Closed
edhans opened this issue Apr 28, 2022 · 2 comments
Closed

Filter in Preview window not properly filtering for empty values #524

edhans opened this issue Apr 28, 2022 · 2 comments
Labels
issue: bug Confirmed as a bug in TE3
Milestone

Comments

@edhans
Copy link

edhans commented Apr 28, 2022

As you can see in this image, the Title field clearly has some blanks, and the dropdown filter shows it.

image

Selecting Blanks though returns no rows:

image

Which is correct, as this returns no records:
EVALUATE FILTER( 'Customers', ISBLANK('Customers'[Title]) )

But this does return records:
EVALUATE FILTER( 'Customers', 'Customers'[Title] = "" )

So the filter dropdown in the first image is missing the "empty" value, and I see no way to filter for empty. Doing Contains "" in the text filter returns nothing.

Is the only solution to write a DAX query manually?

@otykier
Copy link
Collaborator

otykier commented Apr 28, 2022

Hi @edhans. Yes, I'm afraid this is a limitation currently on string-type columns, as the filter component we use apparently does not distinguish between blank and "". We'll see if we can address this in a future release - for now, a manual DAX query would be required.

@otykier otykier added the issue: bug Confirmed as a bug in TE3 label Apr 28, 2022
@otykier otykier added this to the 3.3.0 milestone Jun 1, 2022
@otykier
Copy link
Collaborator

otykier commented Jun 16, 2022

3.3.0 now includes both blank and empty strings when filtering "(Blanks)". Use the advanced filtering options under "Text options" if you need more granular control.

@otykier otykier closed this as completed Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Confirmed as a bug in TE3
Development

No branches or pull requests

2 participants