Determine target of virtual currency usage v1.3
Inspect the result, its parameters and the SQL behind it.
- Source
- FOCUS use-case library
- Data
- FOCUS 1.0 sample
- Status
- Not in v1.0 sample
- Mode
- Read-only
- Library snapshot (UTC)
- 2026-10-08
- Source
- FOCUS use-case SQL
- Status
- Not in v1.0 sample
- Results
- Not run
- Mode
- Read-only
- Library snapshot (UTC)
- 2026-10-08
PricingCurrency and PricingCurrencyEffectiveCost (and HostProviderName) are absent from the v1.0 sample, so virtual-currency consumption cannot be attributed to services.
Original FOCUS SQL
SELECT
ServiceProviderName,
HostProviderName,
ServiceName,
ChargeDescription,
SUM(PricingCurrencyEffectiveCost) AS TotalPricingCurrencyEffectiveCost
FROM focus_data_table
WHERE ChargePeriodStart >= ? and ChargePeriodEnd < ?
AND PricingCurrency = ?
GROUP BY
ServiceProviderName,
HostProviderName,
ServiceName,
ChargeDescription
ORDER BY TotalPricingCurrencyEffectiveCost DESC
LIMIT 10