Português (Portugal) keyword reference

Use keywords to help define a search.

Note that you can only use one set of keywords at a time. If you set your locale to Português, you can only use Português keywords. You can’t also use English keywords, or any other language. ThoughtSpot doesn’t translate its branded terms, such as SpotIQ.

General

When using the top or bottom keywords without specifying a number (n), the number defaults to 10.
top n

Generates the top n items from a sorted result. If your search has more than 1 measure, ThoughtSpot generates the top n items from the first measure in the search.

Examples
top 10 sales rep revenue

top sales rep by count sales for average revenue > 10000

sales rep average revenue for each region top
Português

topo n

top n measure1 by attribute|measure2

Calculates top n items, then sorts the top items by another measure or attribute.

Contrast with top n (swaps the order of operations).

Example
top 10 sales rep revenue by profit margin
Português

topo n por

top n …​ ranked by

Ranks the top n items by a specified measure. The ranked by keyword only works in conjunction with the top keyword. If your search has more than 1 measure, ThoughtSpot generates the top n items from the first measure in the search.

Examples
top 10 sales rep revenue sales ranked by sales

top customer revenue generated # of ads clicked ranked by # of ads clicked
Português

topo n …​ ordenado por

bottom n

Generates the bottom n items from a sorted result.

Examples
bottom 25 customer by revenue for each sales rep

bottom revenue average

bottom revenue by state

customer by revenue for each sales rep bottom
Português

fundo n

sort by

Sorts the result set by an attribute or measure.

Examples
revenue by state sort by average revenue descending

revenue by customer sort by region sort by state
Português

ordenar por

by <measure>

Treats the measure as an attribute and groups the result set by it.

Examples
cost by revenue

product by quantity purchased
Português

por

Date

The last keyword returns the last n full periods and does not include the current period. For example, last 6 hours returns the last 6 full hours and does not include the current hour. To include the current period, add this <period>. For example, last 6 hours this hour.
after
Example
order date after 10/31/2014
Português

depois

before
Example
order date before 03/01/2014
Português

antes

between ... and ...
Example
order date between 01/30/2012 and 01/30/2014
Português

entre … e …

daily
Example
shipments by region daily
Português

diariamente

daily year-over-year
Example
growth of revenue by order date daily year-over-year
Português

diariamente ano à ano

day
Example
count monday restaurant
Português

dia

day of week
Example
revenue by day of week last 6 months
Português

dia da semana

day of week
Example
count shipments Monday
Português

dia da semana

growth of …​ by ...
Example
growth of sales by order date
Português

crescimento de … por …

growth of …​ by …​ daily
Example
growth of sales by order date daily
Português

crescimento de … por … diariamente

growth of …​ by …​ monthly
Example
growth of sales by date shipped monthly sales > 24000
Português

crescimento de … por … mensalmente

growth of …​ by …​ quarterly
Example
growth of sales by date shipped quarterly
Português

crescimento de … por … trimestralmente

growth of …​ by …​ weekly
Example
growth of sales by receipt date weekly for pro-ski2000
Português

crescimento de … por … semanalmente

growth of …​ by …​ yearly
Example
growth of sales by date closed yearly
Português

crescimento de … por … anualmente

hourly
Example
visitors by page name hourly
Português

de hora em hora

last day by
Example
customers last day by referrer
Português

último dia por

last month by
Example
customers last month by day
Português

último mês por

last n days
Example
visitors last 7 days
Português

último n dias

last n quarters
Example
visitors last 2 quarters by month by campaign
Português

último n trimestres

last n weeks
Example
visitors last 10 weeks by day
Português

último n semanas

last n years
Example
visitors last 5 years by revenue for sum revenue > 5000
Português

último n anos

last quarter
Example
customers last quarter sale > 300
Português

último trimestre

last week
Example
customers last week by store
Português

último semana

last year
Example
top 10 customers last year by sale by store for region west
Português

último ano

month
Example
revenue by month last year
Português

mês

month
Example
commission January
Português

mês

month to date
Example
sales by product month to date sales > 2400
Português

mês até à data

month year
Example
commission by sales rep February 2014
Português

mês ano

monthly
Example
commission > 10000 monthly
Português

mensalmente

monthly year-over-year
Example
growth of revenue
  by receipt date
  monthly year-over-year
Português

mensalmente ano à ano

n days ago
Example
sales 2 days ago
Português

n dias atrás

