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

Compares list, effective and billed cost per service and billing account for a billing period, excluding corrections, and computes the effective discount as a 0-1 ratio (the source multiplies by 100). ChargeClass is null on every sample row, so the filter uses IS DISTINCT FROM to keep non-correction rows; effective cost is rounded to whole dollars per row in this sample.

Column adaptations (1)
  • ServiceProviderName → publisher_name / provider_name: Use publisher_name when it differs from invoice_issuer_name (the sample marketplace sellers Datadog and Red Hat); otherwise the direct provider's v1.0 provider_name. Same convention as the other catalog entries.

List vs effective cost by service

Chart controls and notes

Showing the first 20 categories. Open full screen to explore all 97 categories.

Query results
Service provider nameBilling account idBilling account nameBilling currencyService nameTotal effective costTotal list costTotal billed costEffective discount
AWS1234567890123SunBirdUSDAmazon Elastic Compute Cloud$214.00$634.12$593.440.66
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDVirtual Machines$188.30$168.25$168.24-0.12
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDAzure SQL Database$149.04$149.04$149.040
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDSQL Database$108.73$108.73$108.730
AWS1234567890123SunBirdUSDAmazon Relational Database Service$9.00$65.51$65.510.86
Datadog Inc.1234567890123SunBirdUSDDatadog$40.32$40.98$40.980.02
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDAzure App Service$35.98$35.98$35.980
AWS1234567890123SunBirdUSDAmazonCloudWatch$23.00$33.49$33.490.31
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDAzure Synapse Analytics$30.25$30.25$30.250
AWS1234567890123SunBirdUSDAmazon Virtual Private Cloud-$2.00$23.15$23.151.09
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDMicrosoft.Fabric$19.28$19.28$19.280
AWS1234567890123SunBirdUSDElastic Load Balancing$3.00$18.17$18.170.83
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDStorage Accounts$17.46$17.46$17.460
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDVirtual Network$13.09$13.09$13.090
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDAzure Load Testing$10.00$10.00$10.000
AWS1234567890123SunBirdUSDAmazon Elastic File System$8.00$9.54$9.540.16
AWS1234567890123SunBirdUSDAmazon Elastic Container Service for Kubernetes$4.00$9.10$9.100.56
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDAzure Monitor$8.75$8.75$8.750
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDAzure Kubernetes Service$8.36$8.36$8.360
AWS1234567890123SunBirdUSDAmazon Elastic Container Service$0.00$6.66$6.701
AWS1234567890123SunBirdUSDAmazon Simple Storage Service$4.00$6.62$6.620.4
AWS1234567890123SunBirdUSDAWS Config$6.00$5.51$5.51-0.09
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDAzure Machine Learning$5.05$5.05$5.050
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDAzure Container Instances$5.02$5.02$5.020
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDAzure ExpressRoute$4.19$4.19$4.190
AWS1234567890123SunBirdUSDAmazon CloudFront-$3.00$3.86$3.861.78
AWS1234567890123SunBirdUSDAWS Lambda-$2.00$3.53$3.521.57
Red Hat Inc.1234567890123SunBirdUSDRed Hat OpenShift Service on AWS$0.00$3.42$3.421
Oracle20209880–USDOPENSEARCH$3.00$2.60$2.60-0.15
Oracle20209880–USDODSP$2.00$2.49$2.490.2
AWS1234567890123SunBirdUSDAmazon ElastiCache$0.00$2.45$2.451
AWS1234567890123SunBirdUSDSavings Plans for AWS Compute usage$0.00$2.32$2.321
Oracle20209880–USDCOMPUTE$16.00$2.26$17.31-6.07
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDAzure Private Link$1.85$1.85$1.850
AWS1234567890123SunBirdUSDAmazon DocumentDB (with MongoDB compatibility)$0.00$1.06$1.061
Oracle20209880–USDOKE_CONTROL_PLANE$0.00$0.70$0.701
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDMicrosoft Defender for Cloud$0.65$0.65$0.650
AWS1234567890123SunBirdUSDAWS Key Management Service$0.00$0.53$0.531
AWS1234567890123SunBirdUSDAmazon Elastic Container Registry Public$0.00$0.52$0.521
AWS1234567890123SunBirdUSDAmazon GuardDuty$0.00$0.43$0.431
AWS1234567890123SunBirdUSDAWS Security Hub$0.00$0.43$0.431
AWS1234567890123SunBirdUSDAWS Systems Manager$0.00$0.42$0.421
AWS1234567890123SunBirdUSDAmazon Lightsail$0.00$0.34$0.341
AWS1234567890123SunBirdUSDAWS Transfer Family$0.00$0.30$0.301
AWS1234567890123SunBirdUSDAmazon EC2 Container Registry (ECR)$0.00$0.27$0.271
Oracle20209880–USDBLOCK_STORAGE$0.00$0.27$0.271
AWS1234567890123SunBirdUSDAmazon OpenSearch Service$0.00$0.24$0.241
AWS1234567890123SunBirdUSDAmazon Simple Queue Service$0.00$0.22$0.221
AWS1234567890123SunBirdUSDAmazon DynamoDB$0.00$0.22$0.221
AWS1234567890123SunBirdUSDAWS WAF$0.00$0.21$0.211
AWS1234567890123SunBirdUSDAWS Secrets Manager$0.00$0.20$0.201
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDAzure Container Registry$0.17$0.17$0.170
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDAzure Site Recovery$0.16$0.16$0.160
AWS1234567890123SunBirdUSDAWS Step Functions$0.00$0.16$0.161
AWS1234567890123SunBirdUSDAmazon API Gateway$0.00$0.13$0.131
AWS1234567890123SunBirdUSDAmazon Simple Email Service$0.00$0.07$0.071
Oracle20209880–USDIDENTITY_AND_ACCESS_MANAGEMENT$0.00$0.06$0.061
AWS1234567890123SunBirdUSDAmazonWorkMail$0.00$0.04$0.041
AWS1234567890123SunBirdUSDAWS Backup$0.00$0.03$0.031
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDKey Vault$0.02$0.02$0.020
AWS1234567890123SunBirdUSDCloudWatch Events$0.00$0.02$0.021
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDAzure DNS$0.02$0.02$0.020
AWS1234567890123SunBirdUSDAWS App Runner$0.00$0.00658$0.006581
AWS1234567890123SunBirdUSDAmazon Route 53$0.00$0.00381$0.003811
AWS1234567890123SunBirdUSDAWS X-Ray$0.00$0.0037$0.00371
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDApplication Gateway$0.00146$0.00146$0.001460
AWS1234567890123SunBirdUSDAWS CloudTrail$0.00$0.000402$0.0004021
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDLogic Apps$0.00025$0.00025$0.000250
AWS1234567890123SunBirdUSDAmazon Redshift$0.00$0.00018$0.000181
AWS1234567890123SunBirdUSDAmazon Simple Notification Service$0.00$0.0000853$0.00008531
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDEvent Grid$0.0000726$0.0000726$0.00007260
Oracle20209880–USDORACLE_STREAMING_SERVICE$0.00$0.0000538$0.00005381
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDAzure Data Factory$0.00003$0.00003$0.000030
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDService Bus$0.00000205$0.00000205$0.000002050
AWS1234567890123SunBirdUSDAmazon Glacier$0.00$0.000000574$0.0000005741
AWS1234567890123SunBirdUSDAmazon DevOps Guru$0.00$0.00$0.00–
AWS1234567890123SunBirdUSDAmazon Location Service$0.00$0.00$0.00–
AWS1234567890123SunBirdUSDAmazon QuickSight$0.00$0.00$0.00–
AWS1234567890123SunBirdUSDAmazon WorkDocs$0.00$0.00$0.00–
AWS1234567890123SunBirdUSDAWS CloudFormation$0.00$0.00$0.00–
AWS1234567890123SunBirdUSDAWS Glue$0.00$0.00$0.00–
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDApp Configuration$0.00$0.00$0.00–
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDAzure File Sync$0.00$0.00$0.00–
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDAzure Savings Plan for Compute$0.00$0.00$0.00–
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDSQL Managed Instance$0.00$0.00$0.00–
Oracle20209880–USDFILESTORAGESERVICE$0.00$0.00$0.00000000002–
Oracle20209880–USDNETWORK$0.00$0.00$0.00–
Oracle20209880–USDOBJECTSTORE$0.00$0.00$0.00–
Oracle20209880––OBJECTSTORE$0.00$0.00$0.00–
Oracle20209880––ORACLE_STREAMING_SERVICE$0.00$0.00$0.00–
Oracle20209880–USDTELEMETRY$0.00$0.00$0.00–
AWS1234567890123SunBirdUSDAWS Data Transfer$0.00-$0.00957-$0.009571
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDAzure Data Factory v2-$0.04-$0.04-$0.040
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDLoad Balancer-$1.39-$1.39-$1.390
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDAzure DB for MySQL-$4.89-$4.89-$4.890
Microsoft/providers/Microsoft.Billing/billingAccounts/8611537SunBirdUSDVirtual Machine Scale Sets-$12.75-$12.74-$12.76-0
Oracle20209880–USDORALB$0.00–$0.11–

