drilldown - show sum in groupfooter if drilldown is collapsed

edited 10:36AM in FastReport VCL 5
hello,
is there any way how to show sum in groupfooter if groupheader drilldown is collapsed?
thx

Comments

  • gpigpi
    edited 10:36AM
    wrote:
    3.6 Aggregate functions
    In most cases group reports need to display some summary information (such as: ???total of a group???, ???number of group elements??? etc). FastReport provides aggregate functions for calculating aggregate values over some data span. The aggregate functions are:
    SUM returns the total of an expression MIN returns the minimal value of an expression MAX returns the maximal value of an expression AVG returns the average value of an expression COUNT returns the number of lines (rows) in the data span
    The syntax of all aggregate functions (except COUNT) is similar to that of the SUM function:
    SUM(expression, band, flags) SUM(expression, band) SUM(expression)
    The parameters are:
    expression the expression to be calculated
    band the name of the data band within which the calculation is performed
    flags a bit field, with values
    1 : include invisible bands in calculation
    2 : accumulate the aggregate as a running total (do not reset the aggregate when the current data span resets)
    3 : (both of the two previous options)
    An expression is the only mandatory parameter, the other two are optional. Nevertheless, to avoid making mistakes it is recommended that band parameters are always given.
  • edited 10:36AM
    sorry, i forgot flags in aggregate function
    thank you very much

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.