$ 0 0 I need this inventory to reset with each new item-location combinationThis sounds like you could simply add a "PARTITION BY item, location" to the SUM. Dieter
This sounds like you could simply add a "PARTITION BY item, location" to the SUM.
Dieter