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

Crosstab Parameters


ian.waterman

Recommended Posts

I have created 3 Crosstabs at 3 different Group levels and all work fine up to a point.
We use a Parameter in Main report to control Language and number formats, this work fine in main report.

Paramter in main report = LanguageCode which for UK is "en_GB".
I have set $P{REPORT_PARAMETERS_MAP} in Paramter Map Expression in CT properties.
When I try to create a Parameter in CT defualt name is Parameter1, however, properties dialog box will not accept new name of LanguageCode. 
If I try to override in Advanced Tab I get error Java.lang.NullPointerException.
I can not delete Parameter1 either

If I use the Code Value in my Format expression all works fine. I can not even add Paramter1 to expression as it does not appear in the object list in the expression edit window. 
If I manually type $P{Paramter1} the expression errors.

If I try to create another Paramter the Parameters list in Outline window does not change, ie Parameter2 does not show in window, but if I now go back to Expression editor a parmeter with name Paramter1 is available, 
If I add Parameter with default value set as en_GB expression returns Null.

Is there a setting I have missed?

Thank you
Ian

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Strange issues often occur in Jaspersoft Studio, when you met these issues, save your report, close Jaspersoft Studio, and open it again.

If you still can't edit the name of the parameter, try copy the parameter from master report and paste it to your crosstab.

Link to comment
Share on other sites

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