Skip to main content

How to Combine Filters Using "And / Or" Groups in WeezCrew

The unified filter panel is available across all WeezCrew lists (Members, Accreditations, Shifts, etc.) as well as Segments. It allows you to build advanced conditional queries—such as (A and B) or (C and D)—configure each rule directly inside its dedicated card, and reuse the same filter criterion multiple times within a single query.


Key Benefits of Filter Groups

  • Advanced Conditional Logic: Combine multiple groups of conditions using And / Or operators.

  • Direct In-Card Editing: No separate configuration modal or intermediate save buttons—every rule adjusts live inside its card.

  • Filter Reuse: Add the same field or criterion multiple times within a single group (for example, filtering across two distinct assignment statuses simultaneously).

  • Unified Interface: Replaces the legacy filter drawer across all modules.


1. Building Your Filter Groups

When you open the filter panel from any list or segment, criteria are organized into groups, each containing one or more filter cards:

  • Add a Filter: Click the add link inside a group to open a searchable dropdown menu. Filters are categorized, and the underlying custom field name displays subtly in gray on the right.

  • Add a Filter Group: Click to add a group and select an initial filter to generate it (groups cannot remain empty).

  • Delete a Filter or Group: Each individual filter card and group container includes its own trash icon. Deleting the last remaining group resets the panel to a blank state.


2. Managing "And / Or" Operators

An operator toggle positioned between elements lets you define how conditions intersect:

  • Within a Single Group: Controls the logical relationship between filters inside that specific group (And or Or).

  • Between Groups: Defines the overarching rule linking separate groups together (And or Or).

Filter Setup

Applied Logic

Resulting Audience

Group 1: A And B


​

↳ Between groups: Or


​

Group 2: C And D

(A and B) or (C and D)

Isolates members who meet both A and B, or alternatively meet both C and D.

Group 1: A Or B


​

↳ Between groups: And


​

Group 2: C

(A or B) and C

Isolates members who satisfy either A or B, and also strictly meet condition C.

How the Toggle Works: The interactive operator selector appears only between the first two items in a series. Any subsequent filters added to that same series automatically inherit the chosen operator, displayed as static text.


3. Configuring Filters Directly Inside Each Card

Each criterion updates in real time without leaving the panel:

  • Card Layout: Every card displays the filter title, a comparison operator dropdown (Is, Contains, Is between, etc.), and the corresponding input control (text field, number, dropdown, checkbox, file attachment, etc.).

  • Fixed vs. Relative Dates: Relative date operators (e.g., in the last N days) require a whole number of days. Switching between a fixed calendar date and a relative date automatically clears the entered value, as the two formats are not interchangeable.

  • Accreditations and Assignments: You can target either all or some of their selected values.

  • Duplicate Criteria Allowed: You can insert the exact same filter type multiple times in a single group (for example, adding the Assignment Status filter twice with different parameter values).


4. Incomplete Filter Validation

To prevent broken queries, the filter panel checks every card before allowing execution:

  • Red Highlighting: Any filter card missing a required value is automatically highlighted in red.

  • Locked Apply Button: The Filter button stays disabled until every incomplete card is either filled out or deleted.

  • Safe Cancellation: Clicking Cancel closes the drawer without altering your current list view; changes take effect only when you click Filter.


5. List Badges and Saving as Segments

  • Active Filter Tags: Applied rules appear above the data table as badges ordered by group alongside their logical operators:

    • Click any badge to reopen the filter panel directly at that specific card.

    • Click the close icon (×) on a badge to remove that criterion (if a group becomes empty, it disappears automatically).

  • Saving to Segments: Saving a filtered view as a Segment preserves the exact group hierarchy and logical operators.

  • Backward Compatibility: All pre-existing segments remain fully functional and open natively inside the updated filter panel.

Did this answer your question?