A Med-Device Sales VP, 400 Reps, and One Question

The question sounds simple. It is the one every national sales leader asks before the quarterly review: which territories are falling behind, and what is actually going on inside them?
At a mid-size medical device company — anonymized here, as our worked examples always are — that question runs a 400-rep field organization selling into hospitals and clinics across the country. The VP who owns the number cannot answer it from any one system. Rep activity sits in the CRM. Orders sit in a separate order system. Quota lives in a planning file. And the regional managers, who each keep their own spreadsheet because the official rollup arrives too late to act on, hold the version of the truth they actually manage against.
So the national number gets assembled by hand, region by region, over days. By the time it lands, the quarter has moved on — and the argument in the review is not about what to do. It is about whose spreadsheet is right.
The rollup is late because the definitions are scattered
Notice where the delay actually comes from. It is not the size of the data. Four hundred reps is not a big-data problem. The delay is definitional. One region counts an account as active if it ordered in the last 90 days. Another uses 60. "Attainment" in one spreadsheet means invoiced revenue; in another it means booked orders. Every regional file is internally consistent, and no two of them agree.
One workspace, one set of definitions
TridaPad is a single workspace that connects to 50+ SQL, NoSQL, Big Data and cloud sources — the CRM database and the order system included — so the question is asked against both at once instead of merged from exports. Inside it, AgentSQL is the agentic analytics layer: a plain-language question comes in, AgentSQL discovers the schema, writes the SQL, tests it, and verifies the result before showing it, with the SQL left visible for anyone who wants to check the work.
The piece that makes a sales rollup trustworthy is Domain Knowledge. AgentSQL carries domain-specific vocabulary, metrics and rules built into its agentic core on the company's own data — and for a device sales organization, that vocabulary is specific: a territory is a named set of accounts, not a state line; attainment is booked orders against quota for the quarter to date; a quiet account is a top account with no order in 45 days; a slipping territory is one below 85% of the pace it needs, not simply one that feels slow. Those definitions are pinned once, in the workspace, where every region's dashboard uses the same ones. When a regional manager disagrees with a number, the argument is about the definition — visible, in the query — not about whose file was newer.
The worked example: one question, asked on a Tuesday
The VP's recurring question is the one below. The numbers in the result are sample numbers; the query is the real shape of the work.
"Which territories are below 85% of quota this quarter, and which of their top accounts have gone quiet — no order in the last 45 days?"
-- Slipping territories and their quiet top accounts
WITH attainment AS (
SELECT t.territory_name,
SUM(o.order_amount) / NULLIF(MAX(t.quota_amount), 0) AS pct_of_quota
FROM orders o
JOIN territories t ON t.territory_id = o.territory_id
WHERE o.order_date >= DATE_TRUNC('quarter', CURRENT_DATE)
GROUP BY t.territory_name
),
quiet AS (
SELECT a.account_name, a.territory_name,
MAX(o.order_date) AS last_order_date
FROM accounts a
JOIN orders o ON o.account_id = a.account_id
WHERE a.is_top_account
GROUP BY a.account_name, a.territory_name
HAVING MAX(o.order_date) < CURRENT_DATE - INTERVAL '45 days'
)
SELECT att.territory_name,
ROUND(100 * att.pct_of_quota, 1) AS pct_of_quota,
q.account_name,
q.last_order_date
FROM attainment att
JOIN quiet q ON q.territory_name = att.territory_name
WHERE att.pct_of_quota < 0.85
ORDER BY att.pct_of_quota, q.last_order_date;In the sample result, three territories come back under the line. The Southwest sits at 78.4% of quota, and two of its top accounts last ordered 52 and 61 days ago. The Great Lakes territory is at 81.2%, with one quiet account at 47 days. The Southeast is at 84.6% — close to the line, one quiet account, worth a look rather than an alarm. That is a different conversation from "sales are down." Each row names the territory, the size of the gap, and the specific accounts to call about — and because the query is saved, it becomes the territory dashboard the VP and the regional managers open together, live, instead of the spreadsheet each of them brought.

The same setup covers the follow-up questions a review actually produces. Which reps in a slipping territory have not logged an account visit in two weeks? Which accounts ordered last quarter but not this one? AgentSQL can also autodiscover insights across the connected tables — a territory drifting below pace week over week — and its alert monitor can flag a region the day it crosses the line, instead of the VP finding out at the quarterly review. The dashboard stops being a report about the past and becomes the place the slippage is caught while there is still quarter left to fix it.
What one question does not fix
Honest limits. First, the rollup is only as honest as the activity data underneath it: if reps log visits in batches on Friday, "last visit" is a Friday-shaped number, and no query repairs that. Second, pinning one definition of attainment ends the spreadsheet argument, but somebody senior still has to choose the definition — booked versus invoiced is a business decision, and the tool's job is to enforce the choice, not make it. Third, a quiet account is a signal, not a diagnosis: an account may be quiet because a contract is mid-renewal or a champion left, and the rep's context is what turns the row on the dashboard into the right call.
Ask the question while the quarter can still change
A 400-rep organization does not have a data problem. It has a definitions problem wearing a data problem's clothes. Connect the CRM and the order system once, pin the vocabulary the business actually runs on, and the VP's question takes a morning instead of a month — asked while the answer can still change the quarter. Try AgentSQL on your own territory data — or write to us at data@tridalabs.com and tell us the question your rollup answers too late.