where do we write queries in QC dashboard to generate report?