How to get reports cumulated balances? need help please

Dear all,
I need your help please in this issue.
I am creting a report using reports designer in oracle, well the fact is i don't know how to do the following:
if i have for example in the report the following to be diplayed :
Date Amount Balance
25/5/2011 2000
27/5/2011 5000 should be calculated and equal to 2000+5000=*7000*
28/5/2011 4000 calculated and equal to 7000 + 4000=*11000*
29/5/2011 1000 calculated equal to 11000 + 1000 = 12000
what is the method so i can get the balance values calculated 7000, 11000 and 12000? what do i do? any hints please
thanks for your help

Using analytic function can be done through query as below...
SQL> SELECT EMPNO, ENAME, SAL, SUM(SAL) OVER (ORDER BY SAL ROWS UNBOUNDED PRECEDING) RUNNING_BALANCE
  2  FROM SCOTT.EMP
  3  /
     EMPNO ENAME             SAL RUNNING_BALANCE
      7369 SMITH             800             800
      7900 JAMES             950            1750
      7876 ADAMS            1100            2850
      7521 WARD             1250            4100
      7654 MARTIN           1250            5350
      7934 MILLER           1300            6650
      7844 TURNER           1500            8150
      7499 ALLEN            1600            9750
      7782 CLARK            2450           12200
      7698 BLAKE            2850           15050
      7566 JONES            2975           18025
      7788 SCOTT            3000           21025
      7902 FORD             3000           24025
      7839 KING             5000           29025
14 rows selected.
SQL> -Ammad

Similar Messages

  • Cant get iEyeNet running ! Need help, please!

    hello to all
    i want to use this widget (iEyeNet):
    http://www.apple.com/downloads/dashboard/networking_security/ieyenet.html
    unfortunately it doesnt work. maybe someone can help me get iEyeMonitor running?
    this is my wireless configuration:
    First Airport Extreme Station 802.11g Version 5.7 in basement
    • Connected to the net via pppoe
    • wds base station
    • SNMP enabled
    • SNMP via WAN enabled
    • NAT Port Mapping active
    • IP (Internet): 88.66.xx.xxx
    • IP (Router Address): 88.66.0.1
    Second Airport Extreme Station 802.11g Version 5.7 upstairs
    • wds client
    • IPv4: DHCP
    • IP: 10.0.1.3
    • IP (Router Address): 10.0.1.1
    Airport Admin Utility Version 5.3.2 (532.8)
    Thanx for helping !

    sorry, i forgot to write this:
    iEyeNet gives this error message: *snmpwalk: Timeout*

  • Getting rid of videos - need help please!

    I just added 2.1 GB of video into my videos library and now iTunes takes freezes every time it starts. The reason (I assume) is because I have an iBook G3 (500 Mhz). I need a way to delete the videos from iTunes without deleting them from my hard drive, but as I have backups, I guess this isn't as important. I was thinking maybe there is an XML file I can modify or something. Thanks in advance for the help!

    Few ways to approach this, quick and easy way
    Go into you iTunes Library via Finder
    USER(you)->MUSIC->ITUNES->ITUNESMUSIC
    Then sort by date modified (or date created) recent down and you should be able to see the new videos quickly, drag them out of there to another part of your Hard drive.
    Open iTunes and see if it works.
    If not delete the prefs and the library xml (assuming all of this on your hard drive, all music etc.?), then relaunch and add back the items to your library

  • I just downloaded iOS 7.1 to my 4s and many of my apps didnt come back. when I connect to my computer the sync page doesnt automatically come up and I cant find how to get to it. can you help please

    Hi
    I have just received my new 5s and am trying to update everything on my 4s ie sync to computer and transfer apps / contacts et. I then upgraded to the 7.1 system on the 4s and now I cant find the sync page- it doesnt come up automatically when i plug in my 4s
    thanks

    Try restore from last backup.

  • How to get Leave Accrual Balance in Report

    We can see the accrual balance on SSHR page as well as on Fastpath-> Accruals -> Net Entitlement.
    But I want to display a report which will display all accruals as on a aprticular date.
    Can we get that? Is there any seeded funnction/procedure?

    Hi DR,
    To develop a report you will need help of a technical consultant in your team. You can use XML Publisher to develope your report, what Vigneshwar has provided you is the function which you/technical guy can use to easilt get the balance value as of any date.
    As a function person get the Report defination signed of from business users and share the requirments with the technical team. If you are interested to develop the report on you own then please refer the site which will give you the basics of developing an XML publisher report:
    http://www.apps2fusion.com/at/ps/51-prabhakar/262-xml-publisher-and-data-template-sql-query-to-develop-bi-publisher-reports
    http://imdjkoch.wordpress.com/2010/11/12/steps-to-create-a-xml-publisher-report/
    Hope it helps.
    Thanks,
    Sanjay

  • HT201413 I need help please!!!!! My iPhone 4 s won't charge!!!!! I get error message 21. How can I get around this.

    I need help please I keep getting error messega 21 when i try uploading my iPhone 4 s!!!!!!!!! omg some one please tell me if and how to fix this please. thank you!!!

    Hopefully this link will help you: http://support.apple.com/kb/HT2109

  • Have a Canon 70D.  Lightroom will not recognize the raw CR2 file.  Don't know if I need an additional plug in or how to get one. Can anyone help?

    I have a  Canon 70 D. Lightroom will not recognize the raw CR2 file.  Don;t know if I need an additional plug in to the tether plug in for canon, or how to get one.  Can anyone help?

    See Camera Raw plug-in | Supported cameras
    You need Lightroom 5.2 or later. Which version of Lightroom are you running?

  • How to get Reports for specific User that how many password has been reset using FIM SSPR in FIM 2010 R2 SSPR

    Hi,
    How to get Reports for specific User that how many password has been reset using FIM SSPR in FIM 2010 R2 SSPR
    Regards
    Anil Kumar

    Hello there Anil,
    A simple way to quickly get a overview is to look at the request history within the portal environment (note that this will expire in a few day based on your environment, after that you would need to FIM Reporting Module - but you could increase this to
    maybe 60 days to so, watch the DB size).
    To do this you could create some custom search scopes of do some custom queries. The creator of the SSPR activities always has the same GUID so you can use that so search.
    In your search scope you can use the following XPath to play with.
    - All Password Reset Requests - /Request[Creator='b0b36673-d43b-4cfa-a7a2-aff14fd90522' and Operation='Put']
    - All Completed Password Reset Requests - /Request[Creator='b0b36673-d43b-4cfa-a7a2-aff14fd90522' and RequestStatus=‘Completed']
    You can play with the "RequestStatus".
    Hope this helps.
    Almero Steyn (http://www.puttyq.com) [If a post helps to resolve your issue, please click the "Mark as Answer" of that post or "Helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer
    faster.]

  • How to get a opening balance in fbl1n

    how to get a opening balance in fbl1n as i copied it into zreport,
    plz help
    Moderator message : Spec dumping not allowed, thread locked.
    Edited by: Vinod Kumar on Dec 1, 2011 3:07 PM

    how to get a opening balance in fbl1n as i copied it into zreport,
    plz help
    Moderator message : Spec dumping not allowed, thread locked.
    Edited by: Vinod Kumar on Dec 1, 2011 3:07 PM

  • How to get report in excel format instead of pdf from oracle forms.

    Hi,
    How to get report in excel format instead of pdf from oracle forms.
    Form & Report developer 10g
    report format .rdf

    create a report using report builder.
    call the report from form using the following procedure
    DECLARE
         RO_Report_ID REPORT_OBJECT;
         Str_Report_Server_Job VARCHAR2(100);
         Str_Job_ID VARCHAR2(100);
         Str_URL VARCHAR2(100);
         PL_ID PARAMLIST ;
    BEGIN
    PL_ID := GET_PARAMETER_LIST('TEMPDATA');
         IF NOT ID_NULL(PL_ID) THEN
    DESTROY_PARAMETER_LIST(PL_ID);
         END IF;
         PL_ID := CREATE_PARAMETER_LIST('TEMPDATA');
         RO_Report_ID := FIND_REPORT_OBJECT('RP2RRO');
         Add_Parameter(pl_id,'P_SUPCODE',TEXT_PARAMETER,:CONTROL.S_CODE);
    Add_Parameter(pl_id,'P_INVOICE_NO',TEXT_PARAMETER,:CONTROL.IN_NO);
    Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_FILENAME, 'INVOICE_REG_DETAILS.rep');
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_COMM_MODE, SYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_EXECUTION_MODE, BATCH);
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESTYPE, FILE);
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESFORMAT, 'SPREADSHEET');
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_SERVER, 'rep_dbserver_frhome1');
         Str_Report_Server_Job := RUN_REPORT_OBJECT(RO_Report_ID, PL_ID);
         Str_Job_ID := SUBSTR(Str_Report_Server_Job, LENGTH('rep_dbserver_frhome1') + 2, LENGTH(Str_Report_Server_Job));
         Str_URL      := '/reports/rwservlet/getjobid' || Str_Job_ID || '?server=rep_dbserver_frhome1';
         WEB.SHOW_DOCUMENT(Str_URL, '_SELF');
         DESTROY_PARAMETER_LIST(PL_ID);
    END;

  • How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    Si vous avez utilisé la commande Save As Template depuis Pages, il y a forcément un dossier
    iWork > Pages
    contenant Templates > My Templates
    comme il y a un dossier
    iWork > Numbers
    contenant Templates > My Templates
    Depuis le Finder, tapez cmd + f
    puis configurez la recherche comme sur cette recopie d'écran.
    puis lancez la recherche.
    Ainsi, vous allez trouver vos modèles personnalisés dans leur dossier.
    Chez moi, il y en a une kyrielle en dehors des dossiers standards parce que je renomme wxcvb.template quasiment tous mes documents Pages et wxcvb.nmbtemplate à peu près tous mes documents Numbers.
    Ainsi, quand je travaille sur un document, je ne suis pas ralenti par Autosave.
    Désolé mais je ne répondrai plus avant demain.
    Pour moi il est temps de dormir.
    Yvan KOENIG (VALLAURIS, France)  mercredi 23 janvier 2011 22:39:28
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • HT1222 I am trying like **** to download itunes 10.6.3 (64 bit - Windows 7) and I keep getting "the installer was interrupted before the requested operations for iTunes could be completed.  Your systems has not been modified."  I NEED HELP, PLEASE!

    I am trying like **** to download itunes 10.6.3 (64 bit - Windows 7) and I keep getting "the installer was interrupted before the requested operations for iTunes could be completed.  Your systems has not been modified."  I NEED HELP, PLEASE!

    I got it figured out myself... yaaaaay for me!

  • Bought a new macbook and want to manually manage music onto my iphone 4s but when i click 'manually manage' and then 'apply' i get the message saying it will erase everything already on there. Need help please!

    Bought a new macbook and want to manually manage music onto my iphone 4s (as it is already full of music from old windows laptop) but when i click 'manually manage' and then 'apply' i get the message saying it will erase everything already on there. Need help please!

    Before you sync your iPhone make sure that all the music that was synced to your phonereviously has been copied to your iTunes on the new MacBook Pro. Then when you connect your phone you will be able to either sync all music or select only those playlists that you want on the phone.

  • I dont know how i got my photos to my ipod touch from my pc and now i wanna delete them but couldn't. so need help. please let me know.

    i dont know how i got my photos to my ipod touch from my pc and now i wanna delete them but couldn't. so need help. please let me know.

    To turn off auto sync - launch iTunes and go to Edit>Preferences>Devices - check the box at the bottom that says - Prevent iPod, iPhones and iPads from syncing automatically. Click OK and then quit iTunes.
    Connect your iDevice to your PC.
    Launch iTunes,
    Click on the device name on the left side of the iTunes Window.
    Click on the Photos Tab in the iTunes window on the right.
    Untick all of the photos or albums that you want to remove.
    Click on Apply in the lower right corner of iTunes
    If you untick or uncheck the Sync Photos heading and then click Apply it will remove all of the photos from the device when it syncs. In this screenshot - I have only certain albums and events selected to sync.

  • I have lost all my notes saved on my iphone after syncing it. and my default mailbox is gmail. notes were very important. and now i dont know how to get them back. can anyone help me out please? thanks in advance.

    i have lost all my notes saved on my iphone after syncing it. and my default mailbox is gmail. notes were very important. and now i dont know how to get them back. can anyone help me out please? thanks in advance.

    Try this ..
    On your Mac open System Preferences > iCloud
    Deselect the box next to:  Notes
    Then reselect it.
    Give iCloud a few minutes to re sync the data.
    Other than that, try Time Machine >  http://pondini.org/TM/15m.html

