XLCubed is now FluenceXL. The new wiki can be found here: https://help.fluencexl.com/ |
Difference between revisions of "XL3Set"
(Created page with "Returns a name that can be used in place of a set in other formulae. Multiple members can be specified in a range to form one set. This formula can be used with XL3Member...") |
|||
Line 31: | Line 31: | ||
If you create a set with XL3Set you can use it with XL3Member to retrieve cube values. In the example below we can a set of members in column {{Code|C}} which control a formula report. | If you create a set with XL3Set you can use it with XL3Member to retrieve cube values. In the example below we can a set of members in column {{Code|C}} which control a formula report. | ||
− | The set formula in {{Code|A1}} is {{Code|XL3Set(1, "[Geography].[Geography]", "my countries", C1:C10)}}, and the member formula in {{Code|G6}} is {{Code| | + | The set formula in {{Code|A1}} is {{Code|XL3Set(1, "[Geography].[Geography]", "my countries", C1:C10)}}, and the member formula in {{Code|G6}} is {{Code|XL3Member(1,"[Geography].[Geography]",A1)}} |
[[File:xl3set1.png|thumb|center|500px]] | [[File:xl3set1.png|thumb|center|500px]] |
Revision as of 14:31, 8 September 2017
Returns a name that can be used in place of a set in other formulae. Multiple members can be specified in a range to form one set.
This formula can be used with XL3Member and XL3MemberSet to drive reports.
Syntax
XL3Set( Connection, Hierarchy, Name, Member1, [Member2],…,[MemberN] )
Parameters
Parameter | Description |
---|---|
Connection | Connection number to use |
Hierarchy | Name of the hierarchy that the member applies to e.g. "Measures" or "[Customer].[Customer Geography]" |
Name | Name of the set to return |
Member1,…, MemberN | Members to use |
Examples
Using with XL3Member
If you create a set with XL3Set you can use it with XL3Member to retrieve cube values. In the example below we can a set of members in column C which control a formula report.
The set formula in A1 is XL3Set(1, "[Geography].[Geography]", "my countries", C1:C10), and the member formula in G6 is XL3Member(1,"[Geography].[Geography]",A1)