I have a report grouped by Reference Number (see example below). I want to display any Reference Number groups when the most recent status is "Closed" and is within a given quarter. All statuses need to be displayed even when a date/time is outside the target quarter.
[tt]RefNo:[tab]A219488
Status[tab][tab][tab][tab]DateTime
Open[tab][tab][tab][tab]3/28/2016 8:44:52 AM
Submittal Pending[tab]3/29/2016 11:06:48 AM
Under Review[tab][tab]4/12/2016 1:56:49 PM
Submittal Pending[tab]4/15/2016 10:41:20 AM
Under Review[tab][tab]4/23/2016 12:31:36 PM
Submittal Pending[tab]4/27/2016 1:11:58 PM
Open[tab][tab][tab][tab]4/28/2016 10:25:08 AM
Submittal Pending[tab]4/28/2016 10:25:18 AM
Under Review[tab][tab]6/15/2016 9:49:20 AM
Awaiting Approval[tab]6/16/2016 10:37:18 AM
Closed[tab][tab][tab][tab]6/16/2016 10:37:26 AM
[/tt]
[tt]RefNo:[tab]A219488
Status[tab][tab][tab][tab]DateTime
Open[tab][tab][tab][tab]3/28/2016 8:44:52 AM
Submittal Pending[tab]3/29/2016 11:06:48 AM
Under Review[tab][tab]4/12/2016 1:56:49 PM
Submittal Pending[tab]4/15/2016 10:41:20 AM
Under Review[tab][tab]4/23/2016 12:31:36 PM
Submittal Pending[tab]4/27/2016 1:11:58 PM
Open[tab][tab][tab][tab]4/28/2016 10:25:08 AM
Submittal Pending[tab]4/28/2016 10:25:18 AM
Under Review[tab][tab]6/15/2016 9:49:20 AM
Awaiting Approval[tab]6/16/2016 10:37:18 AM
Closed[tab][tab][tab][tab]6/16/2016 10:37:26 AM
[/tt]