Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Let Users Filter a Pivot Table

Add header filters to a Pivot Table so users slice the summary by lead source or stage on the flow screen, with menus that only offer values that exist.

In a pipeline review, a sales manager wants to see only the deals that came from the web, then only those in negotiation, without asking an admin for a new screen. Header filters put a menu per field above the Pivot Table. Each pick reruns the summary on the matching records.

Pivot Table filtered to web deals, with the Stage filter menu open offering three stages
With Web picked, the Stage menu offers only the stages web deals reach.

Before you start

Steps

1

List the fields users can filter by

Select the Pivot Table on the screen and click Open Component Builder. In Data Mappings, open Filters and select Lead Source, then Stage.

The query filters of the Data Source decide which records the table can ever show, and users cannot change them. The fields in Filters become menus in the header that users set themselves, within those records.

2

Offer only the values that exist

The Stage picklist defines values such as Prospecting, Closed Won and Closed Lost, even when no deal on this screen carries them. Picking one would empty the table.

In the Filter group of the Properties tab, turn on Use Record Picklist Values. The menus now list only the picklist values found in the records.

Filter group of the property editor with Use Record Picklist Values and Use Cascading Filter Values turned on and Display As Popover off
The Filter group, with both value options on.
3

Narrow each filter by the others

In the same Filter group, turn on Use Cascading Filter Values. After a user picks a value in one menu, the other menus only offer values that still match.

Example: the manager picks Web under Lead Source. The Stage menu now offers Qualification, Proposal/Price Quote and Negotiation/Review, and drops Needs Analysis, since no web deal sits at that stage.

With Use Cascading Filter Values on, Use Record Picklist Values is ignored: the options already come from the records.

4

Choose how the filters sit in the header

By default, each field in Filters gets its own button in the header. Once a value is picked, the button label shows it after the filter mode, for example Stage (Equals Negotiation/Review).

Turn on Display As Popover to gather every filter behind one button that opens a popover instead.

One button per filter (default)

Display As Popover on

What users see

One button per field, with the picked value

One button, all filters inside

Best for

One or two filters with short values

Several filters, or long values

When the header runs out of room

Buttons that no longer fit move behind a funnel icon

Nothing moves

Pivot Table header with one filter button and its popover open, listing Lead Source and Stage
Display As Popover puts every filter behind one button.
5

Save and test

Save the flow and click Debug. The header shows Lead Source and Stage buttons. Open Stage: it lists only the four stages the deals carry.

Pick Web under Lead Source. The table reruns on the web deals only, and the Stage menu now offers three stages. Pick Negotiation/Review: the table shows only web deals in negotiation, and the line under the title reads Filtered by Lead Source, Stage.

Troubleshooting

A filter button disappeared after a selection, only a funnel icon is left

The button label grew with the picked value and no longer fits in the header, so it moved behind the funnel icon. Click the funnel: the filter is inside, with its value. To keep every filter in one place whatever the value length, turn on Display As Popover.

The menu offers values that return an empty table

Use Record Picklist Values is off, so a picklist menu lists every value the field defines. Turn it on, or turn on Use Cascading Filter Values.

The other menus do not narrow after a pick

Use Cascading Filter Values is off. If it is on, every value of the other field may still exist among the matching records, so there is nothing to remove.

No filter appears in the header

No field is listed in Filters, in Data Mappings. The settings of the Filter group have no effect until at least one field is there.

Was this helpful?