Skip to content
caliper ui pro docs

Queries and segments

Build a filter that reads back as a sentence.

Pro2 variants

Query builder

API and files

Build a filter from conditions and nested groups, typed by field: text, number, date, options and yes/no. It reads back as a sentence, counts matches live, flags unfinished conditions and saves segments.

Filter accounts

Showing accounts where Plan is any of Team or Business, and MRR ≥ 1000, and (Region is any of EMEA, or Seats between 20 and 60).

6 accounts
Conditions
Match
of these
  • Group, level 2
    Match
    of these
    • and

Segment builder

API and files

Build an audience from conditions joined by all or any, in nested groups, and watch its size move as you go: the estimate counts to each new figure and its share of everyone fills a bar. Alt+Enter adds a condition below the one you are in; Alt+Backspace removes it.

Estimated audience

10,524visitors

21.8% of 48.2k

Filter visitors

Showing visitors where Device is any of Mobile, and Visits ≥ 3.

Conditions
Match
of these

In a condition, Option Enter adds one below and Option Backspace removes it.

Estimated from 1,200 recent visitors.

When to use

  • Query builder: segments, audiences and saved filters.
  • Segment builder: audience and cohort definitions in analytics, messaging or experiment targeting.

When not to use

  • Two or three filters; use filter chips.
  • Filtering a table in place; use the query builder on its own.
  • Estimates that take seconds to compute on every keystroke; pass `estimating` and debounce on the host.