Skip to content

[reportFilters] Inconsistent negation behavior when selecting filter members #37

@SunitVserv

Description

@SunitVserv

Hi team,

I'm encountering an inconsistency in how reportFilters generates the negation key when selecting filter members.

Scenario:
I have a field called "Fruits" that I drag into reportFilters. It contains 5 labels.

  • When I select 3 out of 5 labels, the generated filter shows the excluded labels, and the filter includes "negation": true.

  • When I select only 2 labels, the filter shows the selected labels, and no negation key is included (default behavior).

This makes the filtering behavior inconsistent and harder to control programmatically.

Observed Behavior

  1. Selecting more than half of available labels → negation: true
  2. Selecting less than or equal to half → negation key not present (treated as false)

Expected / Requested Behavior
I want to force negation to always be false, regardless of how many members are selected.
Is there a configuration, API option, or recommended approach to ensure negation is never automatically set to true?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions