Negation Filter: "Treat as Empty Text" Setting
Negation Filter: "Treat as Empty Text" Setting
Negation filters — Does not contain and Does not equal — now include a setting called "Treat as empty text" that controls how rows with blank dimension values are handled.
Why This Matters
When you apply a negation filter to a dimension, any row where that dimension has no value at all is also subject to the filter logic. Previously, those blank-value rows were always excluded, which could result in a widget table appearing unexpectedly empty or incomplete.
The new "Treat as empty text" setting gives you explicit control over this behavior on a per-filter basis.
How It Works
When "Treat as empty text" is enabled on a negation filter:
- Rows where the filtered dimension is blank (no value) are treated as if that field contains an empty string.
- Because an empty string is not equal to — and does not contain — your filter value, those blank-value rows pass the filter and remain visible in your widgets.
When the setting is disabled (the default for all existing filters):
- Blank-value rows continue to be excluded by the negation filter, preserving the prior behavior.
No existing reports are affected. All filters created before this update retain their original behavior. You must explicitly enable "Treat as empty text" on a filter to change how it handles blank values.
Where to Find This Setting
The "Treat as empty text" option appears whenever you create or edit a negation filter in the following locations:
| Location | Details |
|---|---|
| Filter Library (Setup → Library) | Available on the create and edit forms when Does not contain or Does not equal is selected as the filter method. |
| Advertiser Overrides (Account Settings → Library) | Available when editing a filter override and a negation operator is in use. |
| Bulk CSV Import | The column header is "Blank Value Handling". |
Note: This setting is specific to negation operators. It does not appear for other filter methods (e.g., Contains, Equals).
Step-by-Step: Enable "Treat as Empty Text" on a Filter
In the Filter Library
- Go to Setup → Library.
- Open an existing filter for editing, or click Create Global Filter.
- Set the Filter Method to Does not contain or Does not equal. The "Treat as empty text" toggle will appear.
- Enable "Treat as empty text".
- Click Save.
Via Advertiser Override (Account Level)
- Go to Accounts → select the desired account.
- Click Settings → Library.
- Click the edit (pencil) icon next to the relevant negation filter.
- Enable "Treat as empty text".
- Click Save.
Via Bulk CSV Import
- Include a "Blank Value Handling" column in your import CSV.
- For negation filters where you want blank-value rows retained, set the value to the appropriate option per the import template.
Frequently Asked Questions
Will my existing reports change?
No. All filters created before this update default to the previous behavior (blank-value rows excluded). Your reports will only change if you edit a specific filter and enable "Treat as empty text."
Does this apply to all filter operators?
No. The setting only appears for negation operators: Does not contain and Does not equal.
I applied a negation filter and my widget table looked empty — can this fix it?
Possibly. If the rows that disappeared had no value in the filtered dimension, enabling "Treat as empty text" on that filter should restore them to the widget output.
Related Articles
Updated 3 months ago