use filter for table and graph