Report SUM not working (PL\SQL returning SQL query) using APEX_COLLECTION

I have a simple query
- select ename,sal from emp
(In the Report attribute - SUM property is checked)
I am getting the Report total SUM correctly...
Now I am using the apex_collection object to display the same report.
return select c001,c002 from apex_collections where collection_name = ''EMP'';
c001 - ename
c002 - sal (for this column - I am using Report total - SUM field is checked)
---- Issue is Report total SUM - is always displayed as 0. (actual sum is not coming).
appreciate if I can get some input on this. I have tried a lot but no success..
thanks,
deepak

Hi again
Just checked a similar report test I did a while ago, and my query is:
SELECT c001 MyText, TO_NUMBER(c002) MyNumber
FROM HTMLDB_COLLECTIONS
WHERE COLLECTION_NAME = 'ATD'
So, you should use TO_NUMBER(c002)
Andy

Similar Messages

  • MS Access 2013 Report - Sum not working on a calculated field that does work

    The following statement works in the detail part of the report:
    =([Qty]*[Install_Labor]*[Parent]![IntallLaborRate])*[Parent]![LaborMarkup]
    But the following statement does not work in the group footer:
    =Sum([Qty]*[Install_Labor]*[Parent]![IntallLaborRate])*[Parent]![LaborMarkup]
    Why the heck not ?

    I got it !!!
    this worked
    =Sum([Qty]*[Install_Labor])*[Parent]![IntallLaborRate]*[Parent]![LaborMarkup]
    It appears the parentheses have to separate the non parent fields

  • My database connectivity is not working inspite of installing sql express

    My database connectivity is not working inspite of installing sql express ...what should I do so that my database works

    Hello karan7,
    In addition to pvdg's post, can you reproduce this issue with a new fresh database? If you can this means it is a SQL Setup related problem. If you cannot, your database file may already corrupt.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Discoverer Reports does not work in Multi-org Environment after R12 Upgrade

    Discoverer Reports does not work in Multi-org Environment after R12 Upgrade. Created a simple report using the below query:
    SELECT po_header_id, segment1, type_lookup_code
    FROM po_headers
    WHERE segment1 = '5000002'
    Query works perfectly fine; when i set the ORG_CONTEXT in the database using the command:
    EXEC mo_global.set_policy_context('S',129)
    But the report doesn't fetch any data when ran from an Org based responsibility. We've ensured that the MO: Operting Unit is set accurately and general Oracle reports (PLSQL Program OR XML Publisher) are working perfectly fine.
    ===========
    I followed the steps provided in Metalink Note: 732826.1 - It works for some responsibilities where the MO: Security Profile is not set; but fails for those responsibilities where the MO: Security Profile is set.
    I am looking for specific solution that works irrespective of either the MO: Operating Unit profile is set of not.
    Please suggest. Appreciate your response.
    Thanks,
    Kesava Chunduri

    Hi Hussein,
    Thanks for the quick response.
    Yes, I've gone thru both the notes specified below:
    Discoverer Workbooks Based On Organization Enabled Views Are Not Populated [ID 1293438.1]
    - Tried this option; but this option is messing up a couple of Oracle Standard Functionalities.
    - For ex: If i set this profile option; we are not able to create any receipts using Custom Responsibilities.
    I am able to create the receipt, when i remove this profile option.
    No Data Shows for Reports in Discoverer 10g with Applications Release 12 [ID 1054380.1]
    - I see that the products i am running these reports from AR/GL - already exists in these tables.
    Anything other options??
    Thanks,
    Kesava

  • 1. TACAS+ Accounting and Logged in Users report is not working on ACS 4.1(1

    Hi,
    I am facing problem with ACS 4.1 accounting, TACAS+ Accounting and Logged in Users report are not working, the csv file is been generated but nothing is showened in the file.
    I have checked the documents related to ACS 4.1, it says that there is a bug related to command accounting “CSCsg97429 - TACACS+ Command Accounting does not work in ACS 4.1(1) Build 23”.
    Tried upgrading the same with the patch applAcs-4.1.1.23.3.zip, still it is not working.
    Other reports are working fine.
    1. TACAS+ Accounting - not working
    2. Logged in Users - not working
    3. TACAS+ Administration - working
    4. Passed Authentication - working
    5. Failed Attempts - working
    Any suggestions or any idea, please revert.
    Regards
    Vineet

    Hi,
    Thanks
    Yes I have configured the command “aaa accounting exec default start-stop group tacacs+”
    As I have mentioned all the other reports are working. Which user and when he has logged in and what commands he has used. Only the TACAS+ Accounting and logned user is not working.
    Regards,
    Vineet

  • Extraction and Reporting is not working in BI SYSTEM

    Hi,
            The BI developement r shows error an License Expire.Currently i change the system date and working fine. If changing the system date modeling part is working fine. But extraction and Reporting is not working. please help me to solve this problem.

    HI,
    If the license is expired then appky for the permanent license from Service market place and install it in the system through SLICENSE TCode. For this you need to have S-user ID to access service market place to apply for license.
    Regards,
    Sharath

  • Web reporting does not work in BW system

    Hi-
    I'm a BW consultant with very little BASIS knowledge and have been asked to look into why web reporting is not working on our system.
    We get the following message when trying to run BW queries on the web:
    Not found
    The following error occured:
    %3cpre%3e%0aLOCATION+++MessageServeronhosttongue%0aERROR+++++Grouptonguenotfound%0a%0aTIME+++++++TueMar2004%3a21%3a132007%0aRELEASE+++640%0aCOMPONENT+LG%0aVERSION+++5%0aRC++++++++-6%0aMODULE++++lgxx_mt%2ec%0aLINE++++++3518%0aDETAIL++++LgIGroup%0aCOUNTER++++10%0a%3c%2fpre%3e
    I've checked SICF and all services are activated.  I suspect that the problem is in the RZ10 parameters, but do not know what needs to be set there.  Here are our settings:
    rdisp/max_wprun_time                        3600                        
    abap/cache_area                             10000000                    
    abap/buffersize                             1500000                     
    login/system_client                         100                         
    INSTANCE_NAME                               DVEBMGS00                   
    SAPSYSTEM                                   00                          
    rdisp/wp_no_dia                             10                          
    rdisp/wp_no_btc                             6                           
    rdisp/wp_no_vb                              2                           
    rdisp/wp_no_vb2                             1                           
    rdisp/wp_no_enq                             1                           
    rdisp/wp_no_spo                             1                           
    DIR_TRANS                                   /usr/sap/trans              
    ms/server_port_<xx>                          PROT=HTTP, PORT=8080       
    icm/server_port_0                           PROT=HTTP,PORT=8080,EXTBIND=1
    DIR_ORAHOME                                 /oracle/BWD/920_64          
    ipc/shm_psize_10                            104000000                   
    ipc/shm_psize_14                            0                           
    ipc/shm_psize_18                            0                           
    ipc/shm_psize_19                            0                           
    ipc/shm_psize_30                            0                           
    ipc/shm_psize_40                            114000000                   
    ipc/shm_psize_41                            0                           
    Is there anything obvious missing?
    Thanks,
    Tristan

    Following seems a little odd....
    ms/server_port_<xx> PROT=HTTP, PORT=8080
    I would expect something like:-
    ms/server_port_0 = PROT=HTTP,PORT=8102 (or other relevent port number)

  • Active Report Viewer not working in Internet Explorer 10

    We have many legacy applications developed using ASP and VB(InterDev). Our organisation is moving to use Internet Explorer 10 in the near future.
    We had a IE10 compatibility testing for our legacy applications and we observed that the applications using Active Report Viewer to generate the reports are not working. Applications works perfectly fine with the older version of Internet Explorer.
    We looked for the various workarounds but we did not succeed.
    Some application does nothing when we click on a button to generate the report but some applications throws the below error:
    "ActiveX
    control failed to load! -- This control is required to use the Address Book and Attachment features.  Please check your browser security settings and/or contact PC Support to install the digitally signed control."
    We will be glad if we get any assistance on this issue.

    We have many legacy applications developed using ASP and VB(InterDev). Our organisation is moving to use Internet Explorer 10 in the near future.
    We had a IE10 compatibility testing for our legacy applications and we observed that the applications using Active Report Viewer to generate the reports are not working. Applications works perfectly fine with the older version of Internet Explorer.
    We looked for the various workarounds but we did not succeed.
    Some application does nothing when we click on a button to generate the report but some applications throws the below error:
    "ActiveX control failed to load! -- This control is required to use the
    Address Book and Attachment features.  Please check your browser security settings and/or contact PC Support to install the digitally signed control."
    We will be glad if we get any assistance on this issue.
    Hi,
    There is a more dedicated forum for web development issues
    https://forums.asp.net , I would recommend you post this issue in that forum to get more dedicated supports.
    Thanks for your understanding.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Oracle 9iAS R2 - reports are not working  - JSP Error

    dear All
    We are having issue in our Oracle 9i AS R2, the reports are not working, this thing happend suddenly , while runing any report the following messages are coming
    ==============
    500 Internal Server Error
    OracleJSP:
    JSP Error:
    Request URI:/repdemo/examples/Tools/test.jsp
    Exception:
    org.omg.CORBA.OBJECT_NOT_EXIST: minor code: 0 completed: No
         at com.inprise.vbroker.ProtocolEngine.PortfolioImpl.getConnector(PortfolioImpl.java:79)
         at com.inprise.vbroker.ProtocolEngine.ManagerImpl.getConnector(ManagerImpl.java:147)
         at com.inprise.vbroker.orb.DelegateImpl._bind(DelegateImpl.java:196)
         at com.inprise.vbroker.orb.DelegateImpl.verifyConnection(DelegateImpl.java:365)
         at com.inprise.vbroker.orb.DelegateImpl.is_local(DelegateImpl.java:493)
         at org.omg.CORBA.portable.ObjectImpl._is_local(ObjectImpl.java:356)
         at oracle.reports.engine._EngineReportStub.doneReport(_EngineReportStub.java:36)
         at oracle.reports.definition.RWJspProxy.doneReport(RWJspProxy.java:261)
         at oracle.reports.definition.RWReport.done(RWReport.java:1087)
         at oracle.reports.jsp.ReportTag.release(ReportTag.java:398)
         at oracle.jsp.runtime.OracleJspRuntime.releaseTagHandler0(OracleJspRuntime.java:1109)
         at oracle.jsp.runtime.OracleJspRuntime.extraHandlePCFinally(OracleJspRuntime.java:1213)
         at examples.tools._test._jspService(_test.java:292)
         [SRC:/examples/Tools/test.jsp]
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    -=================
    please help to resolve this issue.
    thanks in advance.
    regards

    Dear All
    Just to share the solution of the problem.
    We restarted the XServer which is on the other machine then Oracle 9i AS Middle Tiere and Infra. Once we restarted the XServer machine, and restarted the reports server , every thing back to normal.
    regards

  • Crystal reports 2008 not working on 64 bit OS

    Hello Everybody,
    I have developed crystal reports in CR2008. My development environment is 32 bit OS with visual studio 2005 and it is working fine. When I deployed  this applciation into 64 bit OS,application is working fine,but  reports are not working/displaying.
    Thanks
    Ram

    I moved your post to the .NET - SAP Crystal Reports forum. You'd never have gotten an answer on the CR Design forum
    More info needed:
    Exact version of CR (Help | About)?
    Web or win app?
    More details on:
    reports are not working/displaying
    Errors? Do you get the viewer? Or just an empty form?
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • I had somebody  work on my OS 10.9.2 to speed it up. He failed and now  Preview, Textedit, App Store, Mail and Contacts  do not work anymore. I can still use Safari, Firefox and iPhoto etc. How do I get it fix I can still use Safari, Firefox and ed again?

    I had somebody  work on my OS 10.9.2 to speed it up. He failed and now  Preview, Textedit, App Store, Mail (crashes) and Contacts  do not work anymore. I can still use Safari, Firefox, Word, Photoshop and iPhoto etc. How do I get the Apple programs fixed again?

    Try these in order testing your system after each to see if it's back to normal:
    1. a. Resetting your Mac's PRAM and NVRAM
        b. Intel-based Macs: Resetting the System Management Controller (SMC)
    2. Restart the computer in Safe Mode, then restart again, normally. If this doesn't help, then:
         Boot to the Recovery HD: Restart the computer and after the chime press and hold down the
         COMMAND and R keys until the Utilities menu screen appears. Alternatively, restart the
         computer and after the chime press and hold down the OPTION key until the boot manager
         screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    3. Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the Utilities menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
         Reinstall the 10.9.2 update: OS X Mavericks 10.9.2 Update (Combo).
    4. Reinstall Lion/Mountain Lion, Mavericks: Reboot from the Recovery HD. Select Reinstall Lion/Mountain Lion, Mavericks from the Utilities menu, and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    Reinstall the 10.9.2 update: OS X Mavericks 10.9.2 Update (Combo).

  • After installing iPhone Configutilities in my Mac, Personal Hotspot using USB is not working! Please help, I am using 10.7 Lion OS

    After installing iPhone Configutilities in my Mac, Personal Hotspot using USB is not working! Please help, I am using 10.7 Lion OS

    Did you talk to your carrier?

  • My speaker is not working properly in 4s if i use headphone its working now my volume increase decrease button is also not working properly how can i solve it pl help me my warranty finished

    my speaker is not working properly in 4s if i use headphone its working now my volume increase decrease button is also not working properly how can i solve it pl help me my warranty finished

    Hello. I sent my WRT1900AC V1 to Linksys four days ago (Monday) via UPS with a RMA. Linksys paid the shipping and everything. The router is still in route, and it should arrive to their offices tomorrow. Once they receive the WRT1900 AC V1, they are going to send me an EA8500 as a replacement. But I have been reading the comments about the EA8500 here in the forum and it seems to have the same problems. I guess the firmware is extremely flawed in both routers (maybe it is almost the same code?). Anyway, I will try the EA8500 and I hope it works. I bought a temporary router from Walmart and I paid $35 for it. It is a Belink N600 DB. I can't believe that a $35 router is working a lot, lot, lot better than my previous $250 WRT1900AC router. Unbelievable. If the EA8500 doesn't work, I'm going to try and get my money back from Linksys, or contact The Consumerist or someone to get my money back and get a Nighthawk instead.

  • My mac book is not working so i can no longer use my mac to back up my note in my phone and unfortunately i dont have outlook on my pc is there a way to get all my old notes from my 3gs to my 4s iphone?

    my mac book is not working so i can no longer use my mac to back up my note in my phone and unfortunately i dont have outlook on my pc is there a way to get all my old notes from my 3gs to my 4s iphone?

    Reset, hold both home and power buttons until the iPhone begins to start, try this a few times if necessary. If still problem, you may have to just Restore your iPhone to get it working. In the future sync your iPhone with iTunes routinely and when it contains important data, iCloud when set correctly will do this for you continuously.

  • Siri not working on brand new iPhone 4S - using 4G or Wi-Fi

    Siri not working on brand new iPhone 4S - using 4G and Wi-Fi
    I have tried multiple times over numerous days in multiple locations
    Any hints?

    Well to start your iPhone 4S does not have 4G... it just shows 4G at the top of the screen..
    Try turning SIRI off and on.. if that does not work
    Settings>General>Reset>Reset Network Settings..
    Because SIRI is a network connection to a server nothing more.. it is not on your device so nothing is wrong with your phone..
    Also SIRI is in BETA... and not 100%

Maybe you are looking for

  • Boot Camp Changes OS X Time

    So every time I go from Windows XP in Boot Camp back to OS X, I find that my time has been put exactly 5 hours behind (so if it was 5:00 pm when I restarted into OS X, my Mac says that it is 12:00 pm). I was wondering if anyone know how to prevent OS

  • Hi, I have big problems since 2 weeks with outline, fonts, size in Ai CS6 : Numerical value are so big

    Hi, I have big problems since 2 weeks with outline, fonts, size in Ai CS6 : Numerical value are so big and I can't change it with smaller. Apparently Ai said me that comes from AiPrefs... Could you help me please. I tried to initialize my preferences

  • Backing up your Mac advice

    I've had my Mac for awhile and I have an external hdd.  I'm currently backing up everything by hand.  Everything being a documents folder with not too much in it, my photos from iPhoto which are really important to me, and some videos.  The reason I

  • Can anybody please help? I am facing problem while running app on iPhone via flash builder

    Getting the following error while using ANE file in a test application. Can you please suggest how to launch the app successfully on ios simulator and on ios device? Error occurred while packaging the application: I have selected iOS simulator and iO

  • Macbook Pro is slow/laggy and makes a weird noise

    Hello members, I have a Mid-2010 Macbook Pro running Mountain Lion with all the latest updates. Everything was fine until 3 days back, when it started acting up. Moving the cursor was extremely laggy, and starting up any application takes forever. I