I need to create a report where the number of columns changes based on the data being passed to iReport just like with a subreport. Is there a way to do this?

Edit
Report