-made data analysis tables dynamic based off chosen time period