Try this one.
- Select the whole table
- In the "Property Editor" below, select the "Visibility" tab
- enable the flag "Hide Element"
- select "For all outputs"
- insert the following condition in the "Expression" box (using the "fx" button)
row.__rownum<0
The table now should disappear if empty.