Group SUM field by formula in REPORT FOOTER section does not work - crystal-reports

My SUM of a field result in REPORT FOOTER section by grouping in formula does not work. In the following pictures you can see the flow. What I am doing wrong? Regards.
Picture 1.
Picture 2.
Picture 3.

Related

Can you get a Summary Total of a calculated amount that is in a Group Footer?

I have a formula field in a group footer that gets some of its information from another summary field in the same group footer. Report works great, just can't figure if I can get a grand total of the individual footer totals.... I can't use any of the Detail line fields because they need to be subtotaled first (in the group footer) so that the formula field can do its job. Is this an un-solvable circular problem? I could dump the results into excel if needbe.
thanks for any advice

Crystal Report Show Total Only On Last Page

I have a formula that calculated price total of an invoice eg. #vtotal. The invoice page could span from 1 to n page. I would like to show the total only on last page. How do I do that?
I have searched and tried on some suggestions using report footer, but it does not work as it implies, the report footer always show in tandem with page footer.
I have also tried using formula:
if PageNumber = TotalPageCount then
{#vtotal}
It still display 0 on pages with PageNumber < TotalPage Count.
How to do it correctly to only show on last page? And nothing on other.
Create group over invoice ID (or whatever field identifies invoice uniquely) and show your formula in group footer.
/edit after comments/
Alternative way is to supress some formulas in page footer section. Place your {#vtotal} into page footer (like it was initially) and create suppress formula for it, with content like
{PageNumber < TotalPageCount}
You need to somehow account for situations, when you print more than single invoice - if this is possible for your setup of course.
You Can write Grand Total in Report Footer. So it will display in only last page.

I want to add a group summary data into the formula field in crystal report

I created a account wise group and i want to find the maximum date accroding to the group so i created a summary field. I want to add the summary field in the formula.how can i do that help me.
try this
go to formula workshop and double click Maximum summary field which is most effective way.
go to formula workshop and write as below
Maximum ({Attendance.Date})
The syntax changes if its a group footer I have given it for report footer

Active Reports 7 - Grand Total of each row in Detail Section

I have a report in which I need to calculate some totals for each rows in detail. I need to get the DataField 'Movie_Code' of each and make a sum of his columns to have a grand total at the end of the page. The code can be in multiple places since it's regrouped by Client.
If you wish to display the GrandTotal for the details rows on each page then I would suggest you to place a textbox in the PageFooter section and set the following properties for it:
DataField: Movie_Code
SummaryFunction: SUM
SummaryRunning: All
SummaryType: GrandTotal
This will show the total of each rows in the detail section for the current page and the detail rows on the previous pages.
You will have to add the GroupHeader/Groupfooter sections and the Summary field in the GroupFooter.
Set the DataField property for GroupFooter Section and then place a textbox in GroupFooter and set the SummaryType and Summaryfunction properties. Refer to the given link for details :
http://helpcentral.componentone.com/nethelp/AR7Help/OnlineEn/CreateaSummaryReport.html
You may add the field in the detail section itself and set the mentioned properties accordingly.
Regards,
Mohita

In Crystal Reports, How do I count all the rows in the Details section and place that count in the header?

I've tried adding a new formula and used this code:
whileprintingrecords;
numbervar x;
x := x + 1;
Problem is, if I place the formula that displays the count on the header section, it only shows the first value since it hasn't yet incremented.
I need a total count of the rows in every page and just show it in the header. how do I do this?
Wait I just realized it is placed in a group not in the details section. Let me revise my question. How do I get the value of the display formula in the last page of the report? Makes sense?
The simplest way to get a total count of all the rows within the report and place it in the page header is to create a new formula, with the value:
Count ({Table.Value})
and place it in your page header (where Table.Value is a field in your dataset).
EDIT: To get a total count of all the groups, change the formula to:
DistinctCount ({Table.GroupField})
Right-click on any field in Details section, Insert Summary, select Count(), drag resulting field into page (report, group) header.
I just summarized the field with Count and put it to Group Header That's It.