DBlank would use running totals, but like variables and formulas. of course, as I type, the thought occurs to me, have you tried CountDistinct(
{@GroupQuarterly}) in the group footer/header? (never mind, it won't work, as you can't summarize a formula)
Otherwise, I would do something like(which can be incorporated into the formula for calculating the
{@GroupQuarterly}):
shared numbervar quarters;
shared stringvar strQuarters;
if instr(strQuarters,{current quarter})=0 then (
quarters := quarters + 1;
strQuarters := strQuarters + "|" {current quarter};
);
{current quarter} would be how you are designating the quarter in your formula...this formula counts the quarters uniquely. you would probably want to reset the value at the start of the group and use it in the footer.
HTH