Skip to main content

How do I save, edit or delete queries?

Describes how to save, edit, delete, and share queries in the Reporting module.

You will need the Reporting permission to view and run the Query Builder. Which shared queries you see depends on whether their campuses or organizations overlap your campus limit.

Working with saved queries

When you build a report in the Query Builder in the left-hand navigation menu, you can save it to run again later, share it with other users, and update or remove it whenever you need to. This article covers saving, editing, and deleting your saved queries. Reports built with the AI Assistant are saved queries, too. They appear in the same places with an AI label after the name; see How do I save and use an AI report?


Saving a query

Go to Reporting > Query Builder and build your query on the Designer tab. The Data Source defaults to People.

The Query Builder Designer tab with the Data Source dropdown
The Save as button at the top of the Designer tab
  1. Select Save as... at the top of the Designer tab.

  2. In the Save Query modal, enter a Name for the query. This field is required.

  3. Add an optional Description so you and anyone you share the query with know what it does.

  4. Choose who can use the query from the Access dropdown:

    • Private - only you and super users can view, run, and edit this query.

    • Specific people - only the people you choose can view, run, and optionally edit the query. They cannot delete it and won't see data or filters their system access doesn't allow. A Share with... box appears so you can search for each person and set their access level.

    • Anyone can view - anyone with access to the Query Builder can view and run the query, but cannot overwrite it.

    • Anyone can edit - anyone with access to the Query Builder can view, run, and edit the query, but cannot delete it.

  5. Select Save.

If your account has more than one campus or organization, a saved query also carries campuses or organizations, which decide who it can be shared with. A new query takes the ones it is saved with, or your campus selector's if none are chosen. Once giving is split by organization, the organization a giving query reads is saved with it too.

Tip: When you save from the AI Assistant, the window is called Save Report and offers Private, Anyone can view, and Anyone can edit. To share an AI report with specific people, save it first and then change its Access from the Saved Queries tab, as described in the editing steps below.

The Save Query window with Name, Description and Access

To open a query you have already saved, return to the Designer tab and choose it from the Saved Queries dropdown at the top. AI reports show a sparkle icon in this dropdown and open in the AI Assistant.

The Saved Queries dropdown on the Designer tab

Tip: If a saved query is shared with you as view-only, you won't see an unsaved changes alert when you open it or move away from it. Only people who can edit a query are asked to save their changes.


Who can see a saved query

Two separate things decide whether a query shows up for someone. Together they explain most missing queries.

  • Sharing - you always see your own queries. Someone else sees a query that is Anyone can view, Anyone can edit or shared with them by name only when its campuses or organizations overlap their campus limit. The campus selector plays no part in this.

  • The Saved Queries list - the list then applies your campus selector, even to your own queries. If a query seems to be missing, widen your campus selector first.

If you open a query that needs a permission you do not have, it opens with those statements removed and the missing permissions listed. What is the campus selector? explains how the campus selector works.


Editing a saved query

You can rename a saved query, update its description, or change who can access it at any time. In the Saved Queries tab, AI reports show an AI label after the name, and the Filter button includes an AI Report? option so you can list only AI reports.

  1. Go to Reporting > Query Builder and select the Saved Queries tab.

  2. Find the query in the list, select the pencil icon found in the Query Details section.

  3. In the Edit Query window, update the Name, Description, or Access as needed. If the query is shared with specific people, you can add or remove people and change each person's access level here. Only the owner or a Super User can change a query's Access, campuses or organizations. Other editors can change only the query itself.

  4. Select Save.

The Edit Query window
  • When you save a query, any organizations stored in it that you cannot reach stay in it, so a limited editor never strips them.

  • A query kept as history by archived organizations cannot be edited.


Deleting a saved query

Only the query's owner or a Super User can delete it. A query that an active organization's directory rule uses cannot be deleted until the rule stops using it. How do I manage the church directory settings? explains directory rules.

  1. Go to Reporting > Query Builder and select the Saved Queries tab.

  2. Find the query in the list, select the more menu (•••), and choose Delete.

  3. Confirm to remove the saved query.

Warning: Deleting a saved query permanently removes it, including for anyone it was shared with. This cannot be undone.

The more menu on a saved query with Delete
The delete confirmation for a saved query

Other Helpful Articles

Did this answer your question?