Hello! It will be nice to someone help me with my report or give same ideas. I want get in the results 'Product name' and how many days his quantity=0. For example I have this table

So I want to see:

Period is not necessary.
PS. I dont want you do this for me, if you give me some tip it will be Okey.