Framework:BI-Center:Conditional Formatting: Difference between revisions

From CoPlanner 10
Jump to navigationJump to search
No edit summary
No edit summary
Line 7: Line 7:
In this example you define a conditional formatting for the measure "in percent". Numbers between +5% and -5% have a white background color. A variance less than -5% will be red, a variance greater than 5% will be green.
In this example you define a conditional formatting for the measure "in percent". Numbers between +5% and -5% have a white background color. A variance less than -5% will be red, a variance greater than 5% will be green.


===Schritt 1: Definieren der Formate===
===Step 1: Define your formats===


Es erfolgt die Erstellung der Formate.
You create the styles.


{| {{Bausteindesign2}}
{| {{Bausteindesign2}}
|-
|-
|<span style="color: darkblue">'''Eingabe'''</span> &nbsp;Öffnen Sie den Assistenten für bedingte Formatierungen über „StyleDefinition“ und legen Sie drei neue Formate an. Vergeben Sie die Bezeichnungen „Abweichung positiv“, „Abweichung negativ“ und Normal“.
|<span style="color: darkblue">'''Input'''</span> &nbsp;Open the assistant and create three styles and give the names "Variance positive", "Variance negative" and "Normal".
|}
|}


[[image:Fw_BI_Center Matrix Sicht Designer05.jpg|thumb|center|Framework, Anlegen der Formate]]
[[image:Fw_BI_Center Matrix Sicht Designer05.jpg|thumb|center|Framework, Create styles]]


{| {{Bausteindesign2}}
{| {{Bausteindesign2}}
|-
|-
|<span style="color: darkblue">'''Eingabe'''</span> &nbsp;Vergeben Sie mit Hilfe des Farbauswahl-Dialoges die entsprechenden Hintergrundfarben „Grün, Rot und Weiß.
|<span style="color: darkblue">'''Input'''</span> &nbsp;Choose the right ccolor therefor.
Choose "Next" and create three conditions and name them like the styles.
|}
|}


[[image:Fw_BI_Center Matrix Sicht Designer06.jpg|thumb|center|Framework, Hintergrundfarbe festlegen]]
===Step 2: Definieren der Bedingungen===
 
{| {{Bausteindesign2}}
|-
|<span style="color: darkblue">'''Eingabe'''</span> &nbsp;Klicken Sie auf die Schaltfläche „Weiter“ und legen Sie drei Bedingungen an. Benennen Sie die Bedingungen wie die Formate.
|}
 
===Schritt 2: Definieren der Bedingungen===


[[image:Fw_BI_Center Matrix Sicht Designer07.jpg|thumb|center|Framework, Bedingungen definieren]]
[[image:Fw_BI_Center Matrix Sicht Designer07.jpg|thumb|center|Framework, Bedingungen definieren]]

Revision as of 14:17, 23 November 2010

With the support of the "Conditional Formatting Assistant" you can define different styles for each measure. You open this assistent in an analyse view or an input mask from the property "StyleDefinitionObject".

File:Fw BI Center Matrix Sicht Designer04.jpg
Framework, Conditional Formatting Assistent

The assistant contains two steps. In the first step you define the styles, in the second step you define the conditions.

In this example you define a conditional formatting for the measure "in percent". Numbers between +5% and -5% have a white background color. A variance less than -5% will be red, a variance greater than 5% will be green.

Step 1: Define your formats

You create the styles.

Input  Open the assistant and create three styles and give the names "Variance positive", "Variance negative" and "Normal".
Error creating thumbnail: File missing
Framework, Create styles
Input  Choose the right ccolor therefor.

Choose "Next" and create three conditions and name them like the styles.

Step 2: Definieren der Bedingungen

Error creating thumbnail: File missing
Framework, Bedingungen definieren
Eingabe  Für die „Abweichung positiv“ wählen Sie bitte das gleichnamige Format und das (Spalte-)Measure „in Prozent“. Als Bedingung doppelklicken Sie auf das Measure [in Prozent] in der Liste Measure und schreiben danach > 5.

Wiederholen Sie den Vorgang für die Bedingungen „Abweichung negativ“ und „Normal“.

Die Bedingungen in der Übersicht:

Name Style Measure Bedingung
Abweichung positiv Abweichung positiv in Prozent [in Prozent]>5
Abweichung negativ Abweichung negativ in Prozent [in Prozent]<5
Normal Normal in Prozent [in Prozent]>=-5 AND [in Prozent]<=5


Eingabe  Bestätigen Sie den Assistenten mit „Fertigstellen“.
Error creating thumbnail: File missing
Framework, Bedingte Formatierung