One product can be below zero and close above zero
Follow Kampala P01 through 4 March. Choose the instant your DAX measure should report.
Check your reading
An end-of-day measure shows 14 units and hides the 09:00 exception. The signed movement for the day is −6 units. Retain the event timestamps to investigate the negative position.
Open the case files, data dictionary and portfolio challenge
How much moved during April and how much was held at the end of April are different questions. A movement is additive across events and periods. A closing balance is additive across separate positions at the same moment. Adding March and April balances counts much of the same stock twice. This is the defining semi-additive behaviour of the model.
| File | One row represents | Business key |
|---|---|---|
| opening.csv | Starting quantity before movements on 1 March 2025 | branch + product_id at the single opening date |
| movements.csv | One signed stock movement at event time | move_id |
| counts.csv | One independently observed quantity at the close of the count day | count_date + branch + product_id |
Look at Kampala P01. The opening is 20 units. On 4 March at 09:00 an issue of 26 takes the book balance to −6. A receipt of 20 follows at 15:00 and restores it to 14. The same day has a −6 net movement and a +14 closing balance. A negative book position calls for an evidence check on timing and source entries.
Define the cutoff convention: opening before any movements on 1 March, date selections through end of selected day, event views through the selected event, and all quantities in case units. Keep count observations separate from approved adjustment events.