Completions

Measure swarm · Cohort-framed-rollup agent · Build pillar · Published June 9, 2026

How to build cohort-framed per-location KPI rollup for multi-location retail operators

A multi-location retail operator running 50-300 stores needs per-vintage + same-store-sales + comp-store + LFL + grand-opening + acquired + organic-growth + closed-relocated cohort-framed KPI rollup with documented methodology that survives scrutiny from the CFO, the audit committee, lenders running covenant tests, prospective franchisees reading the FDD Item 19 Financial Performance Representation, and external auditors testing internal controls over financial reporting. This guide walks the 4-skill bundle (Cohort + Rollup + Detect + Narrate) on the cohort-framed-rollup agent end-to-end.

The 4-skill bundle on the cohort-framed-rollup agent

Cohort

Assign every location to one or more cohort memberships per a documented assignment-rule and transition-rule registry. Vintage cohorts by grand-opening quarter. Same-store-sales cohort by 13-month maturity threshold with operator-counsel -documented treatment of temporary closures, major remodels above a capital threshold, and acquisition-conversion exclusion window. Comp-store cohort excluding closures and major remodels. LFL like-for-like cohort with constant-currency adjustment for international comp. Grand-opening cohort under-13-month. Acquired cohort by acquisition source. Organic-growth cohort. Closed-relocated cohort. Seasonal cohort. Transition rules: grand-opening to SSS at 13-month maturity, acquired to organic at 12-month integration, organic to closed at decommission, comp to non-comp on major remodel above capital threshold. Methodology version-pinned with effective-date staging so historical periods reproduce under the methodology that was in force at the time.

Rollup

Run per-cohort numerator and denominator aggregation against KPI definitions that name source-of-truth tables (POS + ecommerce + foot-traffic + ad platforms + CRM + workforce + cost-of-goods), rounding rule (banker rounding + half-up + half-down operator choice), currency canonicalization to USD cents, time-zone canonicalization to UTC with operator-fiscal -calendar adjustment, period spec (trailing 12-month + fiscal quarter + calendar quarter + fiscal year + 4-5-4 retail calendar + 53-week-year handling), recalculation discipline on source-data update with versioned reissue, and per-KPI version pointer. KPIs covered: revenue + transaction count + average ticket + units per transaction + foot-traffic + conversion + CAC + ROAS + LTV + gross margin + labor cost as percent of sales + COGS as percent of sales + occupancy as percent of sales. Every KPI value is reproducible from raw events.

Detect

Compute per-cohort baseline (portfolio median + 90-day-rolling + 365-day-rolling + 3-year baseline). Apply 2-sigma + 3-sigma outlier + Mann-Kendall trend + CUSUM + EWMA + Bayesian changepoint detection. Severity tiering is operator-counsel -documented: Tier 1 covers covenant-breach proximity + audit -committee-reportable + SEC Form 8-K Item 1.05 where applicable + FDD-amendment-triggering. Tier 2 covers material variance from baseline beyond operator-defined threshold. Tier 3 covers explainable seasonality or known-event variance routed to operations review rather than finance review. Routing pairs each tier to the named stakeholder and the named system-of-record entry. Per-cohort baseline-aware detection avoids flagging a grand-opening store ramping above baseline as an SSS anomaly.

Narrate

Generate per-cohort narrative drafts via LLM grounded in Rollup + Detect outputs. Narrative template names the cohort, the KPI, the period, the comparison baseline, the variance, the severity tier, and the routing destination. LLM call includes Rollup numbers verbatim with explicit instruction to quote rather than restate. Mandatory CFO review loop before any narrative reaches an external audience (audit committee, lender, franchisee, prospective franchisee reading FDD Item 19, SEC filing, board deck). Per-vendor LLM zero-retention posture verified before any cohort + KPI data is sent to LLM endpoint. CFO override is the gating step; LLM is never the gating step.

The real ecosystem this sits above

Warehouse + BI

Snowflake, Databricks, BigQuery, Redshift, Synapse, ClickHouse, Firebolt, MotherDuck, Postgres warehouse. Tableau (Salesforce), Looker (Google Cloud), Power BI (Microsoft), Qlik Sense, Domo, Sisense, ThoughtSpot, Mode (Klaviyo), Hex, Sigma Computing, Metabase, Redash, Cube, Preset, Lightdash BI. dbt + Coalesce + SQLMesh transformation. Cohort + Rollup definitions sit in dbt or SQLMesh; BI consumes the rollup output rather than redefining cohorts per-dashboard.

Anomaly detection + observability

Anodot, Anomalo, Datadog Anomaly Detection, Splunk ITSI, Sumo Logic, New Relic, Acceldata, Monte Carlo, Bigeye, Soda, Lightup anomaly. Detect coordinates per-cohort baseline + severity tiering above the vendor primitive so the same KPI detection logic applies whether the underlying detector is Anomalo or Monte Carlo or Datadog.

