If we use single day for range report (e.g. page views), Compare tool will return the error because it expects to have range for comparison. Please add support to compare to another single date in this case (e.g. day before, day from last week, month, same day last year etc.)
API returned an error: The date ',' is not a correct date range. It should have the following format: 'lastN', 'previousN', 'YYYY-MM-DD,YYYY-MM-DD'. at Range.php:268
@dev-101 do you know which report is showing you that error? Or whether it is shown on the dashboard? Is it for a specific widget in the dashboard? AFAIK this should be supported.
Error is shown on the page (red rectangle).
You can also select any custom single date from the Day period option in the calendar.
I just noticed that there is an option to compare it to "Previous period", in which case previous day is automatically selected, but what if we need same day from the week before or month or custom date?
Will close this issue @dev-101 as it looks fixed in Matomo 4.3. If it's still an issue please comment with the steps to reproduce and we'll reopen.