This query uses the Provider column. Provider is deprecated in v1.3 and will be removed in v1.4.

Personas
FinOps Practitioner, Product, Engineering
Capabilities
Anomaly Management, Rate Optimization
KPIs
Effective Average Compute Cost per Core, Effective Savings Rate Percentage, Percent of Unused Resources
Source
FOCUS use-case SQL
Status
Not in v1.0 sample
Results
Not run
Mode
Read-only
Library snapshot (UTC)
2026-10-08

CapacityReservationId and CapacityReservationStatus are absent from the v1.0 sample, so unused capacity reservations cannot be identified.

Review the original SQL below and the required columns before using a newer FOCUS dataset.

Original FOCUS SQL
SELECT
  ProviderName,
  BillingAccountId,
  CapacityReservationId,
  CapacityReservationStatus,
  SUM(BilledCost) AS TotalBilledCost,
  SUM(EffectiveCost) AS TotalEffectiveCost
FROM focus_data_table
WHERE ChargePeriodStart >= ? AND ChargePeriodEnd < ?
  AND CapacityReservationStatus = 'Unused'
GROUP BY
  ProviderName,
  BillingAccountId,
  CapacityReservationId,
  CapacityReservationStatus

Columns used

Column names from the source use case.

  • Charge Period Start
  • Charge Period End
  • Provider Name
  • Billing Account ID
  • Capacity Reservation ID
  • Capacity Reservation Status
  • Billed Cost
  • Effective Cost
Read the source on focus.finops.org ↗