← Back to KPIs

Sales amount

Also known as: Total Sales, Revenue

RevenueE-commerce

The total monetary value of all completed sales transactions within a specified period. This KPI measures the revenue generated from sales activities.

Business Use Case

Executives use this KPI to assess daily revenue performance and make strategic decisions on marketing and sales initiatives.

Business Criticality

High

Journey / Navigation Area

Monetization

Owning Function

Data Architecture Team

Scope

Global

Formula

SUM(order.amount)

Calculation Notes

Excludes refunds and discounts. Only includes completed transactions.

Technical Details

Measure Typecurrency
Aggregation WindowTime based - Daily

Events

PlatformEvent
Google Analytics 4purchase
Adobepurchase

Data Mappings

W3 Data Layer
{
  "digitalData": {
    "transaction": {
      "total": {
        "value": 0,
        "currency": "USD"
      }
    }
  }
}
GA4 Data Layer
{
  "event": "purchase",
  "ecommerce": {
    "value": 0,
    "currency": "USD",
    "transaction_id": ""
  }
}
Adobe Client Data Layer
{
  "event": "purchase",
  "ecommerce": {
    "transaction": {
      "total": {
        "value": 0,
        "currency": "USD"
      }
    }
  }
}
XDM Mapping
{
  "_experience": {
    "analytics": {
      "event1": {
        "value": 0,
        "currencyCode": "USD"
      }
    }
  }
}

SQL Queries

Google Analytics 4 (BigQuery)
-- ==========================================
-- 1. GOOGLE BIGQUERY SQL
-- ==========================================
SELECT
  event_date,
  SUM(ecommerce.value) AS total_sales_amount
FROM
  `your-project.analytics_123456789.events_*`
WHERE
  event_name = 'purchase'
  AND ecommerce.value IS NOT NULL
GROUP BY
  event_date
ORDER BY
  event_date;
Adobe Experience Platform (AEP Query Service)
-- ==========================================
-- 2. ADOBE AEP QUERY SERVICE SQL
-- ==========================================
SELECT
  CAST(eventTimestamp AS DATE) AS event_date,
  SUM(ecommerce.transaction.total.value) AS total_sales_amount
FROM
  aep_backend_dataset
WHERE
  event = 'purchase'
  AND ecommerce.transaction.total.value IS NOT NULL
GROUP BY
  CAST(eventTimestamp AS DATE)
ORDER BY
  event_date;

Source Data

Digital Analytics

Dependencies

[ "order.amount" ]

Report Attributes

Region Product Category

Recommended Reporting Views

Views
Executive SummarySales Performance

Segment Eligibility

true

Governance

Data Sensitivityinternal

Governance

Created bydevyendarm
Created on12/28/2025
Last modified bydevyendarm
Last modified on6/3/2026
StatusPUBLISHED

GitHub

View related Pull Requestcatalog/kpis/sales-amount.yml

Community Discussion