this is why your expression is not working.
1: You have done today()-1 instead of today()-7
2: today()-7 will return you a number not a date
3: Change that number to date by date() function
4: Make sure all your dates are in same format.
The solution is already provided by tresesco and should work