Question: The data source passed to a report has a `Serial` property, I need to write a field in this format for every details section: [Serial] from [Top serial]
I wrote this formula for the top serial:

```
Maximum({VW_Sizes.Serial})

```

but it gets the current serial, so instead of : 1 of 2, 2 of 2
It gets 1 of 1, 2 of 2.

Answer: 
You can concatenate that variable in a *Formula Field* inside your detail section with a content about this:

```
{VW_Sizes.Serial} & " from " & Maximum ({VW_Sizes.Serial})

```

otherwise you only can put a summary field with the maximum value outside the detail section, for example in *Grand Total (Report Footer)*.
i think there is an easier way to do something like that, from the report you need to create running field from the field explorer :

* set field name e.g. (max\_Serial)
* select your field to summarize.
* after selecting your field crystal report provides multiple types of summary according to field data type.
* select maximum and reset according to your requirement e.g. after each group.