How to create and view a report