So, I just build this GI. I want to show year to date for this year and last year.
The formula for this year is working. The formula I have for this year is not working. Can I please get help if anyone has done this.

This is my result now.

So, I just build this GI. I want to show year to date for this year and last year.
The formula for this year is working. The formula I have for this year is not working. Can I please get help if anyone has done this.

This is my result now.

Best answer by lauraj46
Hi
You could try this formula:
=sum(iif(year([ARTran.TranDate])=year(Today())-1 and [ARTran.TranDate]<=DateAdd(Today(),'y',-1), [ARTran.TranAmt],0))
Hope this helps!
Laura
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.