Short answer: average order value (AOV) = revenue / number of orders. In DAX: DIVIDE ( [Revenue], DISTINCTCOUNT ( Sales[Order ID] ) ), never AVERAGE ( Sales[Amount] ), which averages order lines. AOV has two drivers: items per order × average item price, so a change in AOV says either baskets got bigger or items got dearer. Check the median too: a few large orders lift the mean without changing the typical basket.
AOV is one of three levers of revenue (customers × orders per customer × AOV). It is the one that bundles, free-shipping thresholds and recommendations move.
How is it calculated?
| Order | Lines | Items | Revenue |
|---|---|---|---|
| 1001 | 2 | 3 | 60 |
| 1002 | 1 | 1 | 25 |
| 1003 | 4 | 6 | 150 |
| 1004 | 2 | 2 | 45 |
| 1005 | 2 | 4 | 520 |
| Total | 11 | 16 | 800 |
- AOV = 800 / 5 orders = 160
- Average line value = 800 / 11 lines = 72.7 (wrong for AOV)
- Items per order = 16 / 5 = 3.2; average item price = 800 / 16 = 50; 3.2 × 50 = 160
- Median order value = 60 (order 1005 pulls the mean up)
What is the DAX?
Orders = DISTINCTCOUNT ( Sales[Order ID] )
AOV = DIVIDE ( [Revenue], [Orders] )
Items per Order = DIVIDE ( SUM ( Sales[Quantity] ), [Orders] )
Avg Item Price = DIVIDE ( [Revenue], SUM ( Sales[Quantity] ) )
Median Order Value =
MEDIANX ( VALUES ( Sales[Order ID] ), [Revenue] )
AOV LY = CALCULATE ( [AOV], SAMEPERIODLASTYEAR ( 'Date'[Date] ) )
AOV Growth % = DIVIDE ( [AOV] - [AOV LY], [AOV LY] )MEDIANX over order IDs evaluates revenue per order through context transition.
How do you read changes in AOV?
- AOV
- Items per order
Here AOV rose with items per order, so baskets grew (bundles or a free-shipping threshold working), not prices. Split AOV by channel (web, app, store) and customer type (new, returning): new customers often buy smaller first orders, so a campaign that brings many new customers can lower AOV while growing revenue.
How can AOV be raised?
- Free-shipping threshold just above the current AOV.
- Bundles and "frequently bought together".
- Volume discounts (watch margin: see profit margin).
- Upselling to a higher tier.
Track AOV together with conversion rate: a high threshold can raise AOV and lose orders.
What goes wrong?
- Averaging order lines. Use revenue / distinct orders.
- Returns and cancellations. Decide whether AOV is gross or net, and keep it the same everywhere.
- Tax and shipping. Include or exclude consistently; mixing them between channels makes comparisons wrong.
- Outliers. One wholesale order changes a month's AOV; show the median, or exclude B2B orders.
Where can you check this?
- Microsoft Learn: DISTINCTCOUNT function (DAX)
- Microsoft Learn: MEDIANX function (DAX)
- Microsoft Learn: DIVIDE function (DAX)
Where do you start?
Put AOV, items per order and median order value side by side by month. Repeat purchase rate covers the other lever, orders per customer.