LLM + board-deck export

OpenAI, Anthropic, Google, Mistral, Cohere, Meta, AWS Bedrock, Azure OpenAI, Vertex AI LLM under per-vendor zero -retention posture for Narrate. python-pptx, Google Slides API, Puppeteer headless Chrome PDF, Keynote, Beautiful.ai, Pitch, Canva, Gamma board-deck export. Per-deck template (quarterly board + monthly leadership + weekly flash + investor relations + FDD Item 19 amendment) versioned and stakeholder-distribution-routed.

The 5-anchor compliance overlay

Anchor 1 — Same-store-sales methodology discipline (operationally distinctive)

Same-store-sales (also called comparable-store-sales or comp-store-sales) is one of the most-cited retail KPIs and one of the most-manipulated. Operators differ on the maturity threshold (12 vs 13 vs 14 months), the treatment of remodels, the treatment of temporary closures, the treatment of currency for international comp (constant-currency vs reported), the calendar-shift adjustment (53-week years + leap years + holiday-shift), and the acquisition-conversion exclusion window. SEC Regulation G non-GAAP reconciliation requires a documented reconciliation to the most directly comparable GAAP measure when SSS is published externally. FASB ASC 606 governs revenue recognition that feeds the SSS numerator. The Cohort + Rollup definitions encode the methodology in operator-counsel-signed registry entries and the audit trail proves the methodology was applied as documented for every reporting period. Operationally distinctive — this is what separates a defensible SSS number from a flattering one.

Anchor 2 — FTC Franchise Rule + per-state Franchise Investment Law FPR substantiation

When KPI rollup is shared with prospective franchisees in the FDD Item 19 Financial Performance Representation, FTC Franchise Rule 16 CFR Part 436 substantiation discipline applies. Per-state Franchise Investment Law enforcement covers California Corporations Code 31000 et seq, Michigan Franchise Investment Law MCL 445.1501, Maryland Franchise Registration and Disclosure Law, Illinois Franchise Disclosure Act 815 ILCS 705, Minnesota Franchise Act Minn Stat 80C, New York General Business Law Article 33, Virginia Retail Franchising Act, Washington Franchise Investment Protection Act RCW 19.100, and 6 additional registration states. FTC substantiation doctrine (Pfizer 1972 reasonable -basis) applies to every FPR number published. The Cohort + Rollup audit trail is the substantiation record; if the rollup methodology cannot be reconstructed, the FPR cannot be defended.

Anchor 3 — SOC 2 + SOX 404 + PCAOB AS 2201 financial-reporting integrity

SOC 2 Type II CC2 (communication and information) + CC3 (risk assessment) + CC6 (logical and physical access) + CC7 (system operations) + CC8 (change management) cover the control objectives a financial-reporting substrate is tested against. SOX 404 internal controls over financial reporting apply when the operator is public or filing S-1-track. PCAOB AS 2201 testing discipline governs the external auditor work that examines the substrate. The Rollup audit trail is reproducible from raw events, immutably stored, and version-pinned so the auditor can test that what the CFO certifies matches what the substrate produced.

Anchor 4 — Per-warehouse RLS + CCPA + CPRA + GDPR

Per-warehouse row-level-security policy implementation across Snowflake row-access policies, BigQuery authorized views, Redshift RLS, Postgres RLS, and Databricks Unity Catalog. Franchisee sees own locations + peer-cohort benchmark anonymized + portfolio aggregate anonymized; corporate sees all. CCPA + CPRA + state-comprehensive -privacy (Virginia VCDPA + Colorado CPA + Connecticut CTDPA + Utah UCPA + Texas TDPSA + Oregon OCPA + Montana MCDPA + Tennessee TIPA + Iowa Act + Indiana ICDPA + Delaware DPDPA + New Jersey NJDPA + New Hampshire NHPA + Kentucky KCDPA + Maryland MODPA + Minnesota CDPA + Rhode Island DTPPA) + GDPR for franchisee + customer data with DSAR overlay tagging across the KPI substrate.

Anchor 5 — NIST AI RMF + ISO 42001 + EU AI Act + per-vendor LLM zero-retention

When Narrate uses LLM-generated narrative on cohort + KPI data, NIST AI RMF Govern + Map + Measure + Manage functions apply, ISO 42001 AI Management System documents the governance posture, and EU AI Act Article 14 human oversight + Article 15 accuracy and robustness apply where operator scope reaches EU. Per-vendor LLM zero-retention posture verified before any cohort + KPI data is sent to LLM endpoint; verification record retained per Narrate run.

