I have a database of prices of products. Each product has a Brand, Category, Type and Subtype. Each product has many prices and I want to calculate the standard deviation of the price of each product. I have a query that lists all products by Brand, Category, Type and Subtype. I need to add a column that calculates the standard deviation of each product (row). I want to make a simple DStDev expression, but I can't figure out a way to do that without the criteria being from a different domain than the domain in the expression, which DStDev can't do. Other ideas or workarounds anyone?