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

Difference between revisions of "XL3DataSeriesLookup"

m (Made XL3SetLookup use the Code template)
(Using the Standard_HierarchyMember_List template)
Line 20: Line 20:
 
| {{Code|Measure}}
 
| {{Code|Measure}}
 
| The measure to use
 
| The measure to use
|-
+
{{Standard_HierarchyMember_List}}
| {{Code|Hierarchy1,…, HierarchyN}}
 
| Name of the hierarchy that the member applies to e.g. {{Code|"Measures"}} or {{Code|"[Customer].[Customer Geography]"}}
 
|-
 
| {{Code|Member1,…, MemberN}}
 
| Comma-delimited list of members to use for the cross section
 
 
|}
 
|}
  

Revision as of 09:01, 7 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 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 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