Running totals at the footer of the report
I want to create running totals but print them not in e.g. in a group footer. All totals should be printed at the end of the report. The number of needed running totals is not defined before, it depends on the number of different grouping criterias:
Example
Criteria Amount
1995 10
1995 10
1996 20
1997 30
1997 10
At the end of the report shoul appear the following:
1995 20
1996 20
1997 40
There could be more criteria in the report (e.g. 1998 or 1999), but it is not defined before I start the report.
Thank you for your support
Hi Torsten,
If you want to create year wise running totals without considering groups, you can create like :
go in Field ExplorerRunning TotalsRight click and select New
Give the name as 1995 and select Field to summarize and select Sum as type of summary
In Evaluate select Formula and give a formula like : Year = 1995
In Reset do not reset. You get the value of 1995 year this can be placed at the end of your report.
You may have to create different funning total for different year.
Thanks,
Sastry
Similar Messages
-
How to get the range of a textbox in the footer of the 1st page ?
Just like the problem says, how do I use VBA to get the range of the textbox in the footer of the 1st page?
getCellRect(...);
-
Logo in the Footer of the RTF doesn't show in PPT output
Hello
I try generate a Powerpoint slide deck with a logo at the bottom of each slide. Therefore I have inserted the picture into the footer of the RTF template.
When generating the ppt output there is not picture at the bottom of the slides. I played around in Word with different layout options for the picture with the result that now blank pages are being inserted before each slide.
Which layout options do I have to use to achieve the desired output?
Does the picture need to have a specific file format (bmp, jpg, gif, png) to get it working?
Thanks for your help
RobertI'm going from memory since this is done from work, but I believe you have to use semi-complete addresses (IE., 'Chicago' by itself won't work, you need to use 'Chicago, Il.' or 'Chicago, Illinois'. IF the address is for a 'Place' iPhoto knows (and it knows hundreds if not thousands of places) it will pop up and allow you to choose that location. If nothing happens, that probably means iPhoto doesn't know that 'Place' and you need to provide a more complete or more accurate name for it. Like I say, try getting in the habit of using at least a City and State... you can also choose the 'Locate on Map' feature and it will actually show a map of the place and you can Move the Pin to exactly where you want it, choose from Satellite View, Terrain View, Map view, zoom in, out, or enlarge or reduce the area covered by the Pin (the Blue Circle around the pin. Hope this helps...
-
What about TWO different serial numbers in macOs (about this mac window) and on the foot of the mac. This mac was not purchased as a refurbished nor has been sent for servicing on any time since purchasing...
The one in MacOs is answering : "This is not a valid Apple Product serial number" when i try to check the iMac 1TB Seagate Hard Drive Replacement Program...You will need to check with Apple - might be a good idea to take it to a Genius Bar so they can see it for themselves (and the diagnosis is free).
-
How can I remove the eleven external links at the foot of the opening screen?
There are elevn external links at the foot of the startup screen. Some of these are to gaming or gambling sites and some are 'advertisments' for madasafish, my ISP. How can I get rid of these?
You can disable some browser.taskbar.*enable prefs on the about:config page.
To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
If you see a warning then you can confirm that you want to access that page.<br />
*Use the Filter bar at to top of the about:config page to locate a preference more easily.
*Preferences that have been modified show as bold(user set).
*Preferences can be reset to the default or changed via the right-click context menu. -
How to add the paging at the footer on the report page?
Hi,
On my crystal report page of vistual studio, there is paging(change page) at the top, if I want to add the paging at the bottom of report, how can I add it? Could you please tell me?
there is my code:
ConnectionInfo connectionInfo = new ConnectionInfo();
CrystalDecisions.CrystalReports.Engine.ReportDocument boReportDocument;
string rptFile = ((BaseApplicationPage)(this.Page)).Decrypt(this.Page.Request.QueryString["Name"]);
boReportDocument = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
boReportDocument.Load(Server.MapPath("~/Crystal/" + rptFile));
CrystalReportViewer1.ReportSource = boReportDocument;
connectionInfo.ServerName = "XXXXX";
connectionInfo.DatabaseName = "XXXXX";
connectionInfo.UserID = "XXXXX";
connectionInfo.Password = "XXXXX";
TableLogOnInfos tableLogOnInfos = CrystalReportViewer1.LogOnInfo;
foreach (TableLogOnInfo tableLogOnInfo in tableLogOnInfos)
tableLogOnInfo.ConnectionInfo = connectionInfo;
at the top of image is old version on crystal report setting, now, my version of crystal report is crystal report 2011, how can I add the paging like old version?
thanks
KelvinHi Kevin
Unfortunately, no way. That used to be a feature in one of the previous versions of CR, but is was removed and we have not had any luck getting it back.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
Reject the footer using the external table
Hi,
I have a flat file with fixed length which have a header and a footer.
My file is something like this:
HADF.TXT0309
D12345ABCD
D22345ABCD
FOOTERHJ
I want to create an external table based on that file, but
I don't want to have the header and the footer in my table. To eliminate the header I used skip 1, but I don't know how to eliminate the footer.
Any example and suggestions will be appreciated
Thank you for your time and consideration
CatalinHi,
This problem may be due to several reasons. I am aware of few reasons.
1)Have you deployed the external table first?
2) If you do not have your data base client and server running in the same machine, you should place the csv file in the database server machine's 'c:\CSV' folder in order to create the external table through database. Then do a select count(*) statement.
3)Another reason may be as gerardnico said the file name you refered may be wrong.
I don't know your requirement. If you could create the external table succefully and if you get value for the select count(*) from <external_table_name>, then try to import the external table into the Design Center and map it with the Table you need.
If you are doing it purely with OWB then,
Do you have the file Export_WithHeaders.csv in the Server machine's 'c:\CSV_FILE' folder?
Because while importing the metadata of the CSV file the OWB will point to your local machine's 'c:\CSV_FILE' that is why your Validation and Deployment is success without errors.
But while executing the map it will take the data from Server machine. It will search for the Location 'c:\CSV_FILE' in the server machine and will look for the file Export_WithHeaders.csv there. So create athe same folder setup which you have in your client machine and run this again.
Try this if you do not get any better answers in this thread -
At the foot of the page (CSS)
I have a CSS footer which seems to work in IE but not FF
(that is in IE it
is always displayed at the bottom of the page).
It needs to be within the "container" div which seems to be
causing the
problems as I had it working outside of the container div.
www.scswp.co.uk/test/
any help would be much appreciate.
JustinHi Justin, I tried to position the footer absolute (bottom 0)
within the relative container div which is an easy solution, but
you have probably come across that idea. It isn't the best solution
when your content is larger than your screen, because the footer
won't go down. I've found an example in a Dutch forum however which
offers a great solution. I haven't looked very closely into the
code yet, but here's the example (HTML and CSS code):
http://tienstra4.flatnet.tudelft.nl/~tom/rein-got/mdekuijper/
In this example the footer alwas stays at the bottom and when the
content exceeds the screen size, the footer easily goes along with
it.
I hope it works for you. Eppo -
Setting the footer with the value of a cell - Excel 2010-2013
Hi,
is it possible to set the footer of a workbook with the value of a cell without using VBA code or macro?
ThanksNo; it is not possible to enter a formula that refers to cells in the header or footer. A VBA macro is the only way to set the header or footer to the value of a cell.
Regards, Hans Vogelaar (http://www.eileenslounge.com) -
The depth of the rectangle is fine when I view in muse but only cuts off when published
Hello,
Issue is because of the text box in the middle of the rectangle (In MAIN Master page), Please increase its width and then try to preview it.
Please take a look at the screenshot. I increased it to 311 px and its working form me.
Please take a look at the screenshot for better understanding.
Regards
Vivek -
How to remove the footer in the file content conversion
HI
I have receiver structure like this
<Mt_test>
<Node1>
<test1>name1</test1
<test2>name2</test2
<footer>
<test3>name3>
This is the structure. footer segment we need in pay load. so we can't skip anything in the mapping. But target we are using File content conversion. i want to remove the last footer segment in the file. Please help me this.
thanks
SamHi Satish,
Thank for your quick replay.
attached payload i am receiving after the mapping. i need to eliminate footer node in my file.
Output should be like this.
20100201,200,2345.00
20100218,201,2345.00
But out put i am getting like this
20100201,200,2345.00
20100218,201,2345.00
test0001---> should be remove this in the output file.
Payload:
<ns0:MT_google xmlns:ns0="http://google.com/xi/google">
<Datarow>
<CALDAY>20100201</CALDAY>
<PLANT>200</PLANT>
<ZSTR_PLANT>2345.00;/ZSTR_PLANT>
</Datarow>
<Datarow>
<CALDAY>20100218</CALDAY>
<PLANT>201</PLANT>
<ZSTR_PLANT>2345.00;/ZSTR_PLANT>
</Datarow>
<Footer>
<FileName>test0001</FileName>
File content conversion:
Datarow.endSeparator ='nl'
Datarow.fieldseparator = ,
Footer.fieldfixedLenghts =0
Footer.fieldlengthTooShortHandling= Cut
Please suggest me anything to change.
Advanced Thanks
Sam
</Footer>
</ns0:MT_google> -
Require a formula to calc the diff between 2 running total fields in a crosstab
Post Author: PJM
CA Forum: General
Hi,
I have built a crosstab in Crystal XI with the following columns:
PROFILED BUDGET (a) EXPENDITURE TO DATE (b) VARIANCE (a-b)
The profiled budget and expenditure to date columns are both running total fields. I want the variance column to show the difference between the budget and expenditure.
To set the variance field up as a running total, I assume that I would have to specify that I want this formula evaluated after the budget and expenditure fields , however, I can't work out how to do this on a crosstab.
Moving the crosstab to the report footer has had no impact.
If I try to create a basic formula using the running totals, I get the error message "A summary has been specified on a non-recurring field" - I can't find an explanation of this error message on the help menu.
Can anyone help with this please?overtime hours are calculated after 40. If I work 12 on monday, thats 12 regulars hours. not sure about others states laws but here in wisconsin we consider overtime after 40 only, not after 8 daily. at least thats how my company calculates overtime. lets say I work 10 hours a day, monday thru thursday, thats 40 hours regular time. anything after that is overtime. our weekly work schedule starts on sunday and ends on saturday. so on my bi-weekly time log, if i work 10 hrs a day monday thru thursday, i want 10hrs each day in regular hours cell, then when i work friday and or saturday, i want those hours in overtime hours. the main problem im having is: if i reach 40 hours in the middle of a day, i want the regular of that day to end and the overtime to pick up on the same day.
here is a basic example of how i want regular and overtime to look. of course the values will be duration not just numbers. hope this helps explain what i need a bit better. -
Associate a record name with a running total in Report Footer
Please Help!
I have a report that returns records for the most recent order recieved by vendor.
The page header displays Vendor, Contact, Order #, and date
I did a group by Vendor
I used a running total on the order date
with a summary of minimum
that evaluates on change of group
Reset never
This returns the last order date for the vendor with the oldest order
How can I get the vendors name that is associated with the oldest order date to display in the Rport Footer.Please follow the following steps: I tested it and it works.You dont need to use running total.
1. Add the Vendor,Contact,Order #, Order Date to Details Section (u can delete them if not needed from details section)
2. Create a Group on Vendor.
3. Add a Summary i.e. Minimum(Order Date)
4. Copy this summary to Group Header if you want or just let it be in the Group Footer Section
5. Add a SubReport in the Report Footer Section.
6.The Subreport Should be based on the Command like:
SELECT `Orders`.`Customer ID`, `Orders`.`Order Date`
FROM `Orders` `Orders`
WHERE `Orders`.`Order Date`=
SELECT MIN(`Orders`.`Order Date`)
FROM `Orders` `Orders`)
7. Refresh the Report and you will see that Report Footer section displays all the vendors with minimum order date along with their name.
One more thing to keep in mind is that more than one vendor might have the same minimum order date. -
How do I put a running total in a Reports 6i Report?
I need to write a report which shows a running total at the foot of each page. The report is a series of (potentially) multi-page sections each formatted like this:
Page 1
======
Tom £100
Dick £150
Harry £100
Sub Total £350
Page 2
======
Peter £200
Paul £50
Mary £100
Total £700
Lines are of variable height, so I can't predict how many there'll be on a page.
The help system just tells me to "use a summary field". Yeah, right. Can anybody give me some more detailed instructions?
-- Chris HuntThanks for that.
I didn't really express the problem as well as I might have done, as the Sub-Total needs to be the sum of all the items on the current page and on all preceeding pages. resetting on page just gives you the total for that page.
I did find a way to do it. First you set up a summary field in the same group as the data lines, summing the amount and resetting on the parent group. This gives you a running total for each row:
Page 1
======
Tom £100 £100
Dick £150 £250
Harry £100 £350
Page 2
======
Peter £200 £550
Paul £50 £600
Mary £100 £700
You don't actually output this summary field in the prinout (except when debugging :-) ). Now create a summary field at the foot of the page, or in the margin. Set its value to the Max() of the running total summary, resetting on page. That gives you the amount required, assuming all individual amounts are positive.
If it's possible to have negative amounts, I expect that using Last() instead of Max() for the page summary would do the trick. -
Item Transaction History Report - Calculation for creating 'Running Total'
Hello
Using Oracle Discoverer, we have written a report that pulls back all Inventory Transactions (by item number). This report lists both transactions IN (e.g. receipts into the store) and OUT (e.g. issues out from the store).
Our customer would like an additional column, to represent 'Running Total', to be added to the report. This column needs to capture the running 'On Hand Quantity' for the associated Item, as each transaction (both transactions IN and OUT of store) is displayed.
For example, if the initial/first transaction for an item was a Receipt of 500, then this column (on the first line) should display 500. If the second transaction for the item was an issue of 15, then this column (on the second line) should display 485. If the third transaction was for an issue of 50, then this column (on the third line) should display 435. If the fourth transaction was for a receipt of 20, then this column (on the fourth line) should display 455 etc etc
I'm not sure how I'd write a calculation to cater for this (within discoverer) - do you know if this is achievable? Any help would be much appreciated. This would be easy enough to do in Excel, but I'm a bit of a novice when it comes to discoverer(!)
Many thanks
RossHi,
You can generally do this type of calculation using analytic functions. You would partition by the item number and order by the transaction date in the analytic function. You can use SUM function (with an order by) to get a running total of a column in the report. You can SUM a calculation containing a CASE statement which changes the OUT transactions to a negative number. The SUM function will start at zero, so you then can use FIRST_VALUE function to get the first value for the item which you could then add to the totals.
Rod West
Maybe you are looking for
-
Word wrapping incorrect inside JTextPane on MAC 0.5/10.4 and Linux OS
Hello java-dev team, In my application, I am using JTextPane as a text editor to create RTF text. The problem I observed with the JTextPane on MAC OS and Linux OS flavors (I tested on Ubuntu 8.04) is: whenever I am changing any of the text property (
-
Hi, I'm Using Seeburger AS2 Adapter for B2B Scenario. What type of mapping we can use...Means Message mapping, JAVA Mapping , XSLT Mapping and ABAP Mapping... and Why? Thanks and Regards, SReddy
-
Copy GOS attachment from maintenance plan to order
Hello, we use maintenance plans to create maintenance orders. The idea is to attach checklists and other documents (excel, word, pdf) to the maintenance plan and this should be copied to each maintenance order. We attach att the moment this documents
-
Can't import photos from camera using PS 7
PS 7 will not import photos (have used it for years) ... appears to be trying to force unwelcome Revel conversion. Is there a way to bypass this?
-
Itunes Error 42003. Cannot Authorize and sync with phone
Windows 7, 64 bit. Updated new 4G Phone. Updated Itunes to 10.1 64 bit. Changed to new email. Now cannot authorize computer and get error code 42003. Help. Cant import my aps to my phone.