last n days for each month
Example
sales last 2 days for each month
Português

n dias para cada mês

last n days for each quarter
Example
revenue last 15 days for each quarter
Português

n dias para cada trimestre

last n days for each week
Example
total sold last 2 days for each week
Português

n dias para cada semana

last n days for each year
Example
revenue last 300 days for each year
Português

n dias para cada ano

last n hours for each day
Example
sales last 2 hours for each day
Português

n horas para cada dia

n months
Example
visitors last 6 months for homepage visits > 30 by month
Português

n meses

n months ago
Example
sales 2 months ago by region
Português

n meses atrás

last n months for each quarter
Example
cost last 2 months for each quarter
Português

n meses para cada trimestrere

last n months for each year
Example
last 8 months for each year
Português

n meses para cada ano

n quarters ago
Example
sales 4 quarters ago by product name contains deluxe
Português

n trimestres atrás

last n quarters for each year
Example
last 2 quarters for each year
Português

n trimestres para cada ano

n weeks ago
Example
sales 4 weeks ago by store
Português

n semanas atrás

last n weeks for each month
Example
sales last 3 weeks for each month
Português

n semanas para cada mês

last n weeks for each quarter
Example
last 2 weeks for each quarter
Português

n semanas para cada trimestre

last n weeks for each year
Example
last 3 weeks for each year
Português

n semanas para cada ano

n years
Example
opportunities next 5 years by revenue
Português

n anos

n years ago
Example
sales 5 years ago by store for region west
Português

n anos atrás

next day
Example
shipments next day by order
Português

seguinte dia

next month
Example
appointments next month by day
Português

seguinte mês

next n days
Example
shipments next 7 days
Português

seguinte n dias

next n months
Example
openings next 6 months location
Português

seguinte n meses

next n quarters
Example
opportunities next 2 quarters by campaign
Português

seguinte n trimestres

next n weeks
Example
shipments next 10 weeks by day
Português

seguinte n semanas

next quarter
Example
opportunities next quarter amount > 30000
Português

seguinte trimestre

next week
Example
shipments next week by store
Português

seguinte semana

next year
Example
opportunities next year by sales rep
Português

seguinte ano

quarter to date
Example
sales by product quarter to date
  for top 10 products by sales
Português

trimestre até a data

quarterly
Example
sales quarterly for each product
Português

trimestralmente

quarterly year-over-year
Example
growth of revenue by date shipped
quarterly year-over-year
Português

trimestralmente ano à ano

this day
Example
shipments this day by order
Português

este dia

this month
Example
appointments this month by day
Português;

este mês

this quarter
Example
opportunities this quarter amount > 30000
Português;

este trimestre

this week
Example
shipments this week by store
Português;

este semana

this year
Example
opportunities this year by sales rep
Português;

este ano

today
Example
sales today by store
Português

hoje

week
Example
revenue by week last quarter
Português

semana

week to date
Example
sales by order date week to date for pro-ski200
Português

semana até a data

weekly
Example
revenue weekly
Português

semanalmente

weekly year-over-year
Example
growth of revenue by date shipped
  weekly year-over-year
Português

semanalmente ano à ano

year
Example
revenue by product 2014 product name contains snowboard
Português

ano

year to date
Example
sales by product year to date
Português

ano até à data

yearly
Example
shipments by product yearly
Português

anualmente

yesterday
Example
sales yesterday for pro-ski200 by store
Português

ontem

Time

The last keyword returns the last n full periods and does not include the current period. For example, last 6 hours returns the last 6 full hours and does not include the current hour. To include the current period, add this <period>. For example, last 6 hours this hour.
detailed
Example
ship time detailed
Português

detalhado

last hour
Example
count unique visits last hour
Português

último hora

last minute
Example
count homepage views last minute
Português

último minuto

n hours
Example
count visitors [ last | next ] 12 hours
Português

n horas

n hours ago
Example
sum inventory by product by store 2 hours ago
Português

n horas atrás

n minutes
Example
count visitors [ last | next ] 30 minutes
Português

n minutos

n minutes ago
Example
sum inventory by product 10 minutes ago
Português

n minutos atrás

Text

begins with Update
Examples
product name begins with 'pro'
  // returns all products that start with 'pro'

product name begins with 'pro'
  product name begins with 'sport'
  // returns all products that start with 'pro'
  // OR  'sport'

