SIMITGROUP / phpjasperxml

This is a php wysiwyg report library
BSD 3-Clause "New" or "Revised" License
44 stars 45 forks source link

Issue band group expression with ternary operator #72

Closed fauzan1505 closed 2 years ago

fauzan1505 commented 3 years ago

Dear SIMITGROUP,

I use ternary operator in expression band group example ($P{GROUP_BY}==1?$F{POLICY_NUMBER}:$F{LOCATION}) because i want to parse parameter group by sistem, and create variable total value (for calculate subtotal and total) with reset type is group and reset group is group1, with editor TIBCO Jaspersoft is no problem, it is mean view subtotal summary by group is OK, but with phpjasperxml subtotal NOT showing..

can you help me please?

thanks,

fau

kstan79 commented 2 years ago

yes, that is some limitation on calculation, cause php and jasperreport using different language. we use php manually convert basic groovy, but it not work for all.

you may refer here

hope it helpful

kstan79 commented 2 years ago

this repository closed, use new repository with new code base instead: https://github.com/SIMITGROUP/phplibs

kstan79 commented 2 years ago

you may install latest version and try it again, the latest version is using different kind of algorithm and maybe helpful