Returns the set of values from a range of given time members. Often used to provide an OLAP data source for In-Cell Chart formulas.
Syntax
XL3DataSeries( Connection, TimeHierarchy, PeriodMember, PeriodCount, Measure, Hierarchy1, Member1,…, Hierarchy100, Member100 )
Parameters
Parameter | Description |
Connection | Connection number to use. |
TimeHierarchy | Name of the time hierarchy to use. |
PeriodMember | The time member to use. |
PeriodCount | The number of periods to return. |
Measure | The measure to use. |
Hierarchy1,…, HierarchyN | Name of the hierarchy that the member applies to for example, "Measures" or "[Customer].[Customer Geography]" . |
Member1,…, MemberN | Either a single-member's unique name or an XL3Member formula. |
Examples
These examples are based on the Bicycle Sales cube.
This example returns the set of 12 Revenues for January 2004 to December 2004.
=XL3DataSeries( 1, "Time", "December 2004", 12, "Value", "KeyFigures", "Revenue" )
This example returns a column chart for a set of 12 Revenues from January 2004 to December 2004.
=XL3SparkColumnsM( XL3DataSeries( 1, "Time", "December 2004", 12, "Value", "KeyFigures", "Revenue" ) )