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

Personas
FinOps Practitioner
Capabilities
Governance, Policy & Risk, Reporting & Analytics
KPIs
Percentage of Normalized, Queryable Data within Repository
Source
FOCUS 1.0 sample
Result rows
500
Status
Runs on sample
Execution
PrecomputedRead-only
Result snapshot (UTC)
2026-10-11

Which regions each subaccount has charges in, with the number of charge rows. The source's missing comma (RegionId RegionName) is fixed so both columns are returned. Rows with a null region are global charges.

Charge rows by region

Chart controls and notes

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

Query results
Provider nameSub account idRegion idRegion nameCharge count
AWS11353890204us-east-1US East (N. Virginia)15,843
AWS18938484842us-west-2US West (Oregon)10,235
AWS11353890204us-east-1External5,659
AWS69918885631us-west-2US West (Oregon)3,052
AWS85742851457us-west-2US West (Oregon)3,015
Microsoft/subscriptions/64e355d7-997c-491d-b0c1-8414dccfcf42eastusEast US1,993
AWS18938484842eu-central-1EU (Frankfurt)1,623
AWS90054491575us-east-1US East (N. Virginia)1,535
AWS69460568468us-west-2US West (Oregon)1,532
AWS18938484842ap-northeast-1Asia Pacific (Tokyo)1,516
AWS18938484842ap-south-1Asia Pacific (Mumbai)1,504
AWS84445137922us-west-2US West (Oregon)1,450
AWS18938484842us-east-1US East (N. Virginia)1,410
AWS18938484842us-west-2External1,320
AWS51738928782us-west-2US West (Oregon)1,145
AWS69918885631us-west-2External1,046
Microsoft/subscriptions/64e355d7-997c-491d-b0c1-8414dccfcf42eastus2East US 21,023
AWS21473187560us-west-2US West (Oregon)968
AWS18938484842ap-southeast-1Asia Pacific (Singapore)837
AWS77596568903us-west-2US West (Oregon)771
AWS65226353821eu-central-1EU (Frankfurt)753
AWS85742851457us-west-2External713
AWS69460568468us-west-2External701
AWS70077301883us-west-2US West (Oregon)681
AWS83450778704us-west-2US West (Oregon)673
AWS18938484842eu-west-2EU (London)609
AWS86366525267us-west-2US West (Oregon)587
AWS55441562023eu-north-1EU (Stockholm)576
AWS84445137922ap-southeast-2Asia Pacific (Sydney)566
AWS68988428841us-east-2US East (Ohio)562
AWS79982682937us-east-2US East (Ohio)561
AWS85742851457us-east-2US East (Ohio)561
AWS60626892153us-east-2US East (Ohio)558
AWS15196455530us-west-2US West (Oregon)544
AWS31708171669us-east-1US East (N. Virginia)527
AWS45038667490us-west-2US West (Oregon)496
AWS28975285017us-east-2US East (Ohio)483
AWS58417724665us-west-2US West (Oregon)482
AWS21473187560us-west-2External456
AWS66362635077us-west-2US West (Oregon)449
AWS17370686428us-east-1US East (N. Virginia)420
AWS18938484842ap-south-1External404
AWS18938484842ap-northeast-1External400
Oracleocid6.tenancy.oc6..aaaaaaaalnpeq6xok1okj8vknc9pzancima2g8bwvk2kk9jgwhgycacrie2q–us-sanjose-1380
AWS90054491575us-east-1External379
AWS97875037618us-west-2US West (Oregon)376
AWS85742851457us-east-2External371
AWS18938484842eu-central-1External370
AWS46124420288us-west-2US West (Oregon)370
AWS18938484842us-east-1External362
AWS83450778704us-west-2External352
AWS18938484842sa-east-1South America (Sao Paulo)351
AWS57437203586us-west-2US West (Oregon)351
AWS35661173597us-west-2US West (Oregon)327
Microsoft/subscriptions/9ec51cfd-5ca7-4d76-8101-dd0a4abc5674eastusEast US327
AWS53610183123us-west-2US West (Oregon)325
AWS48430270467us-west-2US West (Oregon)321
AWS85742851457us-east-1US East (N. Virginia)317
AWS58417724665us-west-2External314
AWS41427911773us-west-2US West (Oregon)306
AWS43687688386eu-west-1EU (Ireland)304
AWS79651190712us-west-2US West (Oregon)299
AWS19407139323eu-central-1EU (Frankfurt)298
AWS18938484842us-east-2US East (Ohio)287
AWS38762433100us-west-2US West (Oregon)282
AWS59456266262us-west-2US West (Oregon)281
AWS60626892153us-east-2External271
AWS86366525267ap-south-1Asia Pacific (Mumbai)269
AWS79651190712eu-central-1EU (Frankfurt)266
AWS84445137922us-west-1US West (N. California)255
AWS67782387614ap-northeast-1Asia Pacific (Tokyo)253
AWS68988428841us-east-2External247
AWS82351714785us-west-2US West (Oregon)239
AWS15196455530us-west-2External236
AWS68974153460us-west-2US West (Oregon)234
Microsoft/subscriptions/64e355d7-997c-491d-b0c1-8414dccfcf42centralusCentral US234
AWS59456266262us-west-2External233
AWS77596568903us-west-2External231
AWS46124420288eu-west-3EU (Paris)223
AWS46124420288us-west-2External210
AWS45038667490us-west-2External208
AWS18938484842ap-southeast-1External207
AWS38762433100us-west-2External204
AWS79982682937us-east-2External204
AWS18938484842eu-west-2External193
AWS34203734572eu-west-1EU (Ireland)193
AWS86366525267us-west-2External192
AWS53610183123us-west-2External188
AWS43883916739us-west-2US West (Oregon)186
AWS93042372971us-east-1US East (N. Virginia)185
Oracleocid6.tenancy.oc6..aaaaaaaa2fs7w19bi9iupcjqv8zayogd78eziinl2hu7rkdvmuhsavhbmkma–us-sanjose-1184
AWS66362635077us-west-2External183
AWS12109731075us-west-2US West (Oregon)179
AWS28975285017us-east-2External179
AWS17370686428us-east-1External177
AWS23778638357us-east-1US East (N. Virginia)177
Microsoft/subscriptions/ed570627-0265-4620-bb42-bae06bcfa914eastusEast US177
AWS41427911773us-west-2External175
AWS97875037618us-west-2External175
Microsoft/subscriptions/64e355d7-997c-491d-b0c1-8414dccfcf42westusWest US174

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

Precomputed result

Inspect Postgres SQL and original FOCUS SQL

Postgres SQL, as run

select provider_name,
       sub_account_id,
       region_id,
       region_name,
       count(*) as charge_count
from focus.cost_and_usage
where charge_period_start >= $1::timestamptz
  and charge_period_end < $2::timestamptz
group by 1, 2, 3, 4
order by charge_count desc, provider_name, sub_account_id, region_id
limit 500

Parameters: $1 = period_start, $2 = period_end

Original FOCUS SQL

SELECT
  ProviderName,
  SubAccountId,
  RegionId
  RegionName,
  COUNT(1)
FROM focus_data_table
WHERE ChargePeriodStart  >= ? AND ChargePeriodEnd < ?
GROUP BY
  ProviderName,
  SubAccountId,
  RegionId,
  RegionName

Columns used

Column names from the source use case.

  • Provider Name
  • Sub Account ID
  • Region ID
  • Region Name
  • Charge Period Start
  • Charge Period End
Read the source on focus.finops.org ↗