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 …')
 
(>30 parameters allowed)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
Returns the set of values from a range of given members. Often used to provide a OLAP data source for MicroCharts functions.
+
Returns the set of values from a range of given members. Often used to provide an OLAP data source for In-Cell Chart formulae.
  
Use the {{Menu|Insert Formula|Data Series}} menu or ribbon item to insert the formula using a wizard.
+
Use the {{Menu|Insert Formula|Data Series}} menu or ribbon item to insert the formula using a wizard. See [[Insert Data Series|here]] for details.
  
 
==Syntax==
 
==Syntax==
  
{{Code|XL3DataSeriesLookup( Connection, MemberSet, Measure, Hierarchy1, Member1,…, Hierarchy13, Member13 )}}
+
{{Code|XL3DataSeriesLookup( Connection, MemberSet, Measure, Hierarchy1, Member1,…, Hierarchy100, Member100 )}}
 +
 
 +
{{Excel Parameter Limitation|This allowed up to 13 hierarchy-member pairs.}}
  
 
==Parameters==
 
==Parameters==
Line 16: Line 18:
 
|-
 
|-
 
| {{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}}
 
| 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
 
 
|}
 
|}
  
Line 34: Line 31:
 
{{Code|1==XL3DataSeriesLookup(1,XL3MemberSet(1,"[Time]","[Time].[All].&[2003]","DescendantsAt","[Time].[Month]"),"[Measures].[Value]","[KeyFigures]","[KeyFigures].[All].&[Revenue]")}}
 
{{Code|1==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)''
+
''Returns a line chart for a set of 12 Revenues for the months of 2003''
  
{{Code|1==Microline( XL3DataSeriesLookup(1,XL3MemberSet(1,"[Time]","[Time].[All].&[2003]","DescendantsAt","[Time].[Month]"),"[Measures].[Value]","[KeyFigures]","[KeyFigures].[All].&[Revenue]") )}}
+
{{Code|1==XL3SparkLineM( XL3DataSeriesLookup(1,XL3MemberSet(1,"[Time]","[Time].[All].&[2003]","DescendantsAt","[Time].[Month]"),"[Measures].[Value]","[KeyFigures]","[KeyFigures].[All].&[Revenue]") )}}
  
 
==See Also==
 
==See Also==
 
* [[Formula Reference]]
 
* [[Formula Reference]]
 
* [[XL3DataSeries|XL3DataSeries formula]]
 
* [[XL3DataSeries|XL3DataSeries formula]]
 +
* [[Insert Data Series|Insert Data Series wizard]]
 +
 +
[[Category:Formulae]]
 +
[[Category:OLAP Formulae]]
 +
[[Category:In-Cell Charts]]

Latest revision as of 13:43, 28 April 2016

Returns the set of values from a range of given members. Often used to provide an OLAP data source for In-Cell Chart formulae.

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

Syntax

XL3DataSeriesLookup( Connection, MemberSet, 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
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 line chart for a set of 12 Revenues for the months of 2003

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

See Also