Tutorial:Dynamic Measure Captions: Difference between revisions

From CoPlanner 10
Jump to navigationJump to search
No edit summary
No edit summary
Line 9: Line 9:
Please insert following expression in the property "Caption":
Please insert following expression in the property "Caption":


<center>'Quantity act. ' + '[[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>


If you would like to display the measure in english and german, the expression looks like this:
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-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>
<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>


The dynamic display is available for the tooltip too.
The dynamic display is available for the tooltip too.

Revision as of 16:47, 4 May 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":

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

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.