MDX Functions

MDX in SAP HANA supports a variety of standard MDX functions.

The following MDX functions are supported:

  • Aggregate
  • Ancestor
  • Ancestors
  • Ascendants
  • Avg
  • BottomCount
  • Children
  • ClosingPeriod
  • Count
  • Cousin
  • Crossjoin
  • CurrentMember
  • DefaultMember
  • Descendants
  • Dimension
  • Dimensions
  • Distinct
  • DistinctCount
  • DrillDownLevel
  • DrillDownLevelBottom
  • DrillDownLevelTop
  • DrillDownMember
  • DrillDownMemberBottom
  • DrillDownMemberTop
  • DrillUpLevel
  • DrillUpmember
  • Except
  • Filter
  • FirstChild
  • FirstSibling
  • Generate
  • Head
  • Hierarchize
  • Hierarchy
  • Instr
  • Intersect
  • IsAncestor
  • IsGeneration
  • IsLeaf
  • IsSibling
  • Item
  • IIF
  • Lag
  • LastChild
  • LastPeriods
  • LastSibling
  • Lead
  • Leaves
  • Left
  • Level
  • Levels
  • Max
  • Member_caption
  • Members
  • MembersAscendantsDescendants
  • Mid
  • Min
  • MTD
  • Name
  • NextMember
  • NOT
  • OpeningPeriod
  • OR
  • Ordinal
  • ParallelPeriod
  • Parent
  • PeriodsToDate
  • PrevMember
  • Properties
  • QTD
  • Range
  • Right
  • Siblings
  • StrToMember
  • StrToSet
  • StrToTuple
  • StrToValue
  • Subset
  • Sum
  • Tail
  • TopCount
  • Union
  • UniqueName
  • WTD
  • YTD

For more information about these functions, see Microsoft's Multidimensional Expressions (MDX) Reference.