How to change the table in SQL

Within the tag history datasource you would refer back to report parameters:

These would just be standard date objects - so if you’re using a Report Viewer on a window, you can simply add some Calendar/Date Range component(s) and bind the report’s StartDate and EndDate parameters to the date selector component.