Ayuda de LibreOffice 7.5
You can open the Report Navigator window of the Report Builder by choosing .
The Report Navigator reveals the structure of the report. You can use the Report Navigator to insert functions into the report.
Click an entry in the Report Navigator. The corresponding object or area is selected in the Report Builder view. Right-click an entry to open the context menu.
In the context menu of the Report Navigator, you see the same commands as in the Report Builder view, plus additional commands to create new functions or to delete them.
Se pueden insertar funciones siguiendo la sintaxis especificada en la propuesta OpenFormula (enlace en inglés).
Vea la página del wiki sobre Base para obtener más ayuda con respecto a las funciones en un informe.
Abra el Navegador de informes.
Abra la entrada de Grupos y el grupo donde desea calcular el costo.
El grupo tiene una subentrada llamada funciones.
Abra el menú contextual (pulse con el botón secundario del ratón) en la entrada de las funciones, elija crear una nueva función y selecciónela.
En el navegador de propiedades, verá la función.
Change the name to e.g. CostCalc and the formula to [CostCalc] + [enter your cost column name].
En el valor inicial introduzca 0.
Now you can insert a text field and bind it to your [CostCalc] (appears in the data field list box).
Tal vez tenga que establecer el valor inicial al valor del campo como [campo].
Si hay campos en blanco en la columna de costos, utilice la siguiente fórmula para reemplazar el contenido de los mismos por cero:
[SumCost] + IF(ISBLANK([field]);0;[field])