PAGE MACROS & VIEWS

Show a value inline

Display a single value from a query or table inside Confluence page text.

Insert Simple DB value

Use the Simple DB value macro when a sentence needs one live value instead of a full table. Choose a table or query as its source, then select the value column and how the matching row is chosen.

Choose the record

A query can return a single row, or the configuration can select a record using its key and ordering options. If a row key is required, choose the record in the editor before saving the macro.

Format and compare

Choose an automatic, numeric, percent or integer format. You can optionally provide a goal value or a goal column and select whether a higher or lower value is preferable.

Keep the query narrow

Use SQL filters and limits to make the intended result explicit. Inline value macros are designed for a scalar value and do not expose query parameters for readers to change.