REPORT for customers, who didnt order within X days

REPORT for customers, who didnt order within X days

Hello World.

I am losing my hair on this one- I am trying to create a report, which will show me customers who didn't order within X days (or didnt receive an invoice within X days).

Did anyone of you succeeded with such a report?