The 6-workstream pre-engagement-baseline reporting cycle

Completions does not commit to numeric KPI improvement targets before engagement scope is documented. The Q6 pre-engagement -baseline reporting cycle covers the six workstreams that ship in every engagement and produces a baseline against which subsequent reporting periods are measured. The cycle runs on a documented cadence with operator-counsel sign-off at each gate.

  1. Cohort methodology coverage. Vintage + SSS + comp-store + LFL + grand-opening + acquired + organic-growth + closed-relocated + seasonal cohort assignment rule + transition rule + effective-date staging + operator-counsel signed methodology registry version pointer.
  2. Rollup quality. Per-KPI source-of-truth mapping freshness + rounding-rule consistency + currency canonicalization + time-zone canonicalization + period spec + recalculation-on-source-update completeness + per-KPI version pointer freshness.
  3. Detect quality. Per-cohort baseline freshness + 2-sigma + 3-sigma + Mann-Kendall + CUSUM + EWMA + Bayesian changepoint detector coverage + severity-tier mapping completeness + routing destination freshness + Tier 1 SEC Form 8-K Item 1.05 readiness gate completeness.
  4. Narrate quality. Per-cohort narrative template version + per-vendor LLM zero-retention posture verification + CFO review loop completion rate + fact-grounding alignment between narrative and Rollup output + audit-trail completeness per narrative.
  5. Compliance posture. Same-store-sales methodology operator-counsel signoff + SEC Regulation G reconciliation completeness + FASB ASC 606 alignment + FTC Franchise Rule Item 19 FPR substantiation record + per-state Franchise Investment Law alignment + SOC 2 CC2/CC3/CC6/CC7/CC8 evidence + SOX 404 internal-control evidence where applicable + PCAOB AS 2201 alignment + per-warehouse RLS posture + CCPA + CPRA + state-comprehensive-privacy + GDPR DSAR overlay completeness + NIST AI RMF + ISO 42001 + EU AI Act + per -vendor LLM zero-retention freshness.
  6. Audit-trail completeness. Per-Cohort + per -Rollup + per-Detect + per-Narrate canonical record retention in versioned-history substrate readable by external auditor + audit-committee + franchisee FDD-amendment review + lender-covenant review.

Frequently asked questions

What problem does cohort-framed per-location KPI rollup solve for a multi-location retail operator?

A multi-location retail operator running 50-300 stores generates KPI streams from POS + ecommerce + foot-traffic + ad platforms + CRM + workforce-management + cost-of-goods systems. Aggregating those streams into a single revenue or transaction-count number that compares a store opened 8 years ago with a store opened 6 months ago hides the underlying business performance: the 6-month store is in its honeymoon ramp, the 8-year store is in maturity, and mixing them masks weakness in the mature base and overstates portfolio momentum. Cohort-framed rollup separates the portfolio into vintage + same-store-sales + comp-store + LFL + grand-opening + acquired + organic-growth + closed-relocated cohorts, applies a documented methodology to each, and produces KPI numbers that survive scrutiny from the CFO, the audit committee, lenders running covenant tests, prospective franchisees reading the FDD Item 19 Financial Performance Representation, and external auditors testing internal controls over financial reporting.

What is the 4-skill bundle and what does each skill do?

Cohort assigns every location to one or more cohort memberships per a documented assignment-rule and transition-rule registry (per-vintage by grand-opening quarter + per-same-store-sales by 13-month maturity threshold + per-comp-store excluding closures and major remodels + per-LFL adjusting for currency + per-grand-opening under-13-month + per-acquired by acquisition source + per-organic-growth + per-closed-relocated + per-seasonal). Rollup runs per-cohort numerator + denominator aggregation against KPI definitions that name source-of-truth tables, rounding rule, currency canonicalization, time-zone canonicalization, period spec, and version pointer; every KPI value is reproducible from raw events. Detect runs per-cohort baseline computation (portfolio median + 90-day-rolling + 365-day-rolling + 3-year baseline) and applies 2-sigma + 3-sigma outlier + Mann-Kendall trend + CUSUM + EWMA + Bayesian changepoint detection with operator-counsel-documented severity tiering and routing. Narrate generates per-cohort narrative drafts via LLM grounded in Rollup + Detect outputs, with mandatory CFO review loop before any narrative reaches an external audience.

Why is same-store-sales methodology discipline the operationally distinctive anchor for this skill?

