Example

 

outerprod(quantity, weights, "*")

 

If QUANTITY and WEIGHTS are both single variable data series, this expression results in a table of total weight.