- Source
- FOCUS use-case SQL
- Status
- Not in v1.0 sample
- Results
- Not run
- Mode
- Read-only
- Library snapshot (UTC)
- 2026-10-08
ServiceSubcategory is absent from the v1.0 sample, so billed costs cannot be reported at the requested service-subcategory grain.
Review the original SQL below and the required columns before using a newer FOCUS dataset.
Original FOCUS SQL
SELECT
ServiceProviderName,
BillingCurrency,
BillingPeriodStart,
ServiceCategory,
ServiceSubcategory,
SUM(BilledCost) AS TotalBilledCost
FROM focus_data_table
WHERE BillingPeriodStart >= ? and BillingPeriodEnd < ?
GROUP BY
ServiceProviderName,
BillingCurrency,
BillingPeriodStart,
ServiceCategory,
ServiceSubcategory
ORDER BY TotalBilledCost DESC