Same-store-sales (also called comparable-store-sales or comp-store-sales) is one of the most-cited retail KPIs and one of the most-manipulated. Operators differ on the maturity threshold (12 months vs 13 months vs 14 months), the treatment of remodels (excluded vs included vs excluded only above a capital threshold), the treatment of temporary closures (excluded for the closure period vs excluded for the full reporting period), the treatment of currency for international comp (constant-currency vs reported), the calendar-shift adjustment (53-week years + leap years + holiday-shift), and the acquisition-conversion exclusion window. When the same operator publishes the SSS number to lenders, to franchisees in the FDD Item 19 Financial Performance Representation, to the SEC if public, to an audit committee, and to franchise prospects, the methodology must be documented, applied consistently, and reconcilable to GAAP revenue under SEC Regulation G non-GAAP reconciliation discipline. The cohort-framed rollup skill encodes the methodology in the Cohort + Rollup definitions and produces an audit-trail substrate that proves the methodology was applied as documented for every reporting period.

What real regulatory and standards-body hooks does the compliance overlay anchor on?

Anchor 1 is same-store-sales methodology discipline + SEC Regulation G non-GAAP reconciliation when KPI is published externally + FASB ASC 606 revenue recognition + GAAP comparability + operator-counsel-documented methodology registry. Anchor 2 is FTC Franchise Rule 16 CFR Part 436 Item 19 Financial Performance Representation substantiation when KPI rollup is shared with prospective franchisees in the FDD + per-state Franchise Investment Law FPR enforcement (California Corporations Code 31000 et seq + Michigan Franchise Investment Law MCL 445.1501 + Maryland Franchise Registration and Disclosure Law + Illinois Franchise Disclosure Act 815 ILCS 705 + Minnesota Franchise Act Minn Stat 80C + New York General Business Law Article 33 + Virginia Retail Franchising Act + Washington Franchise Investment Protection Act RCW 19.100) + FTC substantiation doctrine (Pfizer 1972 reasonable-basis) when FPR is published. Anchor 3 is SOC 2 Type II CC2 + CC3 + CC6 + CC7 + CC8 for financial-reporting integrity + SOX 404 internal controls over financial reporting where applicable + PCAOB AS 2201 testing discipline. Anchor 4 is per-warehouse RLS row-level-security (Snowflake + BigQuery + Redshift + Postgres + Databricks Unity Catalog) + CCPA + CPRA + state-comprehensive-privacy + GDPR for franchisee + customer data with DSAR overlay tagging. Anchor 5 is NIST AI RMF + ISO 42001 + EU AI Act + per-vendor LLM zero-retention posture verified before any cohort + KPI + narrative data is sent to LLM endpoint when Narrate is used.

How does Detect avoid generating noise that the CFO ignores?

Naive anomaly detection on a 200-location portfolio produces hundreds of low-signal alerts per period; the CFO ignores them within a week and the signal that does matter gets lost. Detect runs per-cohort baseline-aware detection so a grand-opening cohort store ramping above baseline is not flagged as an anomaly in the SSS cohort. Severity tiering is operator-counsel-documented: Tier 1 covers covenant-breach proximity + audit-committee-reportable + SEC-disclosure-relevant under Form 8-K Item 1.05 where applicable + FDD-amendment-triggering. Tier 2 covers material variance from baseline beyond operator-defined threshold. Tier 3 covers explainable seasonality or known-event variance routed to operations review rather than finance review. Routing pairs each tier to the named stakeholder + the named system-of-record entry. Detect output is the input to Narrate; Narrate quotes Detect numbers verbatim and the CFO review loop verifies the quote.

What does Completions ship and how does an engagement start?

Completions ships the cohort-framed-rollup agent + 4-skill bundle (Cohort + Rollup + Detect + Narrate) + 5-anchor compliance overlay (same-store-sales methodology discipline + SEC Regulation G + FASB ASC 606 + FTC Franchise Rule Item 19 FPR + per-state Franchise Investment Law + SOC 2 CC2/CC3/CC6/CC7/CC8 + SOX 404 + PCAOB AS 2201 + per-warehouse RLS + CCPA + CPRA + GDPR + NIST AI RMF + ISO 42001 + EU AI Act + per-vendor LLM zero-retention) + the Q6 6-workstream pre-engagement-baseline reporting cycle. Tier 1 AI Readiness Assessment ($10k, 2-3 weeks) audits the current cohort-and-rollup posture and produces the documented methodology registry. Tier 3 Fractional CMO ($15-25k/month, 6-month minimum, 1-2 days/wk embedded) runs the cohort-framed-rollup agent on the operator data warehouse + BI + anomaly + board-deck stack on an ongoing basis.

Engage Completions on the cohort-framed-rollup agent

Tier 1 AI Readiness Assessment ($10k, 2-3 weeks) audits the current cohort-and-rollup posture and produces the documented methodology registry. Tier 3 Fractional CMO with AI Swarm ($15-25k/month, 6-month minimum, 1-2 days/wk embedded) runs the cohort-framed-rollup agent on the operator data warehouse + BI + anomaly + board-deck stack on an ongoing basis.