Source
FOCUS 1.0 sample
Result rows
37
Status
Adapted to v1.0
Execution
PrecomputedRead-only
Result snapshot (UTC)
2026-10-11

Billed cost per service provider, billing currency, billing period and service category. ServiceProviderName (v1.3+) is derived from provider_name, or publisher_name for marketplace sellers. AWS billed cost is net of about $1,196 of promotional credits, which land in several categories.

Column adaptations (1)
  • ServiceProviderName → case when publisher_name is not null and publisher_name is distinct from invoice_issuer_name then publisher_name else provider_name end: v1.0 ProviderName for direct cloud services; v1.0 PublisherName for the marketplace sellers (Datadog, Red Hat) whose publisher differs from the invoice issuer, matching the v1.3+ seller semantics.

Billed cost by service category

Query results
Service provider nameBilling currencyBilling period startService categoryTotal billed cost
AWSUSD2026-03-01Compute$506.73
MicrosoftUSD2026-03-01Compute$169.03
MicrosoftUSD2026-03-01Databases$144.15
MicrosoftUSD2026-03-01Other$139.82
AWSUSD2026-03-01Storage$109.74
AWSUSD2026-03-01Databases$69.48
AWSUSD2026-03-01Networking$45.31
Datadog Inc.USD2026-03-01Other$40.98
AWSUSD2026-03-01Management and Governance$39.42
MicrosoftUSD2026-03-01Web$35.98
MicrosoftUSD2026-03-01Analytics$19.28
OracleUSD2026-03-01Compute$18.01
MicrosoftUSD2026-03-01Storage$17.63
MicrosoftUSD2026-03-01Networking$16.85
AWSUSD2026-03-01Other$16.08
MicrosoftUSD2026-03-01Developer Tools$10.00
MicrosoftUSD2026-03-01Management and Governance$8.75
MicrosoftUSD2026-03-01AI and Machine Learning$5.05
Red Hat Inc.USD2026-03-01Other$3.42
OracleUSD2026-03-01Web$2.60
OracleUSD2026-03-01–$2.49
AWSUSD2026-03-01Security$1.06
AWSUSD2026-03-01Identity$0.73
MicrosoftUSD2026-03-01Security$0.67
AWSUSD2026-03-01Migration$0.30
OracleUSD2026-03-01Storage$0.27
AWSUSD2026-03-01Integration$0.24
AWSUSD2026-03-01Business Applications$0.11
OracleUSD2026-03-01Others$0.11
OracleUSD2026-03-01Identity$0.06
AWSUSD2026-03-01Developer Tools$0.0037
MicrosoftUSD2026-03-01Integration$0.000355
AWSUSD2026-03-01Analytics$0.00018
AWSUSD2026-03-01Web$0.00
OracleUSD2026-03-01Networking$0.00
Oracle–2026-03-01Storage$0.00
Oracle–2026-03-01–$0.00

37 rows. Scroll inside the table to see more.

Precomputed result

Inspect Postgres SQL and original FOCUS SQL

Postgres SQL, as run

select case when publisher_name is not null and publisher_name is distinct from invoice_issuer_name then publisher_name else provider_name end as service_provider_name,
       billing_currency as billing_currency,
       billing_period_start as billing_period_start,
       service_category as service_category,
       sum(billed_cost) as total_billed_cost
from focus.cost_and_usage
where billing_period_start >= $1::timestamptz
  and billing_period_end < $2::timestamptz
group by 1, billing_currency, billing_period_start, service_category
order by total_billed_cost desc nulls last, service_provider_name, service_category
limit 500

Parameters: $1 = billing_period_start, $2 = billing_period_end

Original FOCUS SQL

SELECT
  ServiceProviderName,
  BillingCurrency,
  BillingPeriodStart,
  ServiceCategory,
  SUM(BilledCost) AS TotalBilledCost
FROM focus_data_table
WHERE BillingPeriodStart >= ? and BillingPeriodEnd < ?
GROUP BY
  ServiceProviderName,
  BillingCurrency,
  BillingPeriodStart,
  ServiceCategory
ORDER BY TotalBilledCost DESC