97 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_account_id as billing_account_id,
       billing_account_name as billing_account_name,
       billing_currency as billing_currency,
       service_name as service_name,
       sum(effective_cost) as total_effective_cost,
       sum(list_cost) as total_list_cost,
       sum(billed_cost) as total_billed_cost,
       (sum(list_cost) - sum(effective_cost)) / nullif(sum(list_cost), 0) as effective_discount
from focus.cost_and_usage
where billing_period_start >= $1::timestamptz
  and billing_period_end < $2::timestamptz
  and charge_class is distinct from 'Correction'
group by 1, 2, 3, 4, 5
order by total_list_cost desc nulls last, service_provider_name, billing_account_id, service_name nulls last
limit 500

Parameters: $1 = billing_period_start, $2 = billing_period_end

Original FOCUS SQL

SELECT
  ServiceProviderName,
  BillingAccountId,
  BillingAccountName,
  BillingCurrency,
  ServiceName,
  SUM(EffectiveCost) AS TotalEffectiveCost,
  SUM(ListCost) AS TotalListCost,
  SUM(BilledCost) AS TotalBilledCost,
  ((SUM(ListCost) - SUM(EffectiveCost)) / NULLIF(SUM(ListCost), 0)) * 100 AS EffectiveDiscount
FROM focus_data_table
WHERE BillingPeriodStart >= ? AND BillingPeriodEnd < ?
  AND ChargeClass != 'Correction'
GROUP BY
  ServiceProviderName,
  BillingAccountId,
  BillingAccountName,
  BillingCurrency,
  ServiceName

Columns used

Column names from the source use case.

  • Service Provider Name
  • Billing Account ID
  • Billing Account Name
  • Billing Currency
  • Service Name
  • Effective Cost
  • List Cost
  • Billed Cost
  • Billing Period Start
  • Billing Period End
  • Charge Class
Read the source on focus.finops.org ↗