Looking for some help

... Thanks in advance.
I have a periodic report that I need to do but it's based on thresholds. If the threshold in a certain time period has not been exceeded we do not want to generate a report.
The threshold is determined to be exceeded if a SQL query to a MySQL database returns a result (using counts and group by ... having count > threshold...). When I tell BIRT to generate a report is there a way for that I can design my report such that if the query returns no results that I can easily just jump out and not generate a report?
Thank-you!