Tutorial:Dynamic Measure Captions: Difference between revisions

From CoPlanner 10
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
CoPlanner allows to define dynamic measure captions.
CoPlanner allows to define dynamic measure captions.


Therefore please open the [[Framework:BI_Center|BI-Center]] and an input mask.  
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.


Ö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.
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.


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.
Please insert following expression in the property "Caption":
 
Geben Sie folgenden Ausdruck in die Eigenschaft "Caption" ein:


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

Revision as of 15:36, 12 January 2011

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":

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

Wenn Sie das Measure in deutsch und englisch darstellen wollen, sieht der Eintrag folgendermaßen aus:

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'))';


Diese dynamische Darstellung von Texten steht auch für den Tooltip zur Verfügung.