Hello, I am having trouble with this formula not giving me the q2 results of last year. It still give me the current year results
=DSum("[QTY]","[InspectionsT]","[TaskID]=3 And Datepart('q',Dateadd('yyyy', -1, [DateCompleted]))=2")
Any help would be greatly appreciated