Tutorial:Dynamic Measure Captions: Difference between revisions

From CoPlanner 10
Jump to navigationJump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 9: Line 9:
Please insert following expression in the property "Caption":
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:


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


Diese dynamische Darstellung von Texten steht auch für den Tooltip zur Verfügung.
The dynamic display is available for the tooltip too.


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