Getting issue in setting up dynamic filters in number card

I created a number card from the employee leave balance report and added dynamic filters. While adding from_date and to_date it throws an error “from_date cannot be greater than to_date”. Can anyone help me out to resolve that? and is there any other way to change the from and to date for the number card.