Hide Group when sub table is null

I have a Table in a report that uses a sub dataset.  The sub datset is mapped to the main dataset via a Parameter.  The table may or may not be empty based on the value passed to it.  The table is in the Detail group.  I want to not print the group when the table does not print.

michael.schneider_1's picture
Joined: May 13 2015 - 8:14am
Last seen: 6 years 8 months ago

1 Answer:

Create a variable and assign some value to it when the table is null (say 'a'). Then write the !$V{variable_name}=='a' expression in Print when expression property of the group.

venkata subbarao's picture
Joined: Mar 30 2015 - 8:00am
Last seen: 4 years 2 months ago