Framework:SetMeasureDimension: Difference between revisions

From CoPlanner 10
Jump to navigationJump to search
No edit summary
No edit summary
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.
 
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.
|}
|}


==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 a 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__  

Revision as of 13:16, 23 May 2012

Function

SetMeasureDimension(<Measure>,<Dimension>)

Replaces the value of a measure with a dimension element. Please enter in property "SpecialDefinition" of the mask.

Parameter Description
Measuren Name of the Measures.
Dimension Name of the Dimension.

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 a measure "Calculated Measure_1" with a dimension element of the dimension "Products" with the corresponding COPSYS_ID.