VBA functions in MDX and DAX
This document contains a crossed reference of all VBA functions available in Microsoft Visual Basic for Applications Language Reference for Office 2010 that are supported in MDX; also, the list includes a note when there is functional equivalence with the DAX language.
Visual Basic for Applications Functions Reference
Function Name |
Supported |
Notes |
---|---|---|
DAX, MDX |
||
Not supported |
||
MDX only |
||
MDX only |
||
MDX only |
||
Not supported |
||
MDX only |
||
MDX only |
||
MDX only |
||
MDX only |
||
MDX only |
||
MDX only |
||
MDX only |
||
MDX only |
||
MDX only |
||
MDX only |
||
Not supported |
||
Not supported |
||
Not supported |
||
MDX only |
||
Not supported |
||
MDX only |
||
MDX only |
||
Not supported |
||
MDX only |
||
Not supported |
||
MDX only |
Warning DAX implements a different function with the same name; the DATE(Year, Month, Day) function, used to generate a date type value from the given arguments |
|
MDX only |
Warning DAX implements a different function with the same name; the DATEADD (<dates>,<number_of_intervals>,<interval>) function, used to shift the given dates by a number of given intervals |
|
MDX only |
||
MDX only |
||
MDX only |
||
DAX, MDX |
||
DAX, MDX |
||
MDX only |
||
Not supported |
||
Not supported |
||
Not supported |
||
Not supported |
||
Not supported |
||
DAX, MDX |
||
Not supported |
||
Not supported |
||
Not supported |
||
Not supported |
Warning MDX implements a different function with the same name; the FILTER(Set_Expression, Logical_Expression) function returns the set that results from filtering a specified set based on a search condition from the given arguments Warning DAX implements a different function with the same name; the FILTER (<table>,<filter>) function Returns a table that represents a subset of another table or expression from the given arguments |
|
MDX only |
||
DAX, MDX |
||
Not supported |
||
Not supported |
||
Not supported |
||
Not supported |
||
Not supported |
||
MDX only |
||
Not supported |
||
Not supported |
||
Not supported |
||
Not supported |
||
MDX only |
||
DAX, MDX |
||
MDX only |
Warning DAX implements a similar function with the name: IF (logical_test, value_if_true, value_if_false) function. |
|
Not supported |
||
Not supported |
||
Not supported |
||
MDX only |
||
Not supported |
||
DAX, MDX |
||
MDX only |
||
MDX only |
||
MDX only |
||
MDX only |
||
MDX only |
||
DAX, MDX |
||
MDX only |
||
MDX only |
||
MDX only |
||
Not supported |
||
Not supported |
||
Not supported |
||
MDX only |
||
DAX, MDX |
||
DAX, MDX |
||
Not supported |
||
Not supported |
||
MDX only |
Important DAX implements a different function with the same name; the LOG (number, base) function. Returns the logarithm of a number to the base specified from the given arguments. |
|
MDX only |
||
Not supported |
||
Not supported |
||
DAX, MDX |
||
DAX, MDX |
||
MDX only |
||
DAX, MDX |
||
Not supported |
||
Not supported |
||
DAX, MDX |
||
MDX only |
||
MDX only |
||
MDX only |
||
MDX only |
||
MDX only |
||
MDX only |
||
MDX only |
||
MDX only |
||
MDX only |
||
Not supported |
||
MDX only |
||
DAX, MDX |
||
MDX only |
||
DAX, MDX |
||
RTrim |
MDX only |
|
DAX, MDX |
||
Not supported |
||
DAX, MDX |
||
Not supported |
||
MDX only |
||
MDX only |
||
MDX only |
||
Not supported |
||
Not supported |
||
MDX only |
||
MDX only |
||
MDX only |
||
MDX only |
||
MDX only |
||
Not supported |
||
MDX only |
||
MDX only |
||
Not supported |
||
MDX only |
||
Not supported |
||
MDX only |
||
MDX only |
||
DAX, MDX |
||
DAX, MDX |
||
MDX only |
||
Not supported |
||
MDX only |
||
MDX only |
||
Not supported |
||
DAX, MDX |
||
Not supported |
||
DAX, MDX |