@threshold
Sets a target value for a series and highlights the series values that have met the threshold
Quick Reference
-- @thresholds: Sales(50000)Valid Values
Full Example
-- @chart: column
-- @title: Baselines - Average Baseline
-- @subtitle: An example column chart showing sales by month
-- @formats: currency
-- @series: Sales
-- @baselines: Sales
SELECT
TRUNC(date_closed, 'MONTH') as Month,
sum(amount) as Sales
FROM sales
GROUP BY TRUNC(date_closed, 'MONTH')
ORDER BY TRUNC(date_closed, 'MONTH') ASC
Use Cases
Example Charts
Last updated