Hello fellows, Good day. I have a cross tab inside a subreport. I need to fetch the grandtotal of cross tab and display it in a textobject under the cross tab. Any clue how this can be achieved ?
+1
A:
- Drag and drop the database or formula field you want into the detail section of the report. (Remove any unwanted guidelines / column headings that this generates.)
- Right-click the inserted detail section item and select Insert > Summary... . Specify Sum, to be inserted in the same section as the datagrid is located. (Remove the detail section item, if you don't want it in the detail section.)
- The total field can be dragged and dropped into position under the data grid. If you specifically want it in a text field, then insert a blank text field into the report under the data grid and then drag and drop the total field into it.
Mark Bannister
2010-08-02 11:07:55
Thanks Mark, you were absolutely right. Any hint how I can display this field as toWords() rather then numbers ?
Popo
2010-08-10 05:18:00
@Popo, instead of creating the numeric summary field as I suggested, create a formula field (called something like {@TotalInWords}) with the formula `ToWords (Sum ({Table.Value}))` and insert it into the report under the data grid as required.
Mark Bannister
2010-08-10 17:15:00
Thank you Mark. I did what you told and it solved the problem =)
Popo
2010-08-11 17:09:54
@popo - cool! :)
Mark Bannister
2010-08-11 18:02:49
+1
A:
Do you have any criteria or special formula in the crosstab? If not, then you could probably just make a new formula sum({table.field})
and put it wherever you like.
(If this subreport is grouped, you may want to use sum({table.field},{table.group})
)
PowerUser
2010-08-02 13:09:13