Optimizing incremental inventory calculation in DAX

Optimize inventory calculations in DAX by using snapshots to avoid the computational cost of a complete running total.