jasper reports - JasperStudio count rows for group -


i installed jasperstudio , have been struggling following group report, can't find how make work using variables or other method:

"group a"  /  entries: <$v{count_g1}>     |     --- "group b" / entries: <$v{count_g2}>           |           --- "group c" / entries: <$v{count_g3}>                   |                   --- "group d" / entries: <$v{count_g4}>                          |                          --- "group e" / entries: <$v{count_g5}>                                 |                                 [detail band]                                 id      name       surname      email  

i need display number of records each group counting "id" field.

tried various "expressions" when creating variable , doing wrong because either "null" or 0.

i think found problem, jasper doesn't support (bug or design?) aggregate functions/variables in header bands.

if move same variables/fields footer bands , displayed.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -