Display a single value from a database query
enum
- Type of comparison to perform. Options: prior year (same period last year), prior period (previous period of same duration), target (compare against a target value)enum
- What to display for comparison. Options: compared_value (comparison period value), abs (absolute change), pct (percentage change)string
- Target value for target comparison. Can be a column name, aggregation (e.g., “sum(target_sales)”), or literal value.enum
string