<Measure name="Quantity Std. Dev" aggregator="count"> <KeyExpression><SQL dialect="postgres"> make_dpcust(stddev(quantityordered)) </SQL></KeyExpression> </Measure>