
I'm getting the all-too-common error message saying that I'm mixing aggregates and non-aggregates in the calculation below. I've tried the solutions suggested here with no success:
Here's the calc:
IF [Date- Fiscal Year (js)]<[Fiscal Year Start Date Current Year (js)] THEN 0
ELSEIF [Date- Fiscal Year (js)]>(TODAY()-1) THEN 0
ELSE COUNTD([Donor Id])
END
I've also attached the workbook. Thanks, in advance, to anyone who can help me with this!
3 réponses

Hi Amelia,
You may want to re-write your calc like this:
ZN( COUNTD(
IF [Date- Fiscal Year (js)]<[Fiscal Year Start Date Current Year (js)]
THEN Null
ELSEIF [Date- Fiscal Year (js)]>(TODAY()-1)
THEN Null
ELSE [Donor Id]
END
) )
Yours,
Yuri