XLCubed is now FluenceXL. The new wiki can be found here: https://help.fluencexl.com/ |
Difference between revisions of "XL3LookupRW"
(Using the Standard_HierarchyMember_List template) |
|||
Line 5: | Line 5: | ||
==Syntax== | ==Syntax== | ||
− | {{Code|XL3LookupRW( | + | {{Code|XL3LookupRW( Connection, [Hierarchy1], [Member1],…, [Hierarchy14], [Member14] )}} |
==Parameters== | ==Parameters== | ||
Line 12: | Line 12: | ||
! Description | ! Description | ||
|- | |- | ||
− | | {{Code| | + | | {{Code|Connection}} |
| Connection number to use | | Connection number to use | ||
− | + | {{Standard_HierarchyMember_List}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
Revision as of 08:59, 7 October 2010
Returns a cube cell value for a given cross section of the cube. Allows the formula to be typed on to perform a writeback operation for the given tuple.
Use the Insert Formula > Value menu or ribbon item to insert the formula using a wizard.
Contents
[hide]Syntax
XL3LookupRW( Connection, [Hierarchy1], [Member1],…, [Hierarchy14], [Member14] )
Parameters
Parameter | Description |
---|---|
Connection | Connection number 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)
Revenue 2004.
=XL3LookupRW( 1, "[Time]", "[Time].[2004]", "[KeyFigures]", "[KeyFigures].[Revenue]" )
Sum of Revenue 2003 and 2004.
=XL3LookupRW( 1, "Time", "2003,2004", "KeyFigures", "Revenue" )
XL3LookupRW using MDX
You can specify MDX calculation for members using the MDX: syntax.
Variance %.
=XL3LookupRW( 1, "Channel", "Direct Sales", "KeyFigures", "Revenue", "Scenario", "MDX:(Budget-Actual)/Budget", "Time", "January 2003" )
% of Previous Year.
=XL3LookupRW( 1, "Time", "2003", "Measures", "MDX:((Measures.Revenue,ParallelPeriod(Time.Year))-(Measures.Revenue))/(Measures.Revenue,ParallelPeriod(Time.Year))" )