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

dynamic Excel formula with crosstabs


glassner

Recommended Posts

Does anyone know how to generate Excel formula dynamically when using a crosstab ?

This post is very helpful in decribing how to generate Execl formulas dynamically http://jasperforge.org/plugins/espforum/view.php?group_id=83&forumid=101&topicid=74214

in the post above, we set the following property:

net.sf.jasperreports.export.xls.formula

"=SUM(B2:B"+($V{REPORT_COUNT}.intValue()+1)+")"

But in the context of a crosstab, does anyone know how to refer to the number of records in a group, or the number of columns in a group ? How does one replace "B2" with something that indicated the first column, the first row ...

Or dynamic Excel formulas and crosstabs do not mix ?

 

 

 

 

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...

If you can do it with jasperreports, you will do it in iReport, I'm just not sure how to do it from a jasper prospective, meaning I don't think there is a variable which gives you the number of columns or group.

I'm sure Teodor or Lucian in the JasperReports forum can answer your question

 

Giulio

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