Formula Definition
Configuration Location
Formulas are defined in two places within sheet configuration:Function Signature
Every formula function follows this pattern:Accessing Item Properties
Use bracket notation to access work item field values:Field Access Patterns
Return Values
Named vs. Inline Formulas
Named Formulas
Define reusable formulas in the top-levelformulas object, then reference by name in column definitions:
Inline Formulas
Define the formula directly on the column:Formula Execution Behavior
Displaying a Value and Storing It Are SeparateOpening a document recalculates every formula and shows current values, but does not rewrite stored data. Values reach Polarion when you save the document — for rows that were created or edited, or that Check stored formulas marked as drifted. Formulas and Column Visibility covers the full rule, including the behavior on versions earlier than v26.7.1.
Bridging Top Panel Functions
For complex calculations, define JavaScript functions in therisksheetTopPanel.vm file and call them from sheet configuration formulas:
Check Stored Formulas
When formula columns havereadOnly: false, or when items are imported without formula execution, use Menu > Rows > Check stored formulas (available since v24.5.1) to reconcile formula values between Polarion and Risksheet.
Complete Example
Related Pages
- Formula Functions — built-in helper functions for formulas
- Formula Examples — ready-to-use formula patterns
- Calculated Columns — column configuration for calculated fields
- Cell Decorators — conditional styling driven by formula values
- Top Panel Template — defining helper functions in the top panel