Behaviour of Tables in Jasper can be a little bit confusing.

Thererfore here some usefull hints (september 2015, version 5.6):

  1. Table needs separate dataset, it cannot “reuse” main dataset of ther report/subreport
  2. Table DOES NOT behave as “subreport” inside the report/subreport you want to create it. It Behaves as reparate parallel report.
  3. Because of point 2 you cannot pass data from main dataset into table’s parameters. If you want to do it you must past these values from parent report.
  4. If you want to use parameters to limit display of some columns you will find that there is probably some bug in implementation – although you select parameter from sub-dataset during design time, during run time Jasper will look for this parameter into main dataset.