Best way to display historical data? Report or something else

I am trying to recreate a data viewer to allow the user to download select data. They gave me an example from another project. Should this be done with a report or another component? See example.

There are several options, it looks like you are exporting tag history data, system.tag.queryTagHistory is relatively straight forward. You can also use system.dataset.exportCSV and generate the dataset with a query or create a table containing your data and use its dataset. There is nothing wrong with using a report with though.

Welcome to the forum!