MEASURE() function—so you can express derived logic on top of existing
semantic definitions with both flexibility and governance.
Calculated fields are expressed as Semantic SQL and pushed down to the Cube
backend for evaluation. The semantic layer compiles them with the rest of the
query—rather than applying them only in the browser—so the same validation,
governance, and warehouse execution path apply as for any other Semantic SQL
analysis.
Using AI to create calculated fields
You can ask the Cube AI agent to create custom calculations in natural language. The agent can add or refine calculated fields from different parts of the product—for example while exploring in Analytics chat or working in Workbooks—so you are not limited to a single entry point when you want a new metric or dimension for the analysis in front of you.Creating calculated fields in UI
You can also build and edit calculated fields directly in the workbook. New fields appear in the Calculated fields section of the field picker sidebar.Aggregations from existing dimensions
Right-click a dimension column header and choose an aggregation to create a calculated field automatically. Available aggregations depend on the column type:Calculations from existing measures
Open the menu on a measure column header and use the Calculations submenu for derived calculations:% of previous, % change from previous, and Running total require at
least one dimension in the query.