Jump to content
We've recently updated our Privacy Statement, available here ×

Data source parameters in main report evaluated twice


schoudhary

Recommended Posts

I have a main report with 2 sub reports in it.I have two data sources( as json restful service). Now I made two parameters in main report which hold the above data sources. I passed one each parameter to each of the two sub reports. But the problem is - when I deploy and run the report in jasper server - the two parameters are evaluated twice each. Means my json restful services are called four times (two for each parameter).


I have some filters also attached to all the services which are configured as input controls - these have some default values and are part of my restful service data source URL...BUT when I change any filter - the services run exacatly once for each.


Thus in nut shell - first run of report evaluates the parameters twice but after first run if i just change filters it runs one time for each service.


can someone please throw some light on it - I want that each data source param should be evaluated just once - as it takes time for my service to return data.


Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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...