Norsk keyword reference

Use keywords to help define a search.

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.

Examples
top 10 sales rep revenue

top sales rep by count sales for average revenue > 10000

sales rep average revenue for each region top
Norsk

topp 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
Norsk

topp n etter

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.

Examples
top 10 sales rep revenue sales ranked by sales

top customer revenue generated # of ads clicked ranked by # of ads clicked
Norsk

topp n …​ rangert med

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
Norsk

bunn 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
Norsk

sorter etter

by <measure>

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

Examples
cost by revenue

product by quantity purchased
Norsk

etter

Date

after
Example
order date after 10/31/2014
Norsk

etter

before
Example
order date before 03/01/2014
Norsk

før

between ... and ...
Example
order date between 01/30/2012 and 01/30/2014
Norsk

mellom … og …

daily
Example
shipments by region daily
Norsk

daglig

daily year-over-year
Example
growth of revenue by order date daily year-over-year
Norsk

daglig år-over-år

day
Example
count monday restaurant
Norsk

dag

day of week
Example
revenue by day of week last 6 months
Norsk

ukedag

day of week
Example
count shipments Monday
Norsk

ukedag

growth of …​ by ...
Example
growth of sales by order date
Norsk

vekst på … av …

growth of …​ by …​ daily
Example
growth of sales by order date daily
Norsk

vekst på … av … daglig

growth of …​ by …​ monthly
Example
growth of sales by date shipped monthly sales > 24000
Norsk

vekst på … av … månedlig

growth of …​ by …​ quarterly
Example
growth of sales by date shipped quarterly
Norsk

vekst på … av … kvartal

growth of …​ by …​ weekly
Example
growth of sales by receipt date weekly for pro-ski2000
Norsk

vekst på … av … ukentlig

growth of …​ by …​ yearly
Example
growth of sales by date closed yearly
Norsk

vekst på … av … årlig

hourly
Example
visitors by page name hourly
Norsk

hver time

last day by
Example
customers last day by referrer
Norsk

siste dag av

last month by
Example
customers last month by day
Norsk

siste måned av

last n days
Example
visitors last 7 days
Norsk

siste n dager

last n quarters
Example
visitors last 2 quarters by month by campaign
Norsk

siste n kvartaler

last n weeks
Example
visitors last 10 weeks by day
Norsk

siste n uker

last n years
Example
visitors last 5 years by revenue for sum revenue > 5000
Norsk

siste n år

last quarter
Example
customers last quarter sale > 300
Norsk

siste kvartal

last week
Example
customers last week by store
Norsk

siste uke

last year
Example
top 10 customers last year by sale by store for region west
Norsk

siste år

month
Example
revenue by month last year
Norsk

måned

month
Example
commission January
Norsk

måned

month to date
Example
sales by product month to date sales > 2400
Norsk

måned til dato

month year
Example
commission by sales rep February 2014
Norsk

måned år

monthly
Example
commission > 10000 monthly
Norsk

månedlig

monthly year-over-year
Example
growth of revenue
  by receipt date
  monthly year-over-year
Norsk

månedlig år-over-år

n days ago
Example
sales 2 days ago
Norsk

n dager siden

last n days for each month
Example
sales last 2 days for each month
Norsk

n dager for hver måned

last n days for each quarter
Example
revenue last 15 days for each quarter
Norsk

n dager for hver kvartal

last n days for each week
Example
total sold last 2 days for each week
Norsk

n dager for hver uke

last n days for each year
Example
revenue last 300 days for each year
Norsk

n dager for hver år

last n hours for each day
Example
sales last 2 hours for each day
Norsk

n timer for hver dag

n months
Example
visitors last 6 months for homepage visits > 30 by month
Norsk

n måneder

n months ago
Example
sales 2 months ago by region
Norsk

n måneder siden

last n months for each quarter
Example
cost last 2 months for each quarter
Norsk

n måneder for hver kvartal

last n months for each year
Example
last 8 months for each year
Norsk

n måneder for hver år

n quarters ago
Example
sales 4 quarters ago by product name contains deluxe
Norsk

n kvartaler siden

last n quarters for each year
Example
last 2 quarters for each year
Norsk

n kvartaler for hver år

n weeks ago
Example
sales 4 weeks ago by store
Norsk

n uker siden

last n weeks for each month
Example
sales last 3 weeks for each month
Norsk

n uker for hver måned

last n weeks for each quarter
Example
last 2 weeks for each quarter
Norsk

n uker for hver kvartal

last n weeks for each year
Example
last 3 weeks for each year
Norsk

n uker for hver år

n years
Example
opportunities next 5 years by revenue
Norsk

n år

n years ago
Example
sales 5 years ago by store for region west
Norsk

n år siden

next day
Example
shipments next day by order
Norsk

neste dag

next month
Example
appointments next month by day
Norsk

neste måned

next n days
Example
shipments next 7 days
Norsk

neste n dager

next n months
Example
openings next 6 months location
Norsk

neste n måneder

next n quarters
Example
opportunities next 2 quarters by campaign
Norsk

neste n kvartaler

next n weeks
Example
shipments next 10 weeks by day
Norsk

neste n uker

next quarter
Example
opportunities next quarter amount > 30000
Norsk

