interactive query and reporting tool