I have an issue where I am trying to calculate inventory in various ways. Item Quantity is given in fact data. We want to convert these quantities into pallets and containers for reporting. As part of the Product Dimension I have an attribute for Pallet and Container Qty. The math should be simple [Item Qty] /[Pallet QTY] =Number of Pallets and the same for Containers. I have been using FactInv[Item_Qty]/Values(DimProduct[Pallet_Qty) to give me the infomration I want but I ran into an issue. The calulation only works at the item level. If we want to aggregate number of pallets across more than 1 item or at a higher level than item, say Item Category, I receive no data. To me this is an issue where the calcuation is not being performed at the lowest level and then aggregated with sum. Instead it seems we have a sum of mixed item Qty and the Values() function is returning more than pallet qty which breaks the formula. Any insight into how to correct the Number of Pallets\Conatiners calcuation is greatly apprecaited.
↧