Skip to Content

DAX API reference

The DAX API supports the following functions.

If you’d like to propose a function to be supported in the DAX API, please contact the customer success team in Cube Cloud.

DAX functions

The DAX API currently implements a subset of functions supported by DAX .

Aggregation functions

Learn more in the relevant section  of the DAX documentation.

FunctionUnsupported featuresCaveats
AVERAGE
AVERAGEA
AVERAGEXNon-base table as input table
COUNT
COUNTA
COUNTAXNon-base table as input table
COUNTBLANK
COUNTROWSDisregards input table expression and always returns 50000
COUNTXNon-base table as input table
DISTINCTCOUNTBlanks are ignored
DISTINCTCOUNTNOBLANK
MAXBlanks are disregarded instead of being treated as 0 in two-argument variant
MAXA
MAXXNon-base table as input table
MINBlanks are disregarded instead of being treated as 0 in two-argument variant
MINA
MINXNon-base table as input table
SUM
SUMXNon-base table as input table

Date and time functions

Learn more in the relevant section  of the DAX documentation.

FunctionUnsupported featuresCaveats
CALENDARNon-literal dates
DATENon-literal date parts
DATEVALUENon-ISO date formats
DAY
HOUR
MINUTE
MONTH
NOWTime zone may depend on data warehouse settings
QUARTER
SECOND
TIMENon-literal date parts
TIMEVALUENon-ISO time formats
TODAYTime zone may depend on data warehouse settings
UTCNOWTime zone may depend on data warehouse settings
UTCTODAYTime zone may depend on data warehouse settings
WEEKDAY
WEEKNUMNon-Monday return types
YEAR

Filter functions

Learn more in the relevant section  of the DAX documentation.

FunctionUnsupported featuresCaveats
ALL
ALLCROSSFILTERED
ALLNOBLANKROW
CALCULATEAdds to the filter context but does not override it
CALCULATETABLE
FILTER
KEEPFILTERS
REMOVEFILTERS

Financial functions

Learn more in the relevant section  of the DAX documentation.

FunctionUnsupported featuresCaveats
XIRR

See the XIRR recipe for more details.

INFO functions

Learn more in the relevant section  of the DAX documentation.

No INFO functions currently supported.

Information functions

Learn more in the relevant section  of the DAX documentation.

FunctionUnsupported featuresCaveats
CONTAINSSTRINGEXACT
ISAFTER
ISBLANK
ISBOOLEAN
ISCURRENCY
ISDATETIME
ISDECIMAL
ISDOUBLE
ISEMPTYAlways returns FALSE
ISEVEN
ISINT64
ISINTEGER
ISLOGICAL
ISNONTEXT
ISNUMBER
ISNUMERIC
ISODD
ISONORAFTER
ISSTRING
ISTEXT
NONVISUAL
USERCULTUREAlways returns “en-US”

Logical functions

Learn more in the relevant section  of the DAX documentation.

FunctionUnsupported featuresCaveats
AND
BITAND
BITLSHIFT
BITOR
BITRSHIFT
COALESCE
FALSE
IFCoerces results to common type
NOT
OR
SWITCH
TRUE

Math and trig functions

Learn more in the relevant section  of the DAX documentation.

FunctionUnsupported featuresCaveats
ABS
ACOS
ACOSH
ACOT
ACOTH
ASIN
ASINH
ATAN
ATANH
CEILINGSignificance other than 1
CONVERT
COS
COSH
COT
COTH
DEGREES
DIVIDE
EVEN
EXP
FLOORSignificance other than 1
INT
LN
LOGBase other than 10
LOG10
MOD
MROUNDMultiple other than 1
ODD
PI
POWER
QUOTIENT
RADIANS
RAND
RANDBETWEEN
ROUNDNum digits other than 0
ROUNDDOWNNum digits other than 0
ROUNDUPNum digits other than 0
SIGN
SIN
SINH
SQRT
SQRTPI
TAN
TANH
TRUNCNum digits other than 0

Other functions

Learn more in the relevant section  of the DAX documentation.

FunctionUnsupported featuresCaveats
BLANK

Parent and child functions

Learn more in the relevant section  of the DAX documentation.

No parent and child functions currently supported.

Relationship functions

Learn more in the relevant section  of the DAX documentation.

No relationship functions currently supported.

Statistical functions

Learn more in the relevant section  of the DAX documentation.

FunctionUnsupported featuresCaveats
SAMPLEDoesn’t evenly distribute rows, taking top N instead (acts as the TOPN function)
SAMPLECARTESIANPOINTSBYCOVERActs as the TOPN function

Table manipulation functions

Learn more in the relevant section  of the DAX documentation.

FunctionUnsupported featuresCaveats
ADDCOLUMNSAggregate expressions
CURRENTGROUP
DISTINCT (column)
DISTINCT (table)
GROUPBY
IGNORE
NATURALINNERJOIN
NATURALLEFTOUTERJOIN
ROLLUPADDISSUBTOTAL
ROLLUPGROUP
ROW
SELECTCOLUMNS
SUBSTITUTEWITHINDEX
SUMMARIZE
SUMMARIZECOLUMNS
Table constructor 
TOPNComplex N values are planned as 50000
TREATASNon-literal tables as table expressions
UNION
VALUES

Text functions

Learn more in the relevant section  of the DAX documentation.

FunctionUnsupported featuresCaveats
COMBINEVALUES
CONCATENATE
EXACT
FINDStart num other than 1 and not found value other than 0
LEFT
LEN
LOWER
MID
REPTReturns empty string when num times is 0
RIGHT
SEARCHStart num other than 1 and not found value other than 0; wildcardsCase-sensitive
SUBSTITUTEInstance number
TRIMTrimming inner whitespace
UNICHAR
UPPER
VALUE

Time intelligence functions

Learn more in the relevant section  of the DAX documentation.

No time intelligence functions currently supported.

Miscellaneous functions

FunctionUnsupported featuresCaveats
GROUPCROSSAPPLYIgnores filter tables, acts as the SUMMARIZECOLUMNS function
SAMPLEAXISWITHLOCALMINMAXActs as the TOPN function

Was this page useful?