Goals are absent from the query.
SQL retrieves rows. It has no opinion about whether those rows represent success. Every dashboard hand-codes that opinion in brittle UI logic.
SmashGL is a declarative, goal-aware query language. You express the outcome you want — a target, a window, a condition — and the system evaluates progress, forecasts attainment, and renders the result.
Three layers — intent, evaluation, visualization — collapsed into a single declarative form. Below: a SmashGL query in flight.
“Data isn't truth.
Goal achievement is.”
For thirty years analytics languages have answered what happened. SmashGL answers whether you're winning — by treating goals as first-class objects in the query itself.
SQL retrieves rows. It has no opinion about whether those rows represent success. Every dashboard hand-codes that opinion in brittle UI logic.
"This quarter," "rolling 30 days," and "BFCM weekend" are first-class concepts in business — and second-class strings in every existing query language.
The query doesn't know how it should be drawn. So humans build dashboards by hand, repeating the same arc-gauge-pill grammar for every metric.
"What were our net sales this month?"
SELECT SUM(net_sales)
FROM sales
WHERE created_at >= date_trunc('month', now());
-- ...then a human decides
-- whether the number is good.
"Are we on track to hit $50K this month?"
GOAL hit revenue >= $50,000 this month COMPARE previousYear SOURCE shopify.sales.net_sales AS revenue SMASH metric WITH alert TITLED "March Revenue"
The right column compiles to the left, then computes status, forecast, and gap automatically.
SmashGL is a patent-pending language and reference implementation. We're talking with implementers, partners, and licensees.