Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The table below presents a list of Spark SQL functions for creating a new measure.

Anchor
measure
measure

Spark SQL functions

New Measure

And

(tick)

IF

(tick)

Not

(tick)

OR

(tick)

Switch

(tick)

True and False

(tick)

Blank

(tick)

Fixed

(tick)

ISO.CEILING

(tick)

LOG10

(tick)

MOD

(tick)

MROUND

(tick)

PI

(tick)

POWER

(tick)

QUOTIENT

(tick)

RAND

(tick)

Round

(tick)

ROUNDDOWN

(tick)

ROUNDUP

(tick)

SIGN

(tick)

SQRT

(tick)

SUMX

(tick)

DEGREES

(tick)

DIVIDE

(tick)

EVEN

(tick)

Fact

(tick)

FLOOR

(tick)

GCD

(tick)

LCM

(tick)

LN

(tick)

LOG

(tick)

ODD

(tick)

RADIANS

(tick)

RANDBETWEEN

(tick)

TRUNC

(tick)

ISBLANK

(tick)

ISBLANK

(tick)

USERNAME

(tick)

CONTAINS

(tick)

ISERROR

(tick)

ISEVEN

(tick)

ISLOGICAL

(tick)

ISNONTEXT

(tick)

ISNUMBER

(tick)

ISODD

(tick)

ISTEXT

(tick)

TODAY

(tick)

NOW

(tick)

DATEVALUE

(tick)

DATESBETWEEN

(tick)

DATESINPERIOD

(tick)

DATESMTD

(tick)

DATESQTD

(tick)

DATESYTD

(tick)

ENDOFMONTH

(tick)

ENDOFQUARTER

(tick)

ENDOFYEAR

(tick)

FIRSTDATE

(tick)

FIRSTNONBLANK

(tick)

LASTDATE

(tick)

LASTNONBLANK

(tick)

NEXTDAY

(tick)

PREVIOUSDAY

(tick)

STARTOFMONTH

(tick)

STARTOFQUARTER

(tick)

STARTOFYEAR

(tick)

TOTALMTD

(tick)

TOTALQTD

(tick)

TOTALYTD

(tick)

ALL

(tick)

ALLEXCEPT

(tick)

ALLNOBLANKROW

(tick)

ALLSELECTED

(tick)

CALCULATE

(tick)

CALCULATETABLE

(tick)

DISTINCT

(tick)

FILTER

(tick)

FILTERS

(tick)

HASONEFILTER

(tick)

HASONEVALUE

(tick)

ISCROSSFILTERED

(tick)

ISFILTERED

(tick)

RELATEDTABLE

(tick)

SELECTEDVALUE

(tick)

VALUES

(tick)

COUNT

(tick)

COUNTA

(tick)

COUNTAX

(tick)

COUNTROWS

(tick)

COUNTX

(tick)

DISTINCTCOUNT

(tick)

DATE

(tick)

The table below presents a list of Spark SQL functions for creating a new column.

Anchor
column
column

...