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

Crosstab Report Formatting


ckpkhill

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

In the JasperReports Server v5.6 Ad Hoc editor, to add a currency symbol to column values, right-click on the header of the column, mouse over Change Data Format, and select a format.

To calculate counts for a measure, at the right end of the Measures panel header, mouse over the small selector icon and select Create Calculated Measure. The New Calculated Measure window appears.

In the Functions pane near the center of the window, scroll to find the appropriate Count function (there are three) and double-click to add it to the Formula pane above. The Function Description pane near the lower right displays text that explains how to configure the function.

At the top of the window, provide an appropriate name in the Measure Name field. Click the Validate button near the bottom left to determine if your function is configured properly. Click the Create Measure button at the lower left to save your new calculated field to the Fields or Measures panel, from which you can double-click to add it to your Ad Hoc view.

Repeat to create a percentages column, this time using the PercentOf function.

See chapter 4.6 in the JasperReports Server User Guide for detailed info on all of the calculated field functions.
The guide is available free at http://community.jaspersoft.com/documentation?version=10870
 

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