Excel Client:CellRead

From CoPlanner 10
Revision as of 08:04, 7 May 2010 by Admin (talk | contribs) (Created page with '==CellRead(CubeName, MeasureName, <nowiki>[</nowiki>Slicer1<nowiki>]</nowiki>, …, <nowiki>[</nowiki>Slicer15<nowiki>]</nowiki>) == The CellRead function loads data from the Co…')

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

CellRead(CubeName, MeasureName, [Slicer1], …, [Slicer15])

The CellRead function loads data from the CoPlanner server corresponding to the object, the measure (field), and the slicer (filter). The filters Slicer1 through Slicer9 are optional. This means that the parameter can be filled if desired, but that filling the parameter is not mandatory.

Parameter

CubeName The name of the object whose data must be read.
MeasureName The name of the measure (field) whose value must be read out.
SlicerX Filter setting in the format “Dimension:=Element”.


Example

Function Result
CellRead(„Umsatzerloese_PLAN“; „Umsatz“; „Zeit:=2005“; „Produkte:=Rennräder“; „PC/KST:=Verwaltung“) je nach Wert, entsprechend der Parameter


Example with absolute cell references based on filter settings that can be performed in the report by the user via ElemSelect:


Example

Function
CellRead(„Umsatzerloese_PLAN“; „Umsatz“; „Zeit:=“&$B$1; „Produkte:=“&$B$2; „PC/KST:=“ &$B$3)


Filteroperatoren

In this function, you can use filter operators together with the selected filter element in order to define your selection more closely. The filter operator will always be applied to the selected element. The following filter operators are available:

Filter operators Description
:= Displays selected element and all elements below it.
$= Displays only values of this dimension element.
!= Displays all values except that of the selected filter element.
>> Only in time dimensions: Displays all elements that are larger.
<< Only in time dimensions: Displays all elements that are smaller.
>= Only in time dimensions: Displays the selected element and all elements that are larger.
<= Only in time dimensions: Displays the selected element and all elements that are smaller.