to preserve the use of indexes for better performance, better to not use a formula on the target field.
Assuming your week starts on a Sunday and your date field does not contain a time element, try
AppointmentDate between date()-weekday(date(),1) and date()-weekday(date(),1)+7
If your week...