Metric dictionary for reports and dashboards
Use this dictionary to build or check every number in the signed-in app. Each ready metric states its formula, date field, time window, source fields, drill-down sort and edge cases. Each held metric states Unknown and the exact field the town office must supply before a rate is published.
How this dictionary was checked
Every number stated in this site pack was traced to its source page. That includes the leader dashboard and admin analytics cards on Reports and setup, the three cards in Workspace admin analytics by status, age and time to decision, the lifecycle measures in KPI definitions, the funnel and install cards in Conversion funnel from first visit to first permit submitted, and the event counts in Analytics audit and event taxonomy. A metric is ready only where the pack states its formula, date field and window. Where a field is not in supplied context, this dictionary writes Unknown and names the field. Canonical precedence is the record and the town document for that record, then this dictionary, then summary pages.
- No fee amount, day count, code section or person fact is added by this dictionary. Where a value is not in a supplied field, read it as unknown on this site.
- The pack states cards, tables and drill-down lists. No chart library, vendor, cookie or fingerprint is stated. Do not add one to render a number.
- A draft is never counted as submitted, decided, issued or activated. One records.record_number counts once. A merged duplicate counts the survivor only, by earliest submitted date, and the closed duplicate stays readable without adding a count.
Inventory by location
Read the table in order before you build a card. My work counts reuse the snapshot metrics in the ready dictionary with an assignee filter. They are not new formulas.
| Location in the signed-in app | Numbers shown | Metric IDs | Window shown |
|---|---|---|---|
| Leader dashboard cards | Applications received, permits issued, average and median days to issue, inspections completed, code cases, fees collected. Each card shows period, filters and definition and opens the records behind it. | M01, M02, M03, M04, M17, M18, M19 | Chosen window by date field named per metric. Default trailing 90 days where the card offers a window. |
| Admin analytics dashboard cards | Approval rate, median time to decision, overdue, stuck, workload by stage, workload by reviewer, permits by status and age, approvals over time. | M05 to M12, with M15 and M16 as the cohort and bottleneck views of the same fields | Windowed cards use decision date. Snapshot cards use today and ignore the window control. Each card states which rule applies. |
| My work and Today | Open reviews, inspections and cases assigned to me, due dates, days waiting, items past target. Overdue first, then due today. | M09 to M12 filtered by assigned reviewer or role. Days waiting is the M12 field per task. | Snapshot as of today. No trailing window changes the snapshot date. |
| Saved report and export header | Parameters, row count, user, time, row limit, filters and date in the file. Total counts distinct record numbers across all pages. | M01 to M24 use the same header rule. One record number counts once even with many parcels, contacts or documents. | Period and filters as run. Truncated result is never read as a complete list. |
| Portal home tiles | Drafts to finish, records in progress, fees due, upcoming inspections, unread messages. Tile counts and tile filters are Unknown in supplied context. | Unknown: tile count formula not in supplied site pack. Do not publish a tile rate until the town office supplies the count rule per tile. | Unknown: tile window not in supplied site pack. Open the filtered list from the tile and read its header. |
| Public site events | page_view, cta_click, signup_start and form events. Baseline is zero events recorded today. The signed-in app at /app/ is out of scope for those events. | See Analytics audit and event taxonomy. No signed-in metric in this dictionary uses a public event as its source. | Event date in trailing 30, 90 or 365 days or a custom range, where the town decides to send events. |
Common rules for every ready metric
Apply these rules to all metrics in the ready dictionary, with no exception for a single card.
- Scope is workspace records only. Workspace is fixed to the signed in workspace, or to this town on public search. There is no workspace picker and no way to list another workspace by typing its name.
- Filters are the same six fields on every list: Text contains, Status exact multi-select, Record type exact multi-select, Date from to inclusive, Owner exact staff only, and Workspace fixed. Combining filters narrows a list and never widens it. A record must match every filter that is set. Within Status and within Record type the rule is OR, across fields the rule is AND. Leave a filter blank to include every value for that field. Clearing one filter removes only that filter. Clear all returns to the first page in the same workspace with the same sort order.
- Owner is shown on staff cards only and matches assigned person, team, department or role. Public search and My records hide Owner and show the workspace total only.
- Day counts are calendar date differences in the town time zone. A period starts at 12:00 a.m. on the start date and ends before 12:00 a.m. on the day after the end date. Today is the calendar date in the town time zone on the day the card is shown and the card shows that snapshot date.
- Rounding: a rate is shown with one decimal place. A median is shown with one decimal place only where the average of two middle values gives a half day, and otherwise as a whole number of days, with the decided or issued count beside it so a reader can reproduce the median.
- Missing date rule: a record with no submitted date, decision date, issued date, due date or current stage entry date is excluded from the calculation that needs that date, counted separately as missing that date in the drill-down list, and never given a substitute date from another record.
- Every card shows count or value, window or snapshot date, active filters, definition, and a link that opens the filtered record list with the same filters and the sort named in the dictionary. If a filter or window changes, the card and the list change together.
Ready dictionary, M01 to M24
Build these metrics from fields already recorded. Do not rename a metric to match another metric. M04 and M05 are different numbers with different date fields.
| ID and name | Formula and window | Source fields | Drill-down sort and edge cases |
|---|---|---|---|
| M01 Applications received | Count with submitted date in window, one per records.record_number. Drafts excluded. | records.record_number, records.status, submitted date, record type, parcel | Sort submitted date newest first. Return for corrections and resubmission does not recount. Missing submitted date excluded and counted separately. |
| M02 Permits issued | Count with issued date in window, one per record number. Approved but not issued excluded. | records.record_number, records.status, issued date, decision date | Sort issued date newest first. Express issue after payment counts on issued date only. |
| M03 Average days to issue | Mean of issued date minus submitted date for issued records in window only. | submitted date, issued date | Sort day count largest first with both dates. Not yet issued excluded. Draft time before submission excluded. Do not use to reproduce M04 or M05. |
| M04 Median days to issue | Median of issued minus submitted for issued only, by issued date in window. Show issued count beside median. | submitted date, issued date, record type, department, parcel | Sort day count largest first. Different from M05. One decimal only for a half day median. |
| M05 Median time to decision | Median of decision date minus submitted for decided in window. Decided means approved, denied or issued counted as approved by decision date. Show decided count. Unified name. Permit approval cycle time is this same metric. | submitted date, decision date, records.status, assigned reviewer | Sort day count largest first with submitted, decision and day count. Withdrawn, expired, draft, returned and still open excluded. |
| M06 Permit approval rate | Approved plus issued counted as approved, divided by decided, times 100, one decimal. Window by decision date. | records.status, decision date, submitted date, permit type, department, parcel, workflow stage | Sort decision date newest first. Use decision outcome on record, not current status alone where status changed after decision. |
| M07 Approvals over time | Group M06 by decision month in town time zone. Per month show decided count, approved count and rate. | decision date, records.status, submitted date, permit type, department, parcel | Sort month newest first. Month with 0 decided shows count 0 and no rate, never 0 percent. Monthly decided counts sum to M06 decided count. |
| M08 Permits by status and age | Snapshot today. Group submitted by current status. Per status show count, median age (today minus submitted), buckets 0 to 7, 8 to 14, 15 to 30, 31 or more. Open subtotal excludes approved, denied, withdrawn, expired, closed. Issued own row. Returned own row. | records.status, submitted date, due date, workflow stage, reviewer or role, permit type, department, parcel | Sort age largest first within status, then submitted date. Missing submitted date counted separately, never bucketed. Age 0 means submitted today. |
| M09 Overdue permits | Snapshot today. Count open where due date is before today. Days overdue is today minus due date. Due today is 0 and is not overdue. | records.record_number, permit type, status, workflow stage, due date workflow_tasks.due_at, reviewer or role, parcel, last activity date | Sort days overdue largest first, then due date. Window control does not change snapshot. Exclude terminal statuses and issued with no open step. |
| M10 Stuck permits | Snapshot today. Count open where days since last activity is greater than threshold and not waiting on applicant. Default 14, options 7, 14 or 30 shown on card. Equal to threshold is not stuck. | status, workflow stage, submitted date, last activity date, due date, reviewer or role, parcel | Sort days since last activity largest first. Excludes returned for correction and waiting on applicant. No activity ever uses submitted date. Future due date alone does not exclude. |
| M11 Workload by stage | Snapshot today. Count open grouped by current workflow stage, with overdue count and median days in stage (today minus stage entry date for current stage). | workflow stage, stage entry date, due date, reviewer or role, parcel, last activity date | One row per stage, sort overdue largest first then open count. Grouping is not a filter. Missing stage entry date excluded and counted separately. |
| M12 Workload by reviewer | Snapshot today. Count open and open review tasks grouped by assigned reviewer, with overdue count, due today count and median days waiting (today minus task assignment date). One row per reviewer plus one row per role for unassigned. | workflow stage, review task status, reviewer name, assigned role, task assignment date, due date, parcel, last activity date | Sort overdue largest first then open count. Reassignment uses latest assignment date. Use to balance work, not to judge a person. |
| M13 Completion to decision | Cohort by submitted date in window. Numerator decided with decision date on or before period end. Denominator all submitted in cohort. Times 100, one decimal, with both counts. | submitted date, decision date, records.status, record type, workflow stage | Sort submitted date cohort order. Still open, withdrawn and expired stay in denominator named by status. Do not reproduce from M06. |
| M14 Completion to issuance | Same cohort as M13. Numerator issued with issued date on or before period end. Denominator all submitted in cohort. Times 100 with both counts. | submitted date, issued date, records.status, record type, workflow stage | Approved but not issued stays denominator as not yet issued. Separate card from M13. |
| M15 Drop-off by step | Cohort counts by status at period end plus snapshot open by current stage. Shows counts and shares of cohort. | submitted date, status, workflow stage, stage entry date, due date, last activity date, reviewer or role | Cohort sort by submitted date. Snapshot sort as M11. Does not reconstruct earlier stage entry dates. That share is held H04. |
| M16 Bottleneck stages | Snapshot today per current stage. Per stage show open count, overdue count, median days in stage and stuck count per M10 rule. Rank overdue largest first then open. | workflow stage, stage entry date, due date, last activity date, submitted date, reviewer or role, parcel | Sort days in stage largest first within stage and role row. Act by moving step or reassigning with reason on record. |
| M17 Inspections completed | Count per inspection with final result received by server in window. Result date is synced time for offline work. Pass, fail and not applicable count as completed. | inspection type, scheduled date and window, result per item, result date | Sort result date newest first. Scheduled, cancelled and queued do not count until received. Reinspection counts on its own result date. One per inspection, not per item. |
| M18 Code cases | Opened count uses created date in window, one per case number. Open at period end uses status at end date. Case with open violation is not closed. | case number, records.status, created date | Sort created date newest first for opened. Anonymous counts as one case each. |
| M19 Fees collected | Count per payment with payment posted date in window, amount net of credits posted in period. Invoiced amount shown separately from collected amount. | fee_schedules.name, fee_items.amount_cents, invoices.balance_cents, payment posted date | Sort payment date newest first with invoice and receipt. One per payment, not per fee line. Split payment is two payments on same invoice. |
| M20 Credits, refunds and waivers | Count per credit entry linked to original invoice and payment, posted date in window, counts once, reduces M19, never a new payment or new fee. | invoice, payment, credit posted date, reason, user and time | Sort posted date newest first. Refund method and timing Unknown where not on record. Ask town office and do not assume. |
| M21 Draft permits | Snapshot at period end. Count drafts in Drafts to finish, one per draft record. | records.status draft | Draft never counted as received, issued, paid or activated. Draft that submits leaves count and enters M01 in submission period. No draft rate, see H03. |
| M22 Searches | Count per submitted query in window. Public and staff lanes separate. Distinct record numbers returned, not rows across pages. | submitted search time, filters, total distinct record numbers | Sort search time newest first. Typing and page changes are not new searches. No search text stored as a metric field. |
| M23 Active workspaces, period activity | Count workspaces with any submitted, issued, resulted, opened, closed or paid activity in window, one per town workspace. Draft only does not count. | workspace identity as town company, activity date | Sort workspace name with first activity date in window. Different from H02 and H06. Never substitute one for another. |
| M24 Withdrawn and expired counts | Snapshot at period end. Counts by status withdrawn and expired, one per record number, shown beside submitted count and M21. | records.status at period end, snapshot date | Count only, no rate. Denied is a decision, not abandonment. Reason read on record where stated. |
Held dictionary, H01 to H08
Do not publish a rate for a held metric. Show Unknown with the field name on the card until the town office supplies the field and a test passes.
| ID and name | Why it is held | Field the town office must supply |
|---|---|---|
| H01 First-time submission success rate | Intake outcomes are stated in words but no single field counts intake attempts per record. Counting from history entries can be read differently by two towns. | Unknown: intake attempt count field not in supplied context. Supply first-check outcome per record and outcome date, backfill from history, test on a returned then accepted test record. |
| H02 Workspace activation rate, 30 days | No workspace creation date is named in supplied context. Using first activity date as a substitute would overstate activation. | Unknown: workspace creation date not in supplied context. Store provisioned date once in town settings, keep read-only, log corrections with user and time. |
| H03 Draft abandonment rate | Draft counts at snapshot are ready as M21. A rate needs drafts created in a window as denominator. | Unknown: draft creation date not in supplied context. Do not publish a draft rate until that field is supplied. |
| H04 Intermediate stage conversion share | Current stage entry date is stated for open work at snapshot only. Entry date per earlier stage is not named as a single field. | Unknown: stage entry date per stage not in supplied context. Add one explicit date field per stage per record and test before publishing a share. |
| H05 Funnel rates 1, 2, 3 and 6, and visitor to install | First visit, sign-in started and succeeded, and install complete events are not in supplied site pack. Baseline for those events is zero recorded today. | Unknown: first visit event, sign-in event fields and install_complete event not in supplied site pack. Supply with same person key and timestamp rule, test on a test workspace, record in setup notes. |
| H06 Install to active workspace | First submitted record count is ready per workspace. Cohort cannot be defined without install date. | Unknown: install date field and install_complete event not in supplied site pack. Store install date per workspace, do not use first sign-in, first record or workspace creation date as a substitute. |
| H07 Workspace created to first permit type published | Publish gate and status are stated. Creation date is missing, and publish date is read from history and needs a field check. | Unknown: workspace creation date not in supplied context. Confirm publish date field on type record before publishing a rate. |
| H08 Workspace created to first permit submitted, 90 days | Numerator per workspace can be checked from submitted date today. Rate cannot be published without creation date and pending rule. | Unknown: workspace creation date not in supplied context. Count only cohos with full 90 days elapsed or show pending with days remaining. |
Corrections applied
Each correction states the canonical rule that supersedes conflicting wording on a summary page. The record and town document for that record still govern where this dictionary and a record differ.
| Correction | Canonical rule in this dictionary | Supersedes |
|---|---|---|
| C1 One median name | M05 median time to decision is the same number as permit approval cycle time. M04 median days to issue is a different number by issued date. | Any page that labels approval cycle time as days to issue or uses one to reproduce the other. |
| C2 Issued handling | Issued counts as approved by decision date for M05 and M06, shows as its own row for M08, and is excluded from open work for M09 to M12 because it has no open workflow step. | The ambiguous terminal list that excluded issued from the terminal list while counting open work by stage and due date. |
| C3 Three workspace numbers | M23 active workspaces in a period, H02 activation within 30 days of creation, and H06 install to active within 30 days of install are three metrics with different cohorts and denominators. | Any use of period activity to reproduce an activation rate or an install rate. |
| C4 Completion name | M13 and M14 are stage conversion and completion rate under one pair of names, to decision and to issuance, on a submitted cohort. | Duplicate cards that publish the same cohort rate under two names or reproduce it from M06 or M02 window counts. |
| C5 Snapshot versus window | M08 to M12, M15 snapshot part and M16 ignore the trailing window control. M01 to M07, M13, M14, M17 to M20 and M22 use the date field named per metric in the window. | Any reading that a trailing 30, 90 or 365 day choice changes an overdue, stuck or workload snapshot date. |
| C6 Boundary rules | Due today is 0 and is not overdue. Stuck is greater than threshold, not greater or equal. A month with 0 decided shows no rate. | Any card that counts due today as overdue, equal to threshold as stuck, or 0 decided as 0 percent. |
| C7 Missing dates | Exclude from the calculation that needs the date and count separately as missing that date. Never substitute another date or a date from another record. | Any estimate, average or paraphrase used to fill a missing submitted, decision, issued, due or stage entry date. |
| C8 Searches and fees | M22 counts one per submitted query with distinct record numbers per lane. M19 counts one per payment net of credits posted in period, with invoiced amount separate. | Any count of keystrokes or pages as searches, or any fee total that adds credits as new payments. |
| C9 Owner grouping | Group by assigned reviewer or role on staff cards only, with one row for unassigned work. Public and applicant lists show workspace total only. | Any Owner split on public search, My records or a public or applicant card. |
| C10 Portal tiles | Portal home tile counts are Unknown until a count rule per tile is supplied. Do not publish a tile rate from M09 to M24 by assumption. | Any tile number read as a dashboard KPI without its own stated formula. |
Build in order
Work through these steps in order before you publish a card. Each step ends with what you should see when it worked.
Confirm the fields exist
Check records.record_number, records.status, submitted date, decision date, issued date, due date workflow_tasks.due_at, stage entry date for current stage, last activity date, task assignment date and workspace identity on test records in the town workspace. You should see each field on the record or Unknown with its name where it is missing.
Build windowed volume and decision cards first
Build M01, M02, M05, M06 and M07. You should see monthly decided counts sum to M06, and each median reproduced from day counts on the drill-down list.
Build snapshot cards next
Build M08 to M12. You should see snapshot date on each card, due today counted as due today, and overdue sorted first.
Build cohort and bottleneck cards
Build M13 to M16 from the same fields. You should see both counts beside each cohort rate and still open records named in the denominator.
Build money, inspection, code and search cards with missing counts
Build M17 to M24. You should see invoiced amount separate from collected, credits linked to original payment, and missing date counts beside each card that needs a date.
Hold held metrics in writing
For each H01 to H08 row, record the Unknown field name in setup notes or supply the field and test it. You should see no held rate published and no substitute date used.
Test on a test record, then publish
Walk a clearly marked test record through submit, intake, review, decision, issue, inspection and payment. Check that only the metric for the stage just completed changes, that drafts and the test record do not appear in public search, and that each card and its list show the same records with the same filters.
Reports and setup · KPI definitions · Workspace admin analytics · Search a public record · Security
What this page does not publish
This page does not publish a fee amount, a rate for a held metric, a page view count, a sign-in count, an install count or a day count that is not on a record. Those items are shown only where a town supplies the field on a card, and are not added here without the town document that sets them. Where a field is not in supplied context, read it as unknown on this site and ask the town office for the town document for your workspace.
Bring your card list to the demo
Tell us which metric you need first, and we will show the card and the list behind it with your types and fees.