This example was not the report module, but if I'm understanding you correctly, the problem seems similar. Perhaps it will help you: