Insert a calculated legend
The calculated legends enrich your graphical reports thanks to basic calculations forms, allowing to dynamically display information relative to analyses. For example, you could write the dynamic commentary, where the references to the analysis data adapt to the sub-sample chosen. For this :
Write the commentary and the Basic forms
Note that you could find the help online about the forms of Basic calculation at this adress : http://asp.ergole.fr/config/help/fr/basic/
- Write your commentary (see previous operating mode)
- Enrich it with a Basic form. For this, open the properties of the object (in the banner, tab Format, click on the button Properties), then click on the tab Content.
- Click on the button Insert a calculation, to open the assistant of edition of the forms of Basic calculation
- Construct your form. For example, like the example below :
Form :
[a-Drinking Place].RateReponse
[a-Drinking Place] (name of the variable, between brackets) refers to the variable on which the operator of calculation is applied.
The property .RateReponse (a point, from the name of the operation) allows to display the rate of response of the variable.
- For this, the simplest way is to use the drop-down menus present at the bottom of the window. The first drop-down menu allows you to choose the type of elements you wish to add (variables, properties, general functions, etc.), the second giving access to the list of elements of the type chosen. In the example above, we need to add a property which is the rate of responses.
- Click OK to validate the form to the text. The form will be automatically put between brackets.
- Click OK once again. Your commentary is created in the view, and the form is replaced by the value of the rate of response.
Example of calculated legend :
- Commentary and forms :
The rate of response for this question : [[a-Drinking Place].ReponseRate]%
The respondents declare that they drink their favorite beverage first "[[a-Drinking Place].Mode]" ([[a-Drinking Place].Percentage([a-Drinking Place].Mode)]%), then "[[a-Drinking Place].Mode(2)]" ([[a-Drinking Place].Percentage([a-Drinking Place].Mode(2))]%)
- Dynamic display in function of the sub-sample selected :