Workspace admin analytics by status, age and time to decision
Use these three cards together to see where permits sit, how old they are, whether approvals are changing over time, and how long a decision took. Each card is calculated only from fields already on the record. No new field is needed for these three cards.
Common rules for the three cards
These rules match the admin analytics section on the reports and setup page, so a card and the list it opens show the same records.
- Scope is workspace records only. A card never mixes records from another town or workspace, and the signed-in role check applies on every run. Staff see only work assigned to their role or department where the list applies.
- Filters are the same six fields used 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, it never widens it. Leave a filter blank to include every value for that field.
- 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 means the calendar date in the town time zone on the day the card is shown, and the card shows that snapshot date.
- Draft permits are never counted as submitted, decided or aged as submitted work. One record number counts once, and a revised version, a reschedule or a history entry does not create a new count.
- Every card shows the count or value, the window or snapshot date, the active filters, the definition, and a link that opens the filtered record list. If a filter or window changes, the card and the list change together.
- Where a submitted date or a decision date is not on the record, the record is excluded from the age or time calculation that needs that date and is counted separately as missing that date in the drill-down list. Do not substitute another date, and do not use a date from another record.
- Empty period: where the count that a rate or median needs is zero in the window, the card shows the count 0 and no rate and no median, not 0 percent and not 0 days. A rate or median with a zero denominator is not shown as zero, because 0 would be read as a measured result for a period with no decided or no submitted records. The drill-down list for that window shows total 0 and no rows, with the active filters kept in place.
The three cards, side by side
Read the table in order before you build a card. The source fields column names only fields already stated on this site.
| Card | Formula and window | Source fields already on the record | Drill-down sort |
|---|---|---|---|
| Permits by status and age | Snapshot as of today. Group submitted records by current status. For each status present, show the count, the median age in days, and counts in age buckets 0 to 7 days, 8 to 14 days, 15 to 30 days, and 31 days or more. Age equals today minus submitted date, in whole calendar dates. A permit submitted today has age 0. Show an open subtotal that excludes approved, denied, withdrawn, expired and closed. Show issued permits in their own row and not in the open subtotal, in the same way as the reports and setup page, where issued is counted as approved for approval metrics. Show returned for correction in its own row. Reconcile this subtotal only against this card. This subtotal is by current status on this card. Overdue, stuck and workload cards on the reports and setup page count open work by current workflow stage and due date, so an issued permit with an open inspection step can appear there while it does not appear in this status subtotal. Do not add the two totals together, and do not read a difference between them as a missing record. Where no submitted record is in the snapshot, show each status count 0, show no median age, and show the open subtotal 0. | records.record_number, records.status, submitted date, due date, current workflow stage, assigned reviewer or role, permit type, department, parcel. Missing submitted date is counted separately and is not placed in an age bucket. | Age largest first within each status, then submitted date. The card lists statuses in the order they appear on the record, and the drill-down list for one status shows only that status. |
| Approvals over time | Group decided permits by decision month, as a calendar month in the town time zone based on decision date. For each month in the chosen window, show decided count, approved count, and approval rate as approved divided by decided, multiplied by 100, shown with one decimal place. Decided means approved, denied or issued, with issued counted as approved by its decision date. A month with no decided permits shows decided count 0 and no rate, not 0 percent. The overall window rate on the reports and setup page stays as the total for the whole window. Where the whole window has no decided permits, show decided count 0 and no overall rate on this card, not 0 percent. | records.record_number, records.status, submitted date, decision date, permit type, department, parcel, current workflow stage. A decided permit with no decision date is excluded from this card and from time to decision. | Decision month newest first on the card. The drill-down list for one month shows only that month, sorted by decision date, newest first. |
| Time to decision | Median of decision date minus submitted date, in days, for decided permits in the window. List each decided permit once, sort the day counts from lowest to highest, take the middle value, and for an even count average the two middle values. Show the median with one decimal place where the average of two middle values gives a half day, and otherwise as a whole number of days, with the decided count beside it. Withdrawn, expired, draft, returned and still open permits are excluded. Where the window has no decided permits, show decided count 0 and no median, not 0 days. | records.record_number, records.status, submitted date, decision date, permit type, department, parcel, assigned reviewer. This card uses decision date. Median days to issue uses issued permits only by issued date, and is a different number. Do not use one to reproduce the other. | Day count largest first in the drill-down list, with submitted date, decision date and day count on each row, so a reader can reproduce the median. |
Read each card in detail
Use this detail when you build a card or a saved report. Each card follows the same pattern as the admin analytics cards on the reports and setup page.
Permits by status and age
Time window: snapshot as of today, with the chosen filters applied. The trailing 30, 90 and 365 day and custom range controls do not change this snapshot. The card shows the snapshot date.
Read it as: where submitted work sits and how old it is, by status. A status with a high count in the 31 days or more bucket needs attention even where no due date has passed, because age is counted from submitted date and not from due date. Overdue permits, stated on the reports and setup page, answer a different question, whether due date is before today.
Check it: Add the status counts on the card. The sum should match the count of submitted records in the drill-down list with the same filters, plus the separate missing submitted date count. If the sum does not match, read the filters and the snapshot date shown on the card before you use the count. Where the snapshot has no submitted records, the check is each status count 0, no median age, and open subtotal 0, with the drill-down list total 0 and no rows.
Approvals over time
Time window: decision date inside the chosen window, by default trailing 90 days. A permit submitted before the window but decided inside the window counts in the month of its decision date. A permit submitted inside the window but not yet decided does not count yet.
Read it as: whether the share approved is changing from month to month, with the decided count beside each month so a small month is not read as a trend. Compare months of equal length, and check the count before you compare towns or types. This card does not measure speed. Use time to decision for speed.
Check it: Add the monthly decided counts. The sum should match the decided count on the overall approval rate card for the same window and filters. If the sum does not match, read the decision month shown on each row and the filters shown on the card. Where the whole window has no decided permits, the check is decided count 0 and no rate, with the drill-down list total 0 and no rows, not a 0 percent rate.
Time to decision
Time window: decision date inside the chosen window, by default trailing 90 days. Show the decided count beside the median. Show the same median for approved and for denied separately only when you filter by outcome.
Read it as: half of decided permits took this many days or fewer, and half took longer. Use the median, not the average, so one long case does not move the number by itself.
Check it: Where the window has no decided permits, show decided count 0 and no median, not 0 days, with the drill-down list total 0 and no rows. A median of 0 days is a measured result only where decided permits in the window have a day count of 0.
What these three cards do not use
These cards need no new field. The items below are not used in these three calculations, and are not added here without the town document or field that sets them.
- No fee amount, fee line, payment date or balance is used in these three cards. Fees collected and credits are counted on the reports and setup page under their own rules.
- No due day count is published here. Where a due date is not on the record, that record shows no due date on the card, and age and time to decision still use submitted date and decision date only.
- Workspace creation date and intake attempt count are not used in these three cards. Those fields are named as not in supplied context on the KPI definitions guide, and are not needed to calculate status and age, approvals over time, or time to decision.
- Owner is shown on staff cards only. Public search and My records do not show Owner, and there is no workspace picker and no way to list another workspace by typing its name.
Set up the cards in order
Work through these steps in order before you publish a card, in the same way as the setup checklist on the reports and setup page.
Publish permits by status and age first
Build the snapshot card from status and submitted date, show the snapshot date and the missing submitted date count, and open the drill-down list sorted by age largest first. You should see each age reproduced as today minus submitted date on each row.
Add approvals over time by decision month
Build the monthly card from decision date, show decided count, approved count and rate for each month, and show no rate for a month with no decided permits. You should see the monthly decided counts add to the overall decided count for the same window.
Add time to decision with the decided count
Build the median card from submitted date and decision date, show the decided count beside the median, and open the drill-down list sorted by day count. You should see each day count reproduced from the two dates on each row.
Test on a test record, then publish
Walk a test record through submit and decision. Check that the status and age card changes at submission, that approvals over time and time to decision change only at decision, 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. Also test an empty window with no decided permits and confirm the cards show count 0 and no rate and no median, not 0 percent and not 0 days.
Reports and setup - KPI definitions - Search a public record - Set up a permit type and fees
Bring your status and age questions to the demo
Tell us which status, age bucket or decision month you want to see first, and we will show the card and the list behind it.