# Base Units

**Description:** The expected number of units sold absent promotions.

**Formula:**

* **Option A (Direct Source Available):** `SUM(base_units)`
* **Option B (Not Available):** *Rolling Average of Non-Promo Unit Sales* (e.g., last 4–8 weeks)

**SQL Calculation (Option A):**

```sql
SUM(base_units) AS base_units
```

**SQL Calculation (Option B):**

```sql
AVG(units_sold) OVER (PARTITION BY product_id, retailer_id
                      ORDER BY week ROWS BETWEEN 4 PRECEDING AND CURRENT ROW)
   AS base_units_rolling_avg
```

**Why It Matters:** Establishes the unit-level benchmark needed for promo evaluation and lift calculations.

**Metric Type:** Diagnostic

**Essence:** Lagging

**Frequency:** Weekly

**Units:** Units

**Suggested Breakdowns:** Product, Retailer, Market

**Related Explores:**

* Retail POS Baseline Analysis
* Promo Lift Explorer

**Related Sources:**

* URS.SALES\_REPORT (unit sales)
* Syndicated baseline modeling


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.daasity.com/core-concepts/metrics/retail-and-wholesale-metrics/sales-volume/base-units.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
