In some scenarios, users would like to query the latest N days data that are available the database. For example, today is 10/15, the user would like to get the latest 2 days data while there is only data between 10/1~10/10 available in the database. Therefore the latest 2 days for 10/15 should be 10/9~10/10 rather than 10/14~10/15.
The following steps instruct how to get the latest 2 days data in the report.
