Solved

keep the last subtotal in detail section

Posted on 2013-11-01
6
478 Views
Last Modified: 2013-11-01
crystal report shows subtotal in detail sections,
if the group have more than one records, subtotal should only shows on the last row.
Subtotal is calculated by running total.

thanks,
untitled.bmp
untitled1.bmp
0
Comment
Question by:HemlockPrinters
  • 3
  • 3
6 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 39617703
Can you show the subtotal in the group footer rather than the details section?

Try this
Use a formula to suppress the field

(Not OnLastRecord) OR ({GroupField} = Next({GroupField}))

mlmcc
0
 

Author Comment

by:HemlockPrinters
ID: 39617717
thanks, but it suppress all subtotals except the last record.
they want to show subtotals in details section instead of group footer.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 39617744
Can you post the formula you used?

mlmcc
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 39617748
Try

(Not OnLastRecord) AND ({GroupField} = Next({GroupField}))

mlmcc
0
 

Author Comment

by:HemlockPrinters
ID: 39617751
(Not OnLastRecord) OR ({xx_orders_secured;1.SALESPN} = Next({xx_orders_secured;1.SALESPN}))

the report is grouped by salespn
0
 

Author Comment

by:HemlockPrinters
ID: 39617775
thanks. it's should be "And"
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question