Framework:SetMeasureDimension: Difference between revisions

From CoPlanner 10
Jump to navigationJump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:




<span {{CoPFormel}}>SetMeasureDimension(<Measurename>,<Dimensionsname>)</span>
<span {{CoPFormel}}>SetMeasureDimension(<Measure>,<Dimension>)</span>


Ersetzt in einem Measure den Wert mit einem Dimensionselement.
Replaces the value of a measure with a dimension element.
Einzugeben im Feld "[[Framework:BI_Center:Eingabemaske_-_Eigenschaften_allgemein|SpecialDefinition]]" in der Maske.
Please enter in property "[[Framework:BI_Center:Input_Mask_-_General_properties|SpecialDefinition]]" of the mask. The measure has to be defined as datatype "GrosseGanzzahl".
 
Please enter in property "[[Framework:BI_Center:Input_Mask_-_Dimension_properties|SpecialDefinition]]" of the mask.


{| class="wikitable" width="80%"
{| class="wikitable" width="80%"
Line 14: Line 12:
| Description
| Description
|-
|-
|Measurename
|Measuren
|Bezeichnung des Measures.
|Name of the measures.
|-
|-
|Dimensionsname
|Dimension
|Bezeichnung der Dimension.
|Name of the dimension.
|}
|}
 
This function belongs to [[:Category:Functions_-_client-side|client-side functions]].


==Result==
==Result==
Ersetzt den Wert des Measures durch das Element mit der entsprechenden COPSYS_ID aus der übergebenen Dimension.
Replaces the value of a measure with a dimension element with the corresponding COPSYS_ID.
Displays only these elements of a filter, which are assigned to the given constant.


==Example==
==Example==
<span {{CoPFormel}}>SetMeasureDimension(Berechnetes Measure_1,Produkte);;</span><br>
<span {{CoPFormel}}>SetMeasureDimension(Calculated Measure_1,Products);</span><br>
Im Measure "Berechnetes Measure_1" wird der Wert durch ein Element mit der entsprechenden COPSYS_ID aus der Dimension "Produkte" ersetzt.
Replaces the value of the measure "Calculated Measure_1" with a dimension element of the dimension "Products" with the corresponding COPSYS_ID.
 
<span {{CoPFormel}}>ElementFilter(ONLYLEAVES);</span><br>
Displays only elements where the condition "ChildCount = 0" is TRUE.


__NOEDITSECTION__  
__NOEDITSECTION__  


[[Category:Functions|SetMeasureDimension]]
[[Category:Functions_-_client-side|SetMeasureDimension]]
[[Category:Functions_-_client-side|SetMeasureDimension]]
[[de:Framework:SetMeasureDimension]]
[[de:Framework:SetMeasureDimension]]

Latest revision as of 07:53, 24 May 2012

Function

SetMeasureDimension(<Measure>,<Dimension>)

Replaces the value of a measure with a dimension element. Please enter in property "SpecialDefinition" of the mask. The measure has to be defined as datatype "GrosseGanzzahl".

Parameter Description
Measuren Name of the measures.
Dimension Name of the dimension.

This function belongs to client-side functions.

Result

Replaces the value of a measure with a dimension element with the corresponding COPSYS_ID.

Example

SetMeasureDimension(Calculated Measure_1,Products);
Replaces the value of the measure "Calculated Measure_1" with a dimension element of the dimension "Products" with the corresponding COPSYS_ID.