Keywords narrow and further define a search, beyond column names, values, and filters.In addition to column names, values, and filters, the search bar also accepts Keywords. Access a list of Keywords and other reference material in the reference section or the in-app help — open it by selecting Help from the top navigation bar, where you’ll find videos and documentation for your current version of Invoca, including a list of Keywords you can expand by section.
Example: simplify a search with the top keyword
Thetop keyword can greatly simplify a search when you remember to use it. Its syntax looks like top n for each x.
Some common examples: top two performing sales rep; top revenue average revenue by state; top two students ranked by source for each class.
Types of keywords
Keywords serve a variety of predefined purposes, divided into groups:- Basic Keywords: use keywords such as
topandbottomto see results for the best or worst performing sales rep, for example. - Date Keywords: narrow your search by days, weeks, months, quarters, or years, plus keywords like
after,before, andyear-over-year. - Time Keywords: most useful for figuring out how many visitors you’ve received within the last
nminutes or hours. - Text Keywords: find similar words or phrases containing a certain word, such as
product name contains green. - Number Keywords: define your search by sum, average, count, max, min, and other accumulations.
- Comparative Keywords: work the same way as filters on table columns or chart axes.
- Location Keywords:
nearandfarther thanlet you search with spatial filters on geo-type columns with latitude/longitude data, based on distance in miles, kilometers, or meters.
NoteWhen using the top or bottom keywords without specifying a number (n), the number defaults to 10.
General
Date
NoteThe
last keyword returns the last n full periods and doesn’t include the current period. For example, last 6 hours returns the last 6 full hours, not including the current hour. To include the current period, add this <period> — for example, last 6 hours this hour.after, before, between ... and ..., calendar, daily, day, day of month/quarter/week/year, fiscal, growth of ... by ... (with daily/monthly/quarterly/weekly/yearly variants), hourly, last n days/months/quarters/weeks/years (with for each <period> variants), month, month to date, monthly, n <period>s ago, next <period>, on or after/on or before, quarter to date, this <period>, today, week, year, and yesterday — along with month-name keywords (January–December) and day-of-week keywords (Monday–Sunday).
Examples:
Time (Early Access)
Timezone-aware keywords ensure relative date filters — like “today,” “yesterday,” and “last 7 days” — always reflect the correct local time for each user, so searches, dashboards, and tiles show time-based data matching local business hours. Keywords includedetailed, hourly, last hour/last minute, n hours/n hours ago, n minutes/n minutes ago, next hour/next minute, and this hour/this minute.
Text
NoteIf a query includes two or more
contains phrases modifying the same column, Invoca combines them with or logic (prior to version 9.2.0.cl, Invoca used and logic; existing content was automatically updated on upgrade).Number
average, count, max, min, standard deviation, sum, total count, unique count, variance. Example: average revenue by store
Comparative
NoteInvoca supports multiple
contains, begins_with, and ends_with phrases in vs queries (combined with OR, or AND for multiple contains phrases depending on environment settings). Invoca doesn’t support group_* formula measures with vs, or vs inside an in/not in subquery.Location
farther than n miles|km|meters from ..., near, near ... within n miles|km|meters.
Period
day, day of month, day of quarter, day of week, day of year, hour, month of quarter, month of year, quarter, quarter of year, week of month, week of quarter, week of year.
NoteInvoca uses ISO week format for the
week of [month | quarter | year] keywords, so the last few days of a quarter may sometimes show as the first few days of the next quarter.In / Not in
in: query-in-query search (intersection of two sets). Must match the last attribute before the keyword with the first attribute inside the subsearch. Doesn’t support vs.
not in: relative complement of two sets, with the same matching rules.