Framework:BI Center:Formula Editor: Difference between revisions

From CoPlanner 10
Jump to navigationJump to search
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
Just in work
__TOC__
__TOC__


Use the Formula Editor to write CoPlanner expressions for masks and CoPlanner Cube item properties. You can use expressions to set many properties, including filter properites, captions, tooltips and special. At run time, the CoPlanner processor evaluates expressions and substitutes the result for the value of the property.  
Use the Formula Editor to write CoPlanner expressions for masks and CoPlanner Cube item properties. You can use expressions to set many properties, including filter properties, captions, tooltips and special. At run time, the CoPlanner processor evaluates expressions and substitutes the result for the value of the property.  


Expressions can be simple or complex. You can type simple expressions directly in a text box on the design surface or in a dialog box. To create complex expressions, use the Formula Editor.  
Expressions can be simple or complex. You can type simple expressions directly in a text box on the design surface or in a dialog box. To create complex expressions, use the Formula Editor.  




To open the Formula Editor, click the Expression button [[image:Icon_Dateiauswahl.jpg]] in properties.  
To open the Formula Editor, click the Expression button in properties.  


[[Image:FW_Formeleditor.jpg|thumb|center|BI-Center, Formula Editor]]
[[Image:FW_Formeleditor.jpg|thumb|center|BI-Center, Formula Editor]]
Line 25: Line 24:


====Item====
====Item====
Zeigt eine Liste gültiger Werte zur ausgewählten Kategorie.
Displays the list of valid values for the selected category. Double-click on an item to add the expression text for this item at the insertion point in the code window.


====Beschreibung====
====Description====
Displays the list of valid values for the selected category.Double-click on an item to add the expression text for this item at the insertion point in the code window.
Depending on the category and item you select, the third pane contains a description, a sample expression, or a list of valid values.  


====Evaluate====
====Evaluate====
This is an optional button. Is opens the Evaluate Dialog box. You can insert values for all parameters and it desplays the result.
This is an optional button. Is opens the Evaluate Dialog box. You can insert values for all parameters and it displays the result.


==Expression Constructs==
==Expression Constructs==
Line 39: Line 38:
The [[Enterprise_Edition:Application_Properties|application properties]] are used to store reference values for calculations or processes in CoPlanner.  
The [[Enterprise_Edition:Application_Properties|application properties]] are used to store reference values for calculations or processes in CoPlanner.  
<br>
<br>
====Clientseitige Funktionen====
====Client-side functions====
[[:Category:Functions_-_client-side|Client-side functions]] are to display data in masks. They are used for dynamic column header, filter captions, tooltips, etc. You can use these functions in input masks, analysis views or row views.
[[:Category:Functions_-_client-side|Client-side functions]] are to display data in masks. They are used for dynamic column header, filter captions, tooltips, etc. You can use these functions in [[Framework:BI_Center:Create_Input_Mask|input masks]], [[Framework:BI_Center:Create_Analysis_View|analysis views]] or [[Framework:BI_Center:Create_Row_View|row views]].
 
 
[[:Kategorie:Funktionen_-_clientseitig|Clientseitige Funktionen]] des Rechenwerks dienen der Darstellung in Masken. Verwendung finden sie für dynamische Spaltenüberschriften, Filterbezeichnung, Tooltips, etc. Derzeit sind diese Funktionen in Kombination in der [[Framework:BI_Center:Eingabemaske_erstellen|Eingabemaske]], [[Framework:BI_Center:Analysesicht_erstellen|Analysesicht]] und [[Framework:BI_Center:Zeilensicht_erstellen|Zeilensicht]] verwendbar.  
<br>
<br>
====Dimensionen====
====Dimensions====
Eine Liste aller in der Maske vorhandenen Dimensionen mit den Dimensionsattributen.
A list of all dimensions and dimension attributes in the mask.
<br>
<br>
====Importe====
====Imports====
Eine Liste aller im System vorhandenen [[Framework:Importe|Importe]].
A list of all [[Framework:Imports|imports]] in the application.
<br>
<br>
====Makros====
====Macros====
Eine Liste aller im System vorhandenen [[Framework:Makros|Makros]].
A list of all [[Framework:Macros|macros]] in the application.
<br>
<br>
====Measures====
====Measures====
Eine Liste aller in der Maske vorhandenen Measure.
A list of all measures in the mask.
<br>
<br>
====Serverseitige Funktionen====
====Server-side functions====
Die [[:Kategorie:Funktionen_-_serverseitig|serverseitige Funktionen]] bieten Zugriff auf alle [[Framework:Session-Variablen|Session-Variablen]], [[Framework:Anwendungseigenschaften|Anwendungseigenschaften]] und den gesamten Datenbestand. [[Framework:Session-Variablen|Session-Variablen]] und [[Framework:Anwendungseigenschaften|Anwendungseigenschaften]] werden mit '@' qualifiziert, serverseitige Funktionen mittels FKT*. Sobald eine [[Framework:Formeln|Formel]] '@' oder FKT enthält wird diese vom Client an den Server gesendet und dort verarbeitet.
The server-side parser has access to [[Framework:Session_variables|session variables]], [[Framework:Application_Properties|application properties]] and the data. [[Framework:Session_variables|Session variables]] and [[Framework:Application_Properties|application properties]] have to be qualified with '@', server-side functions with 'fkt'
If a [[Framework:Formulae|formulae]] contains '@' or 'fkt', the client sends the function to the server and the server executes the function.
<br>
<br>
====Sessionvariable====
====Session variables====
[[Framework:Session-Variablen|Sessionvariable]] sind sitzungsspezifische Eigenschaften, d.h. vom Unternehmen, Szenario und Zeit abhängig.  
[[Framework:Session_variables|Session variables]] are properties, depending on the scenario, company and period.
<br>
<br>