product name begins with 'pro'
  product color begins with 'bl'
  // returns all products that start with 'pro'
  // AND have color that starts with 'bl' (blue or black)
Português

começa com

contains
Example
product name contains "alpine" description
  contains "snow shoe"
Português

contém

ends with
Example
product name ends with 'deluxe'
Português

termina com

similar to
Example
course name similar to 'hand'
Português

semelhante a

not begins with
Example
product name not begins with "tom's"
Português

não começa com

not contains
Example
product color not contains 'tan'
  product color not contains 'red'
Português

não contém

not ends with
Example
product name not ends with "trial"
Português

não termina

not similar to
Example
course name not similar to 'hand'
Português

não semelhante a

Number

average
Example
average revenue by store
Português

média

count
Example
count visitors by site
Português

contagem

max
Example
max sales by visitor by site
Português

máx.

min
Example
min revenue by store by campaign for cost > 5000
Português

mín.

standard deviation
Example
standard deviation revenue by product by month for date after
10/31/2010
Português

desvio padrão

sum
Example
sum revenue
Português

soma

unique count
Example
unique count visitor by product page last week
Português

contagem única

variance
Example
variance sale amount by visitor by product for last year
Português

variação

Comparative

all
Example
revenue asia vs all
The all keyword can only be used as part of a versus phrase.
Português

todos

between... and...
Example
revenue between 0 and 1000
Português

entre … e

= (equal)
Example
unique count visitor by store purchased products = 3 for last 5
days
Português

=

everything
Example
revenue asia vs everything
The everything keyword can only be used as part of a versus phrase.
Português

tudo

> (greater than)
Example
sum sale amount by visitor by product for last year sale amount > 2000
Português

>

>= (greater than or equal)
Example
count calls by employee lastname >= m
Português

>=

< (less than)
Example
unique count visitor by product by store for sale amount < 20
Português

<

<= (less than or equal)
Example
count shipments by city latitude <= 0
Português

!= (not equal)
Example
sum sale amount region != canada date != last 5 days
Português

!=

vs, versus
Example
revenue east vs west
ThoughtSpot does not support the use of group_* formula measures with the vs keyword. ThoughtSpot doesn’t support the use of the vs keyword within an in or not in subquery.
Português

vs, versus

You can use special constants for null and empty values with the = and != keywords: {null} and {empty}. For example: customer name = {empty} or department != {null}. NULL values are missing or invalid (for example, dividing by 0) values. ThoughtSpot also shows NULL if you have n/a in your data. Empty values are empty strings of text or strings containing only whitespace (spaces, tabs).

Location

farther than n miles|km|meters from …​
Example
average hours worked branch farther than 80 km from scarborough
Português

mais longe do que dentro milhas|km|metros de

near
Example
revenue store name county near san francisco
Português

próximo

near …​ within n miles|km|meters
Example
revenue store name county near alameda within 50 miles
Português

próximo … dentro milhas|km|metros

Period

day
Example
orders by day
Português

dia (date)

day of month
Example
sales day of month by month
Português

dia do mês (date)

day of quarter
Example
deals day of quarter by year
Português

dia do trimestre (date)

day of week
Example
customers by week day of week
Português

dia da semana (date)

day of year
Example
ad clicks day of year by year
Português

dia do ano (date)

hour
Example
visitors by hour weekly
Português

hora (datetime)

month of quarter
Example
purchases month of quarter by year
Português

mês do trimestre (date)

quarter
Example
purchases by quarter
Português

trimestre (date)

quarter of year
Example
opportunities quarter of year last 4 years yearly
Português

trimestre do ano (date)

week of month
Example
product shipments week of month yearly
ThoughtSpot uses ISO week format for the week of [month | quarter | year] keywords, which means that the last few days of a quarter may sometimes show as the first few days of the next quarter, based on the ISO week date system.
Português

semana do mês (date)

week of quarter
Example
revenue week of quarter
ThoughtSpot uses ISO week format for the week of [month | quarter | year] keywords, which means that the last few days of a quarter may sometimes show as the first few days of the next quarter, based on the ISO week date system.
Português

semana do trimestre (date)

week of year
Example
new products week of year last 3 years yearly
ThoughtSpot uses ISO week format for the week of [month | quarter | year] keywords, which means that the last few days of a quarter may sometimes show as the first few days of the next quarter, based on the ISO week date system.
Português

semana do ano (date)


Was this page helpful?