Analyze marketplace vendors costs
FinOps Practitioners want to be able to answer the question: How much are we spending each month on vendor products that were purchased via a Cloud Service Provider’s marketplace?
- Source
- FOCUS MCP snapshot
- FOCUS editions
- v1.3, v1.4
- Queries
- 1
- Mode
- Read-only
- Library snapshot (UTC)
- 2026-10-08
Analyze marketplace vendors costs v1.3
Adapted to v1.0- Source
- FOCUS 1.0 sample
- Result rows
- 17
- Status
- Adapted to v1.0
- Execution
- Precomputed
- Result snapshot (UTC)
- 2026-10-11
Column adaptations (2)
Marketplace seller effective cost
17 rows. Scroll inside the table to see more.
Inspect Postgres SQL and original FOCUS SQL
Postgres SQL, as run
select charge_period_start as charge_period_start,
charge_period_end as charge_period_end,
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,
provider_name as host_provider_name,
invoice_issuer_name as invoice_issuer_name,
round(sum(effective_cost), 2) as total_effective_cost
from focus.cost_and_usage
where charge_period_start >= $1::timestamptz
and charge_period_end < $2::timestamptz
and publisher_name is not null and publisher_name is distinct from invoice_issuer_name
group by charge_period_start, charge_period_end, 3, provider_name, invoice_issuer_name
order by charge_period_start, total_effective_cost asc, service_provider_name
limit 500Original FOCUS SQL
SELECT ChargePeriodStart, ChargePeriodEnd, ServiceProviderName, HostProviderName, InvoiceIssuerName, ROUND(SUM(EffectiveCost),2) AS TotalEffectiveCost FROM focus_data_table WHERE ChargePeriodStart >= ? AND ChargePeriodEnd < ? AND InvoiceIssuerName != ServiceProviderName GROUP BY ChargePeriodStart, ChargePeriodEnd, ServiceProviderName, HostProviderName, InvoiceIssuerName ORDER BY TotalEffectiveCost ASC
Columns used
Column names from the source use case.