Maybe you are looking for

  • What does it take to get my service cancelled?

    I am trying to find out what it will take to get my account cancelled... I called more than a week in advance of my move to set up the cancellation of my FIOS home service and was assured that was all I needed to do; I would receive my final bill in

  • Problem in Saving long texts from IC Webclient

    Hi, I have a little problem with BP long text transfert. In IC Webclient, I identify a account and I create a long text (for exemple a Accounting Note). I can find this text in CRM (t-code BP->long text) but, it is not transfert to ECC (XD03->Extra->

  • How can I flag HTTP session attributes to not be replicated ?

              WLS 5.1 SP8 - In memory replication of a stateful servlet. Is           there any way to flag data that has been, or is being, loaded into           a HTTP session so as to not be replicated ? It's a long story,           but we have some d

  • Unwanted calendars and notes

    Hi all, I have a little issue with my Mail and iCal apps...actualy the issue itself is with MobileMe and Gmail sync...It really bugs me that I have gmail in my iCal (even though I did not set up an account and calendar sync is switched off from the s

  • Alarms get duplicated many times in an Event

    For some reason almost all my events(re-occuring or otherwise) have their alarms duplicated numerous times with in the event. I finally had to shutdown ical and go back in and adjust every event. Any idea of what causes this. For what it is worth I t