Dear @Edan_Ben-Atar,
Thank you sharing the doc.
You should add one more filter to the table as in the screenshot below:
and this is the formula: thisRow.In(thisTable.Sort(true, thisTable.[Due date]).Slice(0, 10))
For a detailed explanation how it works, I recommend you this post of Shishir:
I will not be able to explain it better then him