neste kvartal

next week
Example
shipments next week by store
Norsk

neste uke

next year
Example
opportunities next year by sales rep
Norsk

neste år

quarter to date
Example
sales by product quarter to date
  for top 10 products by sales
Norsk

kvartal til dato

quarterly
Example
sales quarterly for each product
Norsk

kvartal

quarterly year-over-year
Example
growth of revenue by date shipped
quarterly year-over-year
Norsk

kvartal år-over-år

this day
Example
shipments this day by order
Norsk

denne dag

this month
Example
appointments this month by day
Norsk;

denne måned

this quarter
Example
opportunities this quarter amount > 30000
Norsk;

denne kvartal

this week
Example
shipments this week by store
Norsk;

denne uke

this year
Example
opportunities this year by sales rep
Norsk;

denne år

today
Example
sales today by store
Norsk

i dag

week
Example
revenue by week last quarter
Norsk

uke

week to date
Example
sales by order date week to date for pro-ski200
Norsk

uke til dato

weekly
Example
revenue weekly
Norsk

ukentlig

weekly year-over-year
Example
growth of revenue by date shipped
  weekly year-over-year
Norsk

ukentlig år-over-år

year
Example
revenue by product 2014 product name contains snowboard
Norsk

år

year to date
Example
sales by product year to date
Norsk

år til dato

yearly
Example
shipments by product yearly
Norsk

årlig

yesterday
Example
sales yesterday for pro-ski200 by store
Norsk

i går

Time

detailed
Example
ship time detailed
Norsk

detaljert

last hour
Example
count unique visits last hour
Norsk

siste time

last minute
Example
count homepage views last minute
Norsk

siste minutt

n hours
Example
count visitors [ last | next ] 12 hours
Norsk

n timer

n hours ago
Example
sum inventory by product by store 2 hours ago
Norsk

n timer siden

n minutes
Example
count visitors [ last | next ] 30 minutes
Norsk

n minutter

n minutes ago
Example
sum inventory by product 10 minutes ago
Norsk

n minutter siden

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)
Norsk

begynner med

contains
Example
product name contains "alpine" description
  contains "snow shoe"
Norsk

inneholder

ends with
Example
product name ends with 'deluxe'
Norsk

slutter med

similar to
Example
course name similar to 'hand'
Norsk

likner

not begins with
Example
product name not begins with "tom's"
Norsk

begynner ikke med

not contains
Example
product color not contains 'tan'
  product color not contains 'red'
Norsk

inneholder ikke

not ends with
Example
product name not ends with "trial"
Norsk

slutter ikke med

not similar to
Example
course name not similar to 'hand'
Norsk

likner ikke

Number

average
Example
average revenue by store
Norsk

gjennomsnitt

count
Example
count visitors by site
Norsk

telling

max
Example
max sales by visitor by site
Norsk

maks

min
Example
min revenue by store by campaign for cost > 5000
Norsk

min

standard deviation
Example
standard deviation revenue by product by month for date after
10/31/2010
Norsk

standardavvik

sum
Example
sum revenue
Norsk

sum

unique count
Example
unique count visitor by product page last week
Norsk

unik telling

variance
Example
variance sale amount by visitor by product for last year
Norsk

avvik

Comparative

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

alle

between... and...
Example
revenue between 0 and 1000
Norsk

zwischen … und

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

=

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

alt

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

>

>= (greater than or equal)
Example
count calls by employee lastname >= m
Norsk
< (less than)
Example
unique count visitor by product by store for sale amount < 20
Norsk

<

<= (less than or equal)
Example
count shipments by city latitude <= 0
Norsk

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

!=

vs, versus
Example
revenue east vs west
ThoughtSpot does not support the use of group_* formula measures with the vs keyword.
Norsk

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}.

Location

Location keywords only work for searches where the data source includes latitude/longitude data. You can only use them if you bring your data into ThoughtSpot’s in-memory database. You cannot use these keywords if you connect to your data in an external database.
farther than n miles|km|meters from …​
Example
average hours worked branch farther than 80 km from scarborough
Norsk

lengre enn innen n miles|km|meter fra

near
Example
revenue store name county near san francisco
Norsk

nær

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

nær innen n miles|km|meter

Period

day
Example
orders by day
Norsk

dag (date)

day of month
Example
sales day of month by month
Norsk

dag i måned (date)

day of quarter
Example
deals day of quarter by year
Norsk

dag i kvartal (date)

day of week
Example
customers by week day of week
Norsk

ukedag (date)

day of year
Example
ad clicks day of year by year
Norsk

dag i år (date)

hour
Example
visitors by hour weekly
Norsk

time (datetime)

month of quarter
Example
purchases month of quarter by year
Norsk

måned i kvartal (date)

quarter
Example
purchases by quarter
Norsk

kvartal (date)

quarter of year
Example
opportunities quarter of year last 4 years yearly
Norsk

kvartal i år (date)

week of month
Example
product shipments week of month yearly
Norsk

uke i måned (date)

week of quarter
Example
revenue week of quarter
Norsk

uke i kvartal (date)

week of year
Example
new products week of year last 3 years yearly
Norsk

uke i år (date)


Was this page helpful?