I need to get a quantity value for each store based on the ItemID, however, the client wants it within a column rather than grouping the ItemID and listing the stores with a quantity behind each, which is a lot simpler. Of course people want things the hard way...
i.e.
if {Item.StoreID} = "such-and-such" and {Item.ItemID} = {current}
then {Item.Quantity}
The problem I'm having is that I can't figure out how to get the current value of ItemID or even if this is the right logic, because ItemID should always equal the current ItemID. Is there anyway to do this by grouping ItemID and then running through the group for each store?
i.e.
if {Item.StoreID} = "such-and-such" and {Item.ItemID} = {current}
then {Item.Quantity}
The problem I'm having is that I can't figure out how to get the current value of ItemID or even if this is the right logic, because ItemID should always equal the current ItemID. Is there anyway to do this by grouping ItemID and then running through the group for each store?