The Summary sheet in each vertical spreadsheet contains both sub-team rows (ACCESS-OPS, STEAM, INTELDEV, etc.) AND a rollup row (ALL: NTS-AEO) per metric. The rollup row already includes all sub-team totals, so summing all rows was double-counting every device. Fixed in three places: - GET /stats endpoint: added AND team LIKE 'ALL:%' filter - persistMultiVerticalUpload snapshot creation: only sum ALL: entries - GET /vertical/:code/metrics category aggregation: only use ALL: rows Also ran a one-time data fix to correct existing compliance_snapshots.
47 KiB
47 KiB