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

Difference between revisions of "XL3DataSeriesLookup"

(Created page with 'Returns the set of values from a range of given members. Often used to provide a OLAP data source for MicroCharts functions. Use the {{Menu|Insert Formula|Data Series}} menu or …')
 
m (Made XL3SetLookup use the Code template)
Line 16: Line 16:
 
|-
 
|-
 
| {{Code|MemberSet}}
 
| {{Code|MemberSet}}
| An [[XL3MemberSet]] formula specifying the set to return
+
| An {{Code|[[XL3MemberSet|XL3MemberSet formula]]}} specifying the set to return
 
|-
 
|-
 
| {{Code|Measure}}
 
| {{Code|Measure}}

Revision as of 14:37, 6 October 2010

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