On the Aggregation tab, you can create an exception aggregation for a formula and select or exclude reference characteristics.