Jump to content
Changes to the Jaspersoft community edition download ×

How to limit records display only in PDF, HTML formats and diplay all records in CSV/Metadata CSV Format


muthul

Recommended Posts

I'm using Jasper Studio 6.0.1. I have functional requirement in one of our report to display like below.

I have a dataset and query returning me 30 rows.I need to display all 30 rows in CSV output and only 15 rows in PDF and HMTL output.

I tried filter expression in Data and Query, filtering in the detail band etc. But all of those filter for criteria and fetches only 15 records in all PDF, HTML and CSV.

Kindly assist in how we can achieve it. You help is much appreciated.

 

Thanks and Regards,

Muthul.

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Thank you very much for the recommendation

I used 2 subreports inside a main report - 1 for PDF and other for CSV Metadata. Each of them having different data adapter queries.

Unfortunately, while I use exclude on the CSV Metadata Subreport or fields elments it fills it up with blank space after hiding. 

Is there a way to completely hide without blank spaces.

If anyone knows the answer, kindly help us.

 

Thanks and Regards,

Muthul.

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...