Generating a report on demand