inventory decrease related with the orders (orders 4-5-10-50) total stock is 37 qt. Assign this stock for orders. xxxxx's first order is 4 qt. 37-4=33 qt is last inventory, fo second row my stock must be 33 (37-33-28-18) but ı can't. qlikview shows total inventory 37 qt in every xxxxxxx row.