- Use Cases
- Unit Economics
- Analyze credit memos
Analyze credit memos
FOCUS Versions
v1.3
v1.4
Context
Locate Service Provider-issued credit memos in billing data and analyze how each one reduces net spend.
FOCUS SQL Query
SELECT
ServiceProviderName,
InvoiceId,
SUM(BilledCost) AS TotalBilledCost
FROM focus_data_table
WHERE ChargePeriodStart >= ? and ChargePeriodEnd < ?
AND ChargeCategory = 'Credit'
GROUP BY
ServiceProviderName,
InvoiceId