List bugs formula

Hi guys,

I need to create a simple report with bugs amount peer day. When I use predefined formula the problem is if issue was resolved it’s gonna be deleted from all the days. What I expect is to get total amount of unresolved bugs in given day in the past.
Thanks for help and cheers!