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

Personas
Finance
Capabilities
Forecasting, Budgeting
KPIs
Forecast Accuracy Rate (Spend), Forecast Accuracy Rate (Usage), Forecast Drift Rate, Percentage Variance of Budgeted vs. Forecasted CSP Cloud Spend, Percentage Variance of Budgeted vs. Actual CSP Cloud Spend, CSP Cloud Budget Burn Rate
Source
FOCUS 1.0 sample
Result rows
108
Status
Runs on sample
Execution
PrecomputedRead-only
Result snapshot (UTC)
2026-10-11

Monthly historical billed cost by provider, service category and service, the input to a cash-flow forecast (the query itself does not extrapolate). MONTH() becomes date_trunc('month'); defaults include the March and April 2026 billing periods, but April holds only 37 rows, so the trend is thin.

Monthly billed cost by service category

Chart controls and notes

The largest 7 series keep their own colors; the remaining series are combined as Other.

Query results
Billing monthProvider nameService categoryService nameTotal billed cost
2026-03-01AWSComputeAmazon Elastic Compute Cloud$499.88
2026-03-01MicrosoftComputeVirtual Machines$168.24
2026-03-01MicrosoftDatabasesAzure SQL Database$149.04
2026-03-01MicrosoftOtherSQL Database$108.73
2026-03-01AWSStorageAmazon Elastic Compute Cloud$93.56
2026-03-01AWSDatabasesAmazon Relational Database Service$65.51
2026-03-01AWSOtherDatadog$40.98
2026-03-01MicrosoftWebAzure App Service$35.98
2026-03-01AWSManagement and GovernanceAmazonCloudWatch$33.49
2026-03-01MicrosoftOtherAzure Synapse Analytics$30.24
2026-03-01AWSNetworkingAmazon Virtual Private Cloud$23.15
2026-03-01MicrosoftAnalyticsMicrosoft.Fabric$19.28
2026-03-01AWSNetworkingElastic Load Balancing$18.17
2026-03-01MicrosoftStorageStorage Accounts$17.46
2026-03-01OracleComputeCOMPUTE$17.31
2026-03-01MicrosoftNetworkingVirtual Network$12.91
2026-03-01MicrosoftDeveloper ToolsAzure Load Testing$10.00
2026-03-01AWSStorageAmazon Elastic File System$9.54
2026-03-01AWSOtherAmazon Elastic Container Service for Kubernetes$9.10
2026-03-01MicrosoftManagement and GovernanceAzure Monitor$8.75
2026-03-01MicrosoftComputeAzure Kubernetes Service$8.36
2026-03-01AWSOtherAmazon Elastic Container Service$6.70
2026-03-01AWSStorageAmazon Simple Storage Service$6.62
2026-03-01AWSManagement and GovernanceAWS Config$5.51
2026-03-01MicrosoftAI and Machine LearningAzure Machine Learning$5.05
2026-03-01MicrosoftComputeAzure Container Instances$5.02
2026-03-01MicrosoftNetworkingAzure ExpressRoute$4.19
2026-03-01AWSNetworkingAmazon CloudFront$3.86
2026-03-01AWSComputeAWS Lambda$3.52
2026-03-01AWSOtherRed Hat OpenShift Service on AWS$3.42
2026-03-01OracleWebOPENSEARCH$2.60
2026-03-01Oracle–ODSP$2.49
2026-03-01AWSDatabasesAmazon ElastiCache$2.45
2026-03-01AWSComputeSavings Plans for AWS Compute usage$2.32
2026-03-01MicrosoftNetworkingAzure Private Link$1.85
2026-03-01AWSDatabasesAmazon DocumentDB (with MongoDB compatibility)$1.06
2026-03-01MicrosoftOtherLoad Balancer$0.72
2026-03-01OracleComputeOKE_CONTROL_PLANE$0.70
2026-03-01MicrosoftSecurityMicrosoft Defender for Cloud$0.65
2026-03-01AWSIdentityAWS Key Management Service$0.53
2026-03-01AWSComputeAmazon Elastic Container Registry Public$0.52
2026-03-01AWSSecurityAmazon GuardDuty$0.43
2026-03-01AWSSecurityAWS Security Hub$0.43
2026-03-01AWSManagement and GovernanceAWS Systems Manager$0.42
2026-03-01AWSComputeAmazon Lightsail$0.34
2026-03-01AWSMigrationAWS Transfer Family$0.30
2026-03-01AWSOtherAmazon EC2 Container Registry (ECR)$0.27
2026-03-01OracleStorageBLOCK_STORAGE$0.27
2026-03-01AWSDatabasesAmazon OpenSearch Service$0.24
2026-03-01AWSIntegrationAmazon Simple Queue Service$0.22
2026-03-01AWSDatabasesAmazon DynamoDB$0.22
2026-03-01AWSSecurityAWS WAF$0.21
2026-03-01AWSIdentityAWS Secrets Manager$0.20
2026-03-01MicrosoftOtherVirtual Network$0.18
2026-03-01MicrosoftComputeAzure Container Registry$0.17
2026-03-01MicrosoftStorageAzure Site Recovery$0.16
2026-03-01AWSComputeAWS Step Functions$0.16
2026-03-01AWSNetworkingAmazon API Gateway$0.13
2026-03-01OracleOthersORALB$0.11
2026-03-01AWSBusiness ApplicationsAmazon Simple Email Service$0.07
2026-03-01OracleIdentityIDENTITY_AND_ACCESS_MANAGEMENT$0.06
2026-03-01AWSBusiness ApplicationsAmazonWorkMail$0.04
2026-03-01AWSStorageAWS Backup$0.03
2026-03-01MicrosoftSecurityKey Vault$0.02
2026-03-01AWSIntegrationCloudWatch Events$0.02
2026-03-01MicrosoftNetworkingAzure DNS$0.02
2026-03-01AWSOtherAWS App Runner$0.00658
2026-03-01MicrosoftAnalyticsAzure Synapse Analytics$0.00606
2026-03-01AWSNetworkingAmazon Route 53$0.00381
2026-03-01AWSDeveloper ToolsAWS X-Ray$0.0037
2026-03-01MicrosoftNetworkingApplication Gateway$0.00146
2026-03-01AWSManagement and GovernanceAWS CloudTrail$0.000402
2026-03-01MicrosoftIntegrationLogic Apps$0.00025
2026-03-01AWSAnalyticsAmazon Redshift$0.00018
2026-03-01AWSIntegrationAmazon Simple Notification Service$0.0000853
2026-03-01MicrosoftIntegrationEvent Grid$0.0000726
2026-03-01Oracle–ORACLE_STREAMING_SERVICE$0.0000538
2026-03-01MicrosoftIntegrationAzure Data Factory$0.00003
2026-03-01MicrosoftIntegrationService Bus$0.00000205
2026-03-01AWSStorageAmazon Glacier$0.000000574
2026-03-01OracleStorageFILESTORAGESERVICE$0.00000000002
2026-03-01AWSAnalyticsAmazon QuickSight$0.00
2026-03-01AWSAnalyticsAWS Glue$0.00
2026-03-01AWSBusiness ApplicationsAmazon WorkDocs$0.00
2026-03-01AWSDeveloper ToolsAmazon DevOps Guru$0.00
2026-03-01AWSManagement and GovernanceAWS CloudFormation$0.00
2026-03-01AWSWebAmazon Location Service$0.00
2026-03-01MicrosoftComputeAzure Savings Plan for Compute$0.00
2026-03-01MicrosoftDeveloper ToolsApp Configuration$0.00
2026-03-01MicrosoftOtherAzure App Service$0.00
2026-03-01MicrosoftOtherSQL Managed Instance$0.00
2026-03-01MicrosoftStorageAzure File Sync$0.00
2026-03-01OracleNetworkingNETWORK$0.00
2026-03-01OracleOthersTELEMETRY$0.00
2026-03-01OracleStorageOBJECTSTORE$0.00
2026-03-01AWSNetworkingAWS Data Transfer-$0.00957
2026-03-01MicrosoftOtherAzure Data Factory v2-$0.04
2026-03-01MicrosoftNetworkingLoad Balancer-$2.11
2026-03-01MicrosoftDatabasesAzure DB for MySQL-$4.89
2026-03-01MicrosoftComputeVirtual Machine Scale Sets-$12.76

Showing 100 of 108 rows. Scroll inside the table to see more.

Precomputed result

Inspect Postgres SQL and original FOCUS SQL

Postgres SQL, as run

select date_trunc('month', billing_period_start at time zone 'UTC') as billing_month,
       provider_name as provider_name,
       service_category as service_category,
       service_name as service_name,
       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, 2, 3, 4
order by billing_month, total_billed_cost desc nulls last, provider_name, service_category nulls last, service_name nulls last
limit 500

Parameters: $1 = billing_period_start, $2 = billing_period_end

Original FOCUS SQL

SELECT
  MONTH(BillingPeriodStart),
  ProviderName,
  ServiceCategory,
  ServiceName,
  SUM(BilledCost) AS TotalBilledCost
FROM focus_data_table
WHERE BillingPeriodStart >= ? AND BillingPeriodEnd < ?
GROUP BY
  MONTH(BillingPeriodStart),
  ProviderName,
  ServiceCategory,
  ServiceName

Columns used

Column names from the source use case.

  • Provider Name
  • Billing Period Start
  • Service Category
  • Service Name
  • Billed Cost
  • Billing Period End
Read the source on focus.finops.org ↗