Sum function do not work in oracle reports enhanced spreadsheet format

we are using oracle reports 10.1.2.3 in our oracle application server 10gr2 and we are creating enhanced spreed sheet.And the report opens in MS excel fine.But we can not apply any formula like VALUE,SUM,AVG on that report after opening it into excel.First we thought that it may be because of the comma in the number filed.we removed that comma from the filed but t still gives the error "Error in value"

Hi,
I hope you already solved this problem, I had the same issue after spending an hour I found the workaround, this is just for the guys who experience the same issue. Try to format your number columns either at database level(not via Report builder property palette) with TO_CHAR(...) OR use this Format Mask at Report level to format your numbers -NNNGNNNGNN0D000(negative sign must be there to avoid space in output Excel).
Hope it helps,
Regards,
Syed Khawar

Similar Messages

  • FormatTrigger on line is not working in Oracle Reports

    Hi there,
    I am using Oracle Reports 6i and trying to format code as follows :
    I have three sections of data say a,b,c.
    1) If there is no data returned in Section b and c, then I need to print a line just after section a ends.
    2) If there is no data in section c but section a and b have data, then line should not appear after section a, but after section b
    3) If all sections are having data , then line should appear after section c.
    Format trigger for after section A
    function B_2FormatTrigger return boolean is
    begin
    declare
    ret_val boolean;
    begin
    ret_val := false;
    if :CS_MATERIAL_TERMS = 0 and :cf_mh_count = 0 then
       ret_val := true;
    end if;
    return ret_val;
    end;
    end;
    format trigger after section B
    function B_4FormatTrigger return boolean is
    begin
    declare
    ret_val boolean;
    begin
    ret_val := false;
    if :CS_MATERIAL_TERMS = 0  and :cf_mh_count <> 0 then
       ret_val := true;
    end if;
    return ret_val;
    end;
    end;
    format trigger after section C
    function B_9FormatTrigger return boolean is
    begin
      return (TRUE);
    end;
    :CS_MATERIAL_TERMS = is the summary column which defines data in section C
    :cf_mh_count= is the formula column which defines the data in section B
    current issue is that.. in some cases the line is appearing after section A, though section B has data
    Please help...
    Thanks.

    Hi Hari,
    hope all deadline related work is present in QA, say if you using Factory calendar, is the factory calendar present in QA also.
    try refreshing buffer using SWU_OBUF.
    Hope it helps.
    Aditya

  • COUNT() and SUM() function it not working in XDO file.

    Hi ,
    I am getting one error. Count and sum function not working proper.
    For example :
    Department 10 have 3 employee and total salary is 8750. But my report returning total employee 1 and total salary 5000
    10
    Ename Sal
    KING 5000
    CLARK 2450
    MILLER 1300
    ==================
    total employee : 1
    total salary : 5000
    Kindly help me solve this problem.
    <dataTemplate name="TEXT">
    <properties>
    <property value="upper" name="xml_tag_case" />
    </properties>
    <lexicals>
    </lexicals>
    <dataQuery>
    <sqlstatement name="Q_TEMP">
    <![CDATA[SELECT DEPTNO,DNAME,LOC FROM DEPT]]>
    </sqlstatement>
    <sqlstatement name="Q_TEMP1">
    <![CDATA[SELECT ENAME,HIREDATE,SAL FROM EMP WHERE DEPTNO = :DEPTNO]]>
    </sqlstatement>
    </dataQuery>
    <datastructure>
    <GROUP name="G_1" source="Q_TEMP">
    <element value="DEPTNO" name="DEPTNO" />
    <element value="DNAME" name="DNAME" />
    <element value="LOC" name="LOC" />
    <GROUP name="G_2" source="Q_TEMP1">
    <element value="ENAME" name="ENAME" />
    <element value="SAL" name="SAL" />
    <element value="G_2.ENAME" name="TOTL_DETAILS" dataType="number" function="COUNT()" />
    <element value="G_2.SAL" name="TOTL_SAL" function="SUM()"/>
    </GROUP>
    </GROUP>
    </datastructure>
    </dataTemplate>
    Thanks
    Yudhi

    Please have the data structure as below:
    <datastructure>
    <GROUP name="G_1" source="Q_TEMP">
    <element value="DEPTNO" name="DEPTNO" />
    <element value="DNAME" name="DNAME" />
    <element value="LOC" name="LOC" />
    <GROUP name="G_2" source="Q_TEMP1">
    <element value="ENAME" name="ENAME" />
    <element value="SAL" name="SAL" />
    *</GROUP>*
    *<element value="G_2.ENAME" name="TOTL_DETAILS" dataType="number" function="COUNT()" />*
    *<element value="G_2.SAL" name="TOTL_SAL" function="SUM()"/>*
    *</GROUP>*
    </datastructure>
    Aggregate functions to be placed at the level you require it. Here you need at G_1, so place it there.

  • Utl_file.fgetattr not working in Oracle Reports

    Hi there,
    I try to use the utl_file.fgetattr function in an Oracle Report program unit as below, but it returns that the file does not exist. However executing it in TOAD or SQL Developer it return that the file exists.
    utl_file.fgetattr('directory', 'filename.ext', v_exists, v_length, v_blocksize);
    IF v_exists THEN
    srw.message(100, 'The file exists.');
    ELSE
    srw.message(100, 'The file does not exist.');
    END IF;
    What could be the problem?
    Thanks in advance!
    Edited by: user13428604 on 2012.02.13. 9:26

    You have to use utl_file inside the database. So, move your code to a stored procedure and call that procedure from Reports.

  • Regular measures(measures with SUM function) are not working along Distinct count measures

    Hi All,
    I am creating a cube that got to have a distinct count measure and a sum measure. if i have created only sum measure then it is working fine. if i create both measures and process the cube only distinct count measure is populated. the sum measure is showing
    all blank values. i am using 2008 R2, and creating 2 different measure groups for both measures, after i include the distinct count measure the sum measure becoming null. can you please help me with this? i am breaking my head for last 2 days on this.. Thank
    You

    Ramesh, measures are affected by the context of the queries that contain them, for example and in some cases, you can get a different total count of something by two different queries, this is because the context of the first query is different than
    the second one ... keep this in mind.
    Now, I've noticed that you are "creating 2 different measure
    GROUPS for both measures", and i guess that you are trying to view those two measures _which are from different measure
    groups_ at the same time and in the same report.
    considering the info in the first point and as you are create the calculated measures in two different measure
    groups, I'm not sure but i guess that this is the problem, and i suggest you create those two calculated measures
    in the same measure group, then try to view them again and let's see.
    if the previous point didn't solve it, please post the expressions you are using to create the calculated measures, maybe this will help in finding the problem.  

  • Crystal Report for VS2010 - The Go To Page function does not work

    When running a report into Crystal(VS2010), the Go To Page function does not work.  Typing in a page number and pressing Enter does not take you to that page.  The report remains on the current page. I'm not sure if there is suppose to be a button like the one in Crystal 8.5(VS2008).

    As long as you are using the CR assemblies for VS .NET, the viewer (Win) should look like this:
    Remember, the ActiveX viewer based on the Report Designer Component (RDC, referencing craxdrt.dll) is not supported in VS 2010.
    - Ludek
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • Share  calculation  Not working in the report

    Iam surprised not to ge the simple share calculation not working at my report.
    I have a dimension and corresponding values ( measures) .I made a Total at the end of the report. and I want to calcualte share of Total to each corresponding value.
    how to do this, any thougts,...
    I have used calculated memebers for this, But I wan to make the percentage of the total ( which is calculated inside Tool itself)
    Please help....

    Prassad,
    Not totally sure what you are trying to achieve but there a couple of possible solutions:
    1) Total = total of all dimension members. Assuming you only have three dimension members then you should have a fourth member called ALL_DIMS or something similar. In the Share calculation template you need to specify the Total level as the basis for your share calc. This will generate the following result:
                             Revenue  % Share
    - All Members     600         100%
         A                  100           17%
         B                  200           33%
         C                  300           50%2) The total you are referring to is in fact a sub total and is the result of adding together only the results for A + B + C, i.e. you have hundreds of dimension members but you specifically want to see a total for just these three members. To do this create a new custom aggregate call "My Total" and add together the dimension members A + B + C - Custom Aggs are a new feature to Discoverer OLAP (Checkout Mark Rittman's excellent blog article for more information on this feature: http://www.rittmanmead.com/2006/11/13/checking-out-the-new-discoverer-101220-features/)
    Then in the Share calculation wizard set the basis for your index using the last option in the list "Specific Dimension Member" and select your new custom aggregate member.
    Hope this helps
    Keith Laker
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • 9iAS  java functions are not working

    Dear All.
    I’m using oracle 9iAS Release 9.2.0.1.0 and JServer Release 9.2.0.1.0. I’m using java functions (eg. Array, pop, push method and trim function) in my JavaScript section.
    But these functions are not working. When run the page it work up to that function and stuck. Functions are written properly.
    I would be much-appreciated .if you could help me to solve this problem..
    Regards,
    Nish

    Are you sure you uncommented and changed jvm.include.CLASSPATH=1
    in the jvm12.conf when you added your classpath there?
    The preferred way to do this would be to create a .war and deploy it instead. Then you can put your beans in the WEB-INF/classes directory and the application wont have conflict problems if you decide to create virtual servers later.

  • Key functions are not working in oracle11g forms

    I have migrated a oracle 10g form to oracle 11g form
    1.Key function such as down arrow,up-arrow is not working in oracle11g forms though key-down etc trigger have been written.
    2.Tree node function,i mean when i try to call form from a child node ,it required 4-5 click.
    Can anyone help me for these issue

    Next_form function is not working.i have copied the .res file from 10g.So the issue like this,when i master forms calls(by using open_form in when-window-activate trigger)to a child form and the child form having (when-window-activate trigger)next_form to return the cursor in the master form,it got hang in 11g.This is problem.i have checked by creating the same.Could you help me for the same.this code is running fine in 10g.

  • Triggers not working in Oracle 9iAS

    The form triggers are not working in oracle 9i AS.
    My Application server has Linux operating system with oracle form/report server installed. I am able to upload the form
    in the client machine (using Internet Explorer Win98 OS). Also i can feed in the data but none of my triggers are working (WHEN BUTTON PRESSED and other validation triggers).
    Can anyone suggest what to do pls.
    Tnks in advance
    Rgds
    Manoj Philip
    [email protected]

    Well we've tested on Linux and the trigger do work - I remember two other postings on this forumn from prople with the same problem:
    Re: SQL Developer Necessities
    Re: About  EXPLAIN PLAN table
    In one case the problem was not re-compiling using f90genm.sh, in the other it was something to do with the Machine setup but I don't know what the final resolution was.
    The only other thing is to make sure that you are on a certified linux release for using with iAS e.g. Redhat Server 2.1 and Suse Enterprise server 7 and Untited Linux
    You can check the current certifications on Metalink.oracle.com

  • F11 Functionality is not working

    Hi,
    I am working on 11.5.10.2 version.
    In the Oracle Payables Invoice screen the F11 functionality is not working
    For other screens like supplier entry / payment batches..etc, the F11 functionality is working.
    When i enter the Invoice screen, i am pressing F11 and it comes to query mode.
    I am giving the values and percentage, pressing Ctrl+F11 but its not showing the invoice data.
    Error Notification given: "FRM-40301: Query caused no records to be retrieved. Re-enter."
    Earlier its working fine...suddenly its giving me this trouble. I am able to query same thing in my friends system.
    I know its quite silly issue but its really giving me a trouble. Could anyone give the solution for this. Is there any specific functionality am need to set for this?
    Thanks,
    Ram.

    The query is working if you are getting the message "FRM-40301: Query caused no records to be retrieved. Re-enter." You need to query for something that is in the tables which is usually case sensitive.
    Or, use the Query/Find screen by clicking the Find button (flashlight icon) on the toolbar.

  • Mouse Scroll Not Working in oracle forms

    Hi,
    I Created a master and detail block.. In Detail block following Properties i set
    No. of Records to be displayed : 10
    Scroll bar : no
    Without having the scroll bar i wannt to check all the records in the detail Block.
    for this i created key_scrolldown trigger in form levl called thye builtin
    SCROLL_DOWN;
    i'm using Oracle 10g.. JIniator for Running Oracle Forms
    applying this Coding this function is not working..
    Can anybody tell this How to oversome from this...???
    Cheers.

    What version of Oracle Forms are you using? You should always include this in your posts. :)
    Mouse scrolling is only enabled in Web runtime of Forms - so you must be using Forms 9i or higher.
    Does JRE Support mouse scrolling function?If memory serves, Mouse scroll was first introduced in Java 1.5.0. Therefore, if you want enble the mouse scroll wheel in Forms, you must be using JRE 1.5.0 or higher. I strongly recommend you use Java 1.6.0_33 or higher - but do not use Java 1.7.0 as it has not been certified with Oracle Forms yet.
    In order to use the JRE over the Jinitiator, you must modify your configuration to enable use of the JRE. Please take a look at Oracle 10gR2 Forms Services – Using Sun's Java Plug-in. This Oracle White Paper is for Forms 10g Release 2, but the instructions are basically the same for 9i and 11g as well.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Search menu function is not working

    Hi
    Search menu function is not working in one of my HRMS 9.1 (PT: 8.52.09 application.
    Verity installed and executed the build registry search index aswell.
    Please let me know if I miss something on configuring the search menu function.
    Thanks
    Soundappan

    Personally I did not have to make any psappsrv.cfg changes for this particular 9.1 env or any other changes that I can remember. Is PS_HOME = PS_CFG_HOME though?
    If you didn't specifically set PS_CFG_HOME to PS_HOME it defaults to something like $HOME/psft and the files would need to be there instead.
    If you run psadmin what's it show as the Config Home?
    If I unset PS_CFG_HOME i get
    PSADMIN -- Tools Release: 8.52.07
    Copyright (c) 1996, 2011, Oracle. All rights reserved.
    PeopleSoft Server Administration
      Config Home:  /home/psoft/psft/pt/8.52And the files would need to be there rather than $PS_HOME/data/....
    Now you could override that in your psappsrv.cfg file with
    EMPLOYEE=PS_HOME/data/search PS_HOME I dont think can be used here as a variable... it needs to be the full path. the location here must lead directly to the EMPLOYEE directory
    In 8.52 there are also some alternatives to this older style above.
    See this peoplebook for 8.52 http://docs.oracle.com/cd/E28394_01/pt852pbh1/eng/psbooks/tsvt/book.htm?File=tsvt/htm/tsvt10.htm%23g037ee99c9453fb39_ef90c_10c791ddc07_102b for details.
    In the past I've used shares or nfs mounts to have the process scheduler write directly to the appserver. But you could check out the new search server option too.
    Let me know.

  • Paste functionality suddenly not working

    I currently use Captivate 3.  I have been working on a project where I have been editting the background image in Photoshop and pasting the editted version as a background to the original slide. Captivate is no longer pasting the image as a background. I do recieve the warning message, but when I click OK,  the old image is not replaced. I also tried it on a blank slide and the slide remained blank.
    As I was trouble shooting I realized the paste as image functionality is not working either.
    I am able to save images, import them to the library and then replace the background using the slide properties,,, but this takes way too long when you have 50 slides to edit.
    Any thoughts as to what is happening?
    Thanks-

    Hi there
    Perhaps try restarting Captivate. Sometimes it gets tangled in memory and needs a kick in the pants to straighten itself out.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Since I installed Lion on my macbook the LED light does not pulse when I close the screen - the sleep function does not work.

    Since I installed Lion on my macbook the LED light does not pulse when I close the screen - the sleep function does not work neither when chosen after pressing the button nor chosen in the apple menu..

    I have had the same problem but on another forum it was suggested that disabling internet sharing would solve this. This fix seems to work on my machine - why it works I do not understand

Maybe you are looking for

  • Need help filling this object please!!!

    I need to fill shape 1 with a solid color. Shape 2 is what the object looks like when selected. Shape 3 is what happens when I try to fill it with color. I need it to stay within the boundaries shown on shape 1. Please help, I'm relatively new to Ill

  • I accidentally deleted photo files, can I retrieve them?

    I accidentally deleted photo files, is there any way to undo or retireve them?

  • PocketMac Pro vs. iSync vs. Blackberry--No one wins!

    After using a Treo 600 flawlessly for two years between platforms (Windows and Mac) as my syncing tool and having very few errors, problems or conflicts, I had to convert to a Blackberry for work. I saw that there was some problems using PocketMac Pr

  • SOAP processing failure

    Hello All , I have installed Java and ABAP sneak preview on the same machine . I have also created a service from an existing BAPI 'BAPI_FLBOOKING_GETLIST' and released the service . When I am trying to test this new service from ZICF transaction the

  • Rename tracks on the ipod

    i am a regular user of media center but there was a problem with renaming tracks so i used itunes to rename the tracks. i used media center to put all my album art on my mp3s, and as soon as i use itunes the dam program deletes many hours of work, it