Jump to: navigation, search
  • Main page
  • Recent changes
  • Random page
  • XL3MdxDataSeries

    Returns the set of values given by the specified MDX. Often used to provide an OLAP data source for In-Cell Chart formulae.

    Syntax

    XL3MdxDataSeries( Connection, MdxExpression, Measure, Hierarchy1, Member1,…, Hierarchy100, Member100 )

    Before XLCubed Version 9, this formula was limited to 30 parameters. This allowed up to 13 hierarchy-member pairs.

    Parameters

    Parameter Description
    Connection Connection number to use
    MdxExpression The MDX expression to run
    Measure The measure to use
    Hierarchy1,…, HierarchyN Name of the hierarchy that the following member applies to e.g. "Measures" or "[Customer].[Customer Geography]"
    Member1,…, MemberN Either a single member unique name or an XL3Member formula

    Examples (based on the Bicycle Sales cube)

    Returns the a set of 12 Revenues for January 2004 to December 2004

    =XL3MdxDataSeries( 1, "{ LASTPERIODS(12,Time.[December 2004])*{KeyFigures.Revenue} }", "Value" )

    Returns a column chart for a set of 12 Revenues for January 2004 to December 2004

    =XL3SparkColumnsM( XL3MdxDataSeries( 1, "{ LASTPERIODS(12,Time.[December 2004])*{KeyFigures.Revenue} }", "Value" ) )

    See Also