开发者

JasperReports Groups

开发者 https://www.devze.com 2023-02-05 08:17 出处:网络
Is there a way to use the 开发者_如何学Pythonfirst value of the data within a group? For example I have the following data:

Is there a way to use the 开发者_如何学Pythonfirst value of the data within a group?

For example I have the following data:

1 12/1
1 12/5
2 1/2 
3 5/6
3 6/6

I would like for the data output to be: [with groups]

Group Header for 1 start date: 12/1
  [Data]

Group Header for 2 start date: 1/2
  [Data]

Group Header for 3 start date: 5/6
  [Data]


You can define a variable, let it reset on each group, set the calculation type to 'first' and the expression to the field you want to display.

0

精彩评论

暂无评论...
验证码 换一张
取 消