SteviebLGX
New Member
- Joined
- Dec 7, 2019
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
I have written a measure that calculates the volume of a number of items for an order. I now want to write a measure that would calculate how many cartons would be needed for that order. There are three carton sizes which I have defined in a separate, but unrelated table. In essence the calculation would be
NumberOfSmallCartons:=TotalVolume/SmallCartonVolume
NumberOfMediumCartons:=TotalVolume/MediumCartonVolume
NumberOfLargeCartons:=TotalVolume/LargeCartonVolume
The Carton Volume Table is something like this;
Small,900000
Medium,125000
Large,200000
I need to be able to reference the Carton Volume Table by creating a 'temporary' relationship by virtue of 'Small', 'Medium', or 'Large'.
Or do it a better way.
Any advice/suggestions would be appreciated. Thanks
(I have asked this on another forum, but with no response. Apologies if this is a repeated question for some)
NumberOfSmallCartons:=TotalVolume/SmallCartonVolume
NumberOfMediumCartons:=TotalVolume/MediumCartonVolume
NumberOfLargeCartons:=TotalVolume/LargeCartonVolume
The Carton Volume Table is something like this;
Small,900000
Medium,125000
Large,200000
I need to be able to reference the Carton Volume Table by creating a 'temporary' relationship by virtue of 'Small', 'Medium', or 'Large'.
Or do it a better way.
Any advice/suggestions would be appreciated. Thanks
(I have asked this on another forum, but with no response. Apologies if this is a repeated question for some)