XLCubed is now FluenceXL. The new wiki can be found here: https://help.fluencexl.com/

XL3DataSeriesLookup

Revision as of 14:37, 6 October 2010 by Antonio.remedios (talk | contribs) (Made XL3SetLookup use the Code template)

Returns the set of values from a range of given members. Often used to provide a OLAP data source for MicroCharts functions.

Use the Insert Formula > Data Series menu or ribbon item to insert the formula using a wizard.

Syntax

XL3DataSeriesLookup( Connection, MemberSet, Measure, Hierarchy1, Member1,…, Hierarchy13, Member13 )

Parameters

Parameter Description
Connection Connection number to use
MemberSet An XL3MemberSet formula specifying the set to return
Measure The measure to use
Hierarchy1,…, HierarchyN Name of the hierarchy that the member applies to e.g. "Measures" or "[Customer].[Customer Geography]"
Member1,…, MemberN Comma-delimited list of members to use for the cross section

Examples (based on the Bicycle Sales cube)

Returns the a set of 12 Revenues for the months of 2003

=XL3DataSeriesLookup(1,XL3MemberSet(1,"[Time]","[Time].[All].&[2003]","DescendantsAt","[Time].[Month]"),"[Measures].[Value]","[KeyFigures]","[KeyFigures].[All].&[Revenue]")

Returns a column chart for a set of 12 Revenues for the months of 2003 (only available with MicroCharts installed)

=Microline( XL3DataSeriesLookup(1,XL3MemberSet(1,"[Time]","[Time].[All].&[2003]","DescendantsAt","[Time].[Month]"),"[Measures].[Value]","[KeyFigures]","[KeyFigures].[All].&[Revenue]") )

See Also