Tutorial:Dynamic Measure Captions: Difference between revisions

From CoPlanner 10
Jump to navigationJump to search
Created page with "In CoPlanner ist es möglich dynamisch Measurebezeichnungen zu erstellen. Öffnen Sie dazu das BI-Center und eine [[Framework:BI_Center:Eingabemaske_ers..."
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
In CoPlanner ist es möglich dynamisch Measurebezeichnungen zu erstellen.  
CoPlanner allows to define dynamic measure captions.


Öffnen Sie dazu das [[Framework:BI_Center|BI-Center]] und eine [[Framework:BI_Center:Eingabemaske_erstellen|Eingabemaske]]. Markieren Sie im Bearbeitungsmodus im Objektbaum ein Measure. Rechts werden die [[Framework:BI_Center:Eingabemaske_-_Eigenschaften_Measure|Eigenschaften des Measures]] angezeigt.
Therefore please open the [[Framework:BI_Center|BI-Center]] and an [[Enterprise_Edition:Input_mask|input mask]]. Select a measure in the object tree. On the right side the [[Framework:BI_Center:Input_Mask_-_Measure_properties|properties]] of the measure will be shown.


In diesem Beispiel soll auf der Jahresebene die Measurebezeichnung (Menge Ist des Vorjahres) mit der Vorjahreszahl, auf der Monatsebene die Measurebezeichung mit dem Monatsnamen und der Vorjahreszahl dargestellt werden.
In this example following should be shown as measure caption (Quantity actual previous year):
:* On the year element the measure caption and die previous year.
:* On the months the measure caption, the month and the year.


Geben Sie folgenden Ausdruck in die Eigenschaft "Caption" ein:
Please insert following expression in the property "Caption":


<center>'Menge Ist ' + '[[Framework:TimeDimAdd|TimeDimAdd]](M,-12,[Zeit.ID],[[Framework:IIF-Bedingung|IIF]]('[[Framework:TimeDimFlag|TimeDimFlag]]([Zeit.ID])'='Y','yyyy','MMM yy'))'</center>
<center>'Quantity act. ' + '[[Framework:TimeDimAdd|TimeDimAdd]](M,-12,[Zeit.ID],[[Framework:IIF-Condition|IIF]]('[[Framework:TimeDimFlag|TimeDimFlag]]([Zeit.ID])'='Y','yyyy','MMM yy'))'</center>


Wenn Sie das Measure in deutsch und englisch darstellen wollen, sieht der Eintrag folgendermaßen aus:
[[Image:IIF_EN.png|thumb|center|IIF-Condition]]


<center>german='Menge Ist ' + '[[Framework:TimeDimAdd|TimeDimAdd]](M,-12,[Zeit.ID],[[Framework:IIF-Bedingung|IIF]]('[[Framework:TimeDimFlag|TimeDimFlag]]([Zeit.ID])'='Y','yyyy','MMM yy'))';english='Quantity act. ' + '[[Framework:TimeDimAdd|TimeDimAdd]](M,-12,[Zeit.ID],[[Framework:IIF-Bedingung|IIF]]('[[Framework:TimeDimFlag|TimeDimFlag]]([Zeit.ID])'='Y','yyyy','MMM yy'))';</center>
If you would like to display the measure in english and german, the expression looks like this:


Darstellung in der Maske:
<center>german='Menge Ist ' + '[[Framework:TimeDimAdd|TimeDimAdd]](M,-12,[Zeit.ID],[[Framework:IIF-Condition|IIF]]('[[Framework:TimeDimFlag|TimeDimFlag]]([Zeit.ID])'='Y','yyyy','MMM yy'))';english='Quantity act. ' + '[[Framework:TimeDimAdd|TimeDimAdd]](M,-12,[Zeit.ID],[[Framework:IIF-Condition|IIF]]('[[Framework:TimeDimFlag|TimeDimFlag]]([Zeit.ID])'='Y','yyyy','MMM yy'))';</center>


[[image:FM dynamische Measurebezeichung.jpg|center|Dynamische Measurebezeichnung]]
The dynamic display is available for the tooltip too.
 
Diese dynamische Darstellung von Texten steht auch für den Tooltip zur Verfügung.


__NOEDITSECTION__  
__NOEDITSECTION__  


[[Category:Enterprise Edition Tutorial|Dynamic Measure Captions]]
[[Category:Enterprise Edition Tutorial|Dynamic Measure Captions]]
[[de:Tutorial:Dynamische_Measurebezeichnungen]]

Latest revision as of 14:32, 6 October 2014

CoPlanner allows to define dynamic measure captions.

Therefore please open the BI-Center and an input mask. Select a measure in the object tree. On the right side the properties of the measure will be shown.

In this example following should be shown as measure caption (Quantity actual previous year):

  • On the year element the measure caption and die previous year.
  • On the months the measure caption, the month and the year.

Please insert following expression in the property "Caption":

'Quantity act. ' + 'TimeDimAdd(M,-12,[Zeit.ID],IIF('TimeDimFlag([Zeit.ID])'='Y','yyyy','MMM yy'))'
Error creating thumbnail: File missing
IIF-Condition

If you would like to display the measure in english and german, the expression looks like this:

german='Menge Ist ' + 'TimeDimAdd(M,-12,[Zeit.ID],IIF('TimeDimFlag([Zeit.ID])'='Y','yyyy','MMM yy'))';english='Quantity act. ' + 'TimeDimAdd(M,-12,[Zeit.ID],IIF('TimeDimFlag([Zeit.ID])'='Y','yyyy','MMM yy'))';

The dynamic display is available for the tooltip too.