==Siehe auch==
==See Also==
[[Framework:Grundlegendes_zu_Ausdr%C3%BCcken|Grundlegendes zu Ausdrücken]]<br>
[[Framework:Fundamentals_of_Expressions|Fundamentals of Expressions]]<br>
[[Framework:Angeben eines Ausdrucks|Angeben eines Ausdrucks]]<br>
[[Framework:Specify_an_Expression|Specify an Expression]]<br>
[[Framework:Verwenden von Ausdrücken|Verwenden von Ausdrücken]]
[[Framework:Expression_Uses_in_CoPlanner|Expression Uses in CoPlanner]]




__NOEDITSECTION__  
__NOEDITSECTION__  
 
[[Category:Framework|Formula Editor]]
<!--
[[Category:BI Center|Formula Editor]]
[[Category:Framework|Formeleditor]]
[[Category:BI Center|Formeleditor]]
-->


[[de:Framework:BI_Center:Formeleditor]]
[[de:Framework:BI_Center:Formeleditor]]

Latest revision as of 09:08, 13 December 2012

Use the Formula Editor to write CoPlanner expressions for masks and CoPlanner Cube item properties. You can use expressions to set many properties, including filter properties, captions, tooltips and special. At run time, the CoPlanner processor evaluates expressions and substitutes the result for the value of the property.

Expressions can be simple or complex. You can type simple expressions directly in a text box on the design surface or in a dialog box. To create complex expressions, use the Formula Editor.


To open the Formula Editor, click the Expression button in properties.

Error creating thumbnail: File missing
BI-Center, Formula Editor

The Formula Editor includes a code window, category tree, category items and description pane.

The Formula Editor is context-sensitive. The category items and descriptions change in response to the expression category you are working with. It supports syntax coloring to help you detect syntax errors.


Options of Formula Editor

Code window

Use the code window in the top pane to type an expression. When you open the Formula Editor, the code window contains the expression. You can replace or revise the expression. You can add function calls, operators, constants, fields, parameters and application properties.

Category

Displays categories of expressions. Choosing a category establishes a context for creating an expression and changes the list of valid values in the Item pane.

Item

Displays the list of valid values for the selected category. Double-click on an item to add the expression text for this item at the insertion point in the code window.

Description

Depending on the category and item you select, the third pane contains a description, a sample expression, or a list of valid values.

Evaluate

This is an optional button. Is opens the Evaluate Dialog box. You can insert values for all parameters and it displays the result.

Expression Constructs

Choosing a category establishes a context for creating an expression and changes the list of valid values in the Item pane.

Application Properties

The application properties are used to store reference values for calculations or processes in CoPlanner.

Client-side functions

Client-side functions are to display data in masks. They are used for dynamic column header, filter captions, tooltips, etc. You can use these functions in input masks, analysis views or row views.

Dimensions

A list of all dimensions and dimension attributes in the mask.

Imports

A list of all imports in the application.

Macros

A list of all macros in the application.

Measures

A list of all measures in the mask.

Server-side functions

The server-side parser has access to session variables, application properties and the data. Session variables and application properties have to be qualified with '@', server-side functions with 'fkt' If a formulae contains '@' or 'fkt', the client sends the function to the server and the server executes the function.

Session variables

Session variables are properties, depending on the scenario, company and period.

See Also

Fundamentals of Expressions
Specify an Expression
Expression Uses in CoPlanner