Skip to main content

How do I add filters?

Describes how to add filters to a query in the query builder.

You will need the Reporting permission to use the Query Builder, plus the read permission for what your query reads: Limited Read People for people, Full Read Groups for groups, or Full Read Contributions for giving. Those read permissions can differ by campus, so your results include only the campuses where you hold them.

Filters tell the query builder which records to include in results. In Reporting > Query Builder, the left-hand Filters panel contains fields that can be filtered by. The fields that can be chosen depend on user permissions.


Finding a filter

Fields in the Filters panel are grouped into categories that mirror the sections of a person's profile: General, Additional, Contact, Important Dates, Security, Check-In, Attendance, Family, Forms, Connections, Notes, Safeguards, Contributions, Pledges, and Groups. Custom fields appear in the matching category. Click a category to expand it and see its fields. If your account has more than one organization, an Organization filter is also available. See Filtering by organization below.

To jump directly to a specific filter, type its name into the Search for filters below… box at the top of the Filters panel. Matching fields appear under their categories to see where each one lives.

The Filters panel with categories and the search box

Adding a filter

Click any field name to add it to the query. The field is added immediately to the Query panel and an Edit Filter dialog opens so you can configure it.

  1. In the Filters panel, click the desired field, for example Title under the General category. The new row is added to the Query panel and the Edit Filter: Title dialog opens.

    The Edit Filter dialog for the Title field
  2. Choose a Condition from the dropdown (for example, contains, is equal to, or is within). The available conditions depend on the field's data type.

  3. Enter a Value. For date fields, this becomes a date range; for currency fields, a number; for option fields, a list of choices.

  4. Click Save. The filter is now part of the query.

Tip: You don't have to use the dialog to edit a filter. Every part of the filter row in the Query panel is clickable. Click the underlined condition (such as contains) or the value to change it in place.


Filters that reference related records

Fields under Contact > Address, Contributions, Pledges, Groups, Connections, Notes, and Safeguards filter on related records rather than the person directly. When one of these fields is added, the query builder wraps it in a has [category] where (…) block. Every field added from the same category goes inside that same block, and all of those conditions must match the same related record.

For example, adding Total Amount from Contributions > Transactions creates a block that reads and has contributions where (Total Amount is equal to enter value ). Adding another transaction field, such as Date, adds it inside the same block, so the result is people who have a single contribution that matches every condition in the block.

A has contributions where block in the Query panel

Address filters match any address on the profile

A person can have more than one address, such as a primary home and a seasonal address. An address filter returns everyone who has at least one address that matches, not just people whose primary address matches.

For example, has address where (State is equal to FL) also returns someone who lives in Pennsylvania but has a seasonal or alternate address in Florida. To limit results to people whose primary address is in Florida, add Is Primary? from Contact > Address to the same block and set it to is yes. The block then reads has address where (State is equal to FL and Is Primary? is yes).

An address block with State and Is Primary? conditions

Filtering by organization

If your account has more than one organization, the Query Builder adds an Organization filter and column. On a Contributions query they also appear while an archived organization still owns giving, even when only one organization is active.

  • Two conditions only - the filter accepts is in list and is not in list, and nothing else.

  • Your organizations only - the choices list only organizations you can access.

  • How a person or group matches - it belongs to the organizations of its campuses. One with no campuses belongs to the organizations it names, and one with neither belongs to all of them. So a record available to All matches any organization you name.

  • How a gift matches - a gift belongs to its one organization.

Shared queries that name an organization you cannot reach

A query someone shares with you can name an organization outside your access. The two conditions handle that differently, on purpose:

  • is in list - keeps the organizations you can reach and ignores the rest. If none remain, the query returns nothing.

  • is not in list - the query is refused. Skipping an exclusion you cannot see would add back rows the query was written to leave out, so it does not run for you.

When you save a shared query, any organizations you cannot reach stay in it, so editing a query never strips another person's selections. A shared query that names a campus you cannot reach does not widen what you see, and no refusal is raised.

Your access always applies

Campus and access limits sit outside your filters, so an or condition can never lift a row past them. Your campus selector narrows the results as well. What is the campus selector? explains how the campus selector works, and What is an organization? explains organizations.


Editing, disabling, or removing a filter

Each row in the Query panel has a drag handle (the three horizontal lines) on its left side. Click the drag handle to open the filter's action menu:

  • Edit - reopens the Edit Filter dialog to change the condition or value.

  • Copy - duplicates the filter row.

  • Select - marks the filter in order to act on multiple rows at once.

  • Disable - keeps the filter in the query but skips it when the query runs. Useful when testing the impact of a single filter without removing it.

To remove a filter entirely, click the × at the right end of its row. To clear every filter at once, click Clear all filters at the top right of the Query panel.

The filter action menu with Edit, Copy, Select and Disable

Other Helpful Articles

Did this answer your question?