Average Result of a data item not Average!

I have chosen to install a Grand Total (at right) Columns Average of a calculated field, which is a data item in my crosstab report. The resulting values are always erroneous. The Sum(data-item) Total columns I use are accurate, but the Average Total is always wrong! Even if it counted null columns (hope not!) to divide the sum of the calculations by, it wouldn't be the figure it comes up with. Am I the first or just most recent to get bogus average results from a Total?

Hello,
I have this kind of problem either. First I thought, it migth be the statistical mean (sum/count-1) when using "calculate over all page items" - but this can also be a coincidence.
When using "calculate only page items of this page" (sorry, don't know the exact label of the feature, I'm using a german version of Disco) then I get a number that is calculated as follows: sum over all items / count of distinct items of the attribute being most left on the crosstab.
Example:
Country City Number of x Number of y
Germany
Berlin 4 6
Munich 5 3
France
Paris 3 3
Lyon 4 2
AVG 8 7
What I want: 4 3,5
There I get the average for the sum of all countries - but I want the average over all cities!
Does anyone can give a hint? (workararound is to export in Excel - but that's not really what I want ...)
THX!
Greetings,
Alex

Similar Messages

  • A window keeps appearing on my PC advising as follows "The iTunes library file cannot be saved.you do not have enough access privilages for this operation." resulting in recently purchased items not being saved to PC.

    A window keeps appearing stating " The iTunes Library cannot be saved. You do not have enough privilages for this operation". New purchases and CD down loads are able to be saved to my iPod but not to my PC?

    Read the part about changing permissions on the iTunes folder in: https://discussions.apple.com/message/11583914

  • Calculate Results As Average of Detailed Values That Are Not Zero... with hiearchies doesn't work

    Hi all,
    For the key figures, the option of "Calculate Results As Average of Detailed Values That Are Not Zero, Null, or Error" works fine for characteristics drilldown without hierarchies, but with hierarchies it simply doesn't work; instead of calculate the overall result as average, the system calculates it as SUM. It works like the option "Nothing Defined" where the results provided by the analytic engine are displayed. No local calculation takes place.
    How can I do to display the overall result of hierarchical drilldown of a characteristic as an average?
    Many thanks in advance!
    Abraham

    It is usually best to just keep it as simple as possible.  What do you think the code in the OR Array Elements does?  I imagine it is just a simple FOR loop with a variable to keep the latest OR.  So I would do what GerdW just showed with the FOR loop.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Overall Average and Average of part of data-set displayed simultaneously

    I am trying to write a report on Discoverer 10.1.2 that will display the average for a sub-set of a data population alongside the overall average of the whole population, BUT NOT display the average for the remaining sub-sets.
    For example:
    If there are 5 regions, A, B, C, D & E, the requirement is to display the average for region A against the overall average (averaged across all regions) and not to display the averages for teams B, C, D & E.
    Can anyone suggest how this could be achieved in Discoverer Desktop/Plus/Admin?
    Thanks
    Duncan

    Hi James,
    It looks to me like your code is not giving you the results you desire because of an assignment syntax error.  You want to add all the Upr_Values together and then divide by the Upr_Count to get the overall average for the upper lobe.  Your code, though, just overwrites the previous Upr_Value with the current one and assigns the value +1 to Upr_Count each time:
    Upr_Value =+ Chd(iLoop, "Strg_Angle")
    Upr_Count =+ 1
    Here's what you need instead to calculate the overall average:
    Upr_Value = Upr_Value + Chd(iLoop, "Strg_Angle")
    Upr_Count = Upr_Count + 1
    If you want to get the average values for each X value below the blue line, then I recommend using the Calculate() command to create two new sets of X and Y channels, one set for the upper lobe and another set for the lower lobe.  The Calculate() command can also set all unwanted data to 0 or Null so that you can then calculate the per-X value average in each lobe with the linear approximation function.
    If you want help with this, post or email me a sample data set,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments
    [email protected]

  • Showing average results on a graphic with Numbers '09

    Greetings everyone. My request could seem quite simple but I can't manage to do it. I'd like to show the results from a theoric experiment. No problem until I want to make an average result of, not each subject, but each groupe. Here is what I don't want to get:
    Any idea ?

    Ok, from this point, thanks both of you for the answers. But now imagine I have something like this:
    Isn't there anyway of getting something like this,
    Without doing all the average calculations, plus, by adding some values that will not be involved into the calculation (here we set –9) and letting Numbers know that 1 = Control ; 2 = Patient, or F = Women ; M = Men ? (I used your method to set this graph )

  • FRF not averaging TF correctly

    I am trying to use LV's
    built in FRF to perform transfer function averaging.  However it does not
    appear to average multiple sets of data correctly.
    In LV 7.0 I
    wrote a transfer function sub VI, which calculates the TF for only 1 set of
    data at a time and does not average.  I am trying to implement the FRF
    function to do the required TF averaging. 
    I can read in the first set of data to the TF sub VI that I wrote, as well as
    the FRF. Both output the same TF magnitude value, 48.236 (which is expected
    since its only 1 set of data).  When I read in the next set of data, the
    TF magnitude for that set is 47.2095.  Thus, I am expecting a average TF
    magnitude of (48.236+47.2095)/2=47.2228. However, the FRF tells me the average
    TF magnitude is 26.7809.
    My averaging parameters cluster is as follows:
    Vector Averaging
    Linear
    10
    One Shot
    I have one theory, but I cannot test it.  My code was originally written
    in LV 7.0. I
    recently upgrade to LV
    7.1.  However, so that I was able run the VIs I wrote in LV
    7.0, I needed to copy parts of my old LV 7.0
    fdirectory to my LV
    7.1 directory; and for some reason I can not the run the FRF which comes with
    LV 7.1 (I get "unable to execute"
    errors), so therefore I am using the FRF function which I had bundled into
    my library of VIs which I wrote in LV
    7.0.  Could using the LV 7.0 FRF in LV
    7.1 cause this averaging error?

    Hello,
    I don't think the problem is due to your VI version upgrade from 7.0 to 7.1.  I do not know what FRF refers to, but if you'd like to average sets of data, we can implement that very easily (use the sum array values function in the numeric palette to get the SUM; use the array size function from the array palette to get the SIZE, and SUM/SIZE will be the average).  If you think you have found a bug, however, with an existing function, please let me know which function, or better yet, attach a simple program which reproduces the problem.  In either case, please let me know what FRF stands for, and I'll try to help you with whatever is going on.
    Thank you,
    JLS
    Best,
    JLS
    Sixclear

  • Data folder can not be opened in finding " AirPort Time Capsule " The operation can not be completed because the original item for " data" does not exist .

    Hi
    I have a " AirPort Time Capsule " (firmware 7.7.3) When I try to open the data folder in "finder". Then I got the message  " The operation can not be completed because the original item for " data" does not exist". I have a lot of data and I can understand why I get this message?
    Anyone who can help? Thanks..
    Br. Bo

    Get a USB drive of 2TB or more.. assuming your TC is 2TB. Either preformatted Mac or plug into your Mac and format it standard Mac OS Extended Journaled in disk utility.
    Do a full archive of the TC. You do this using airport utility. Do not click the erase disk.. I marked in green.. just the archive.. that is to backup the internal disk to the USB disk. It is not fast.. take it that the process will go at around 40-50GB/hr.
    Once you complete the archive .. it is a direct image of the data on your TC.. you can then plug it into your computer directly.. and then try and open the files you lost.. if you cannot open them.. open disk utility and fix the permissions.
    http://osxdaily.com/2015/01/13/repair-disk-permissions-mac-os-x/
    Or try the methods apple recommends..
    OS X Yosemite: Set permissions for items on your Mac
    It is possible to fix things on the USB drive because it is locally mounted.. but you cannot fix it on TC which is network drive.

  • Line item data is not saving while creating a Sales order using Interactive

    Hi all,
    I am creating a sales order Using Interactive forms. In the form i am having Header data and line item data.I had created two structures one for Header data and one for Line item data. For entering  the LINE ITEM DATA i had created a Dynamic table with Buttons ADD ROW and DELETE ROW.
    User will Add the Row or Delete the Row based on the requirement.
    My issue is When ever the user clicks the SUBMIT button after entering the header data and 3 line items data , Sales order has been created with only first line item and the remaining two line items are not created.
    My Interactive form is like below
    HEADER DATA
    DOC_TYPE
    SALES_ORG
    DIST_CHN
    DIVISION
    PURCH_NO
    PARTN_ROLE
    PART_NO
    LINE ITEM DATA
                             ITEM_NO      MATERIAL          PLANT          QTY        COND_TYPE            COND_VALUE
    ADD ROW
    DELETE ROW
                                                                                    SUBMIT
    My  code for the method ONACTIONCLICK is like below
    method ONACTIONCLICK .
    data:
          Node_Adobe       type ref to If_Wd_Context_Node,
          Node_Zsaleheader       type ref to If_Wd_Context_Node,
          Elem_Zsaleheader       type ref to If_Wd_Context_Element,
          Stru_Zsaleheader       type If_Main=>Element_Zsaleheader,
          Node_Zsaleitem       type ref to If_Wd_Context_Node,
          Elem_Zsaleitem       type ref to If_Wd_Context_Element,
          Stru_Zsaleitem       type If_Main=>Element_Zsaleitem.
      data: header_data type BAPISDHEAD.
      data: item_wa type BAPIITEMIN.
      data: item_data type table of BAPIITEMIN.
      data: partner_wa type BAPIPARTNR.
      data: partner_data type table of BAPIPARTNR.
      data: sales_order type BAPIVBELN-VBELN.
      data: Errorlog type BAPIRETURN1.
    navigate from <CONTEXT> to <ADOBE> via lead selection
      Node_Adobe = wd_Context->get_Child_Node( Name = IF_MAIN=>wdctx_Adobe ).
    navigate from <ADOBE> to <Zsaleheader> via lead selection
      Node_Zsaleheader = Node_Adobe->get_Child_Node( Name = IF_MAIN=>wdctx_Zsaleheader ).
      Node_Zsaleitem = Node_Adobe->get_Child_Node( Name = IF_MAIN=>wdctx_Zsaleitem ).
    get element via lead selection
      Elem_Zsaleheader = Node_Zsaleheader->get_Element(  ).
      Elem_Zsaleitem = Node_Zsaleitem->get_Element(  ).
    get all declared attributes
      Elem_Zsaleheader->get_Static_Attributes(
        importing
          Static_Attributes = Stru_Zsaleheader ).
      header_data-DOC_TYPE = Stru_Zsaleheader-DOC_TYPE.
      header_data-SALES_ORG = Stru_Zsaleheader-SALES_ORG.
      header_data-DISTR_CHAN   = Stru_Zsaleheader-DISTR_CHAN.
      header_data-DIVISION = Stru_Zsaleheader-DIVISION.
      header_data-PURCH_NO = Stru_Zsaleheader-PURCH_NO.
      partner_wa-PARTN_ROLE   = Stru_Zsaleheader-PARTN_ROLE.
      partner_wa-PARTN_NUMB = Stru_Zsaleheader-PARTN_NUMB.
       append partner_wa to partner_data.
        Elem_Zsaleitem->get_Static_Attributes(
        importing
          Static_Attributes = Stru_Zsaleitem ).
      item_wa-ITM_NUMBER = Stru_Zsaleitem-ITM_NUMBER.
      item_wa-MATERIAL   = Stru_Zsaleitem-MATERIAL.
      item_wa-PLANT = Stru_Zsaleitem-PLANT.
      item_wa-REQ_QTY = Stru_Zsaleitem-REQ_QTY.
      item_wa-COND_TYPE   = Stru_Zsaleitem-COND_TYPE.
      item_wa-COND_VALUE = Stru_Zsaleitem-COND_VALUE.
      append item_wa to item_data.
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'
      EXPORTING
        ORDER_HEADER_IN           = header_data
      WITHOUT_COMMIT            = ' '
      CONVERT_PARVW_AUART       = ' '
    IMPORTING
       SALESDOCUMENT             = sales_order
      SOLD_TO_PARTY             =
      SHIP_TO_PARTY             =
      BILLING_PARTY             =
       RETURN                    = errorlog
      TABLES
        ORDER_ITEMS_IN            = item_data
        ORDER_PARTNERS            = partner_data
      ORDER_ITEMS_OUT           =
      ORDER_CFGS_REF            =
      ORDER_CFGS_INST           =
      ORDER_CFGS_PART_OF        =
      ORDER_CFGS_VALUE          =
      ORDER_CCARD               =
      ORDER_CFGS_BLOB           =
      ORDER_SCHEDULE_EX         =
    endmethod.
    PLEASE SUGGEST ME IF ANY CODE CHANGE IS REQUIRED
    Thanks in advance
    Ajay

    Hi,
    The item data is not read because, the dynamically added rows should also reflect back to the Web Dynpro context. When the user clicks on Add Row, use the Onsubmit event to add a empty line to internal table and then bind it to the context. And if the user removes a row, remove a row from internal table and bind it back to the context.
    You may refer this article.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/802f0ed1-a17a-2c10-7db4-d515a5b047ed
    Regards,
    Runal

  • Fact-tables not resulting in any data

    hello experts;
    I am trying to create a mock-up report in OBI Answers and somehow Im having a problem with metric columns. When I pick any metric column then I get the: *(No Results: The specified criteria didn’t result in any data)*
    But when I pick just the fact tables, I see the results. I have doubled checked the rpd; the schemas btn the dimension and fact tables looks ok to me. I have tried union with another subject area, I get the same error. Anyone with an idea why fact tables are not collaborating with dimension tables?
    will appreciate your help

    Hi,
    Can you try to check the physical SQL generated by the reports? and see if that query is returning result in the DB or not.
    I am sure this will help you to find the root cause.
    Regards,
    Kashi

  • 0FI_AP_4 Not extracting  data for items not due

    Dear SAP Forum,
    Please note when we are trying to pull the 0FIA_P_4 data into SAP BI system, there are certain records like
    items not due - records ( in tcode fbl1n)   are not populating  in the standard DataSource .
    I need to display these records in my report.
    Please help us on this issue,like how can we pull  above records into BI system.
    Best Regards,
    Padugula Srinivas

    Dear SAP Forum,
    Please note this is a production  issue and need to resolve with in SLA.
    Please help us.
    Srinivas Padugula

  • Search Page by date field not showing up results

    Hi,
    I am using Jdev 11g and new to adf.
    My applciation needs a search page based on a date field.
    I created a viewcriteria for the object which expects a date field from the user.( the bind variable is of type Date)
    After this i dragged the viewcriteria as af:query (panel with table) on the jspx page.
    Now when i run the application, that is when i enter the date (calendar autogenerated by query component),
    it does not show up any results.
    My date field in the database has a timestamp attached to it, somewhere i read that the timestamp may be causing the problem.
    But i have not found any solution for this one.
    This looks very basic to me, i am sure i am missing soemthing important.
    Besides i even tried the approach of programmaticlly populating the Viewobject(by not using the any query component),
    i can see the Viewobject being populated in the logs( the row count) but on the display page, no rows are shown.
    I am sure i am doing something wrong for this one.
          AppModuleImpl am = this.getAm();
           ViewObject submittalVO = am.findViewObject("AcrSubmittallogView1");
           System.out.println("after getting VO");
           String subDate = this.getSubDate().getValue().toString();
           String query = " to_char(SubmitDtTm,'mm/dd/yyyy') = '"+subDate+"'";
           submittalVO.setWhereClause(query);
           System.out.println("QUERY>>>> "+submittalVO.getQuery());
           submittalVO.executeQuery();
          System.out.println("after executing query "+submittalVO.getRowCount());
           this.setRenderLogTable(true);But i actually want to use the built in query component instead of programmatically doing it.
    Can someone please guide me further.
    Any help will be grt.
    Thanks in advance
    ash
    Edited by: user1175461 on Jul 15, 2010 1:18 PM

    Still not working for me either, here's exactly what I'm doing.
    My query is as follows:
    SELECT
    RO.repair_line_id,
    RO.repair_number,
    SR.customer_po_number, segment1,
    trunc(RO.creation_date) as creation_date,
    I've created a Bind Variable for the creation_date as follows:
    <Variable
    Name="createDate"
    Kind="viewcriteria"
    Type="oracle.jbo.domain.Date"/>
    Which is linked to a view criteria:
    <ViewCriteria
    Name="RepairSearchVVOCriteria"
    ViewObjectName="com.services.cs.vvo.RepairSearchVVO"
    Conjunction="AND">
    <Properties>
    <CustomProperties>
    <Property
    Name="displayOperators"
    Value="InAdvancedMode"/>
    <Property
    Name="autoExecute"
    Value="false"/>
    <Property
    Name="allowConjunctionOverride"
    Value="true"/>
    <Property
    Name="showInList"
    Value="true"/>
    <Property
    Name="mode"
    Value="Basic"/>
    </CustomProperties>
    </Properties>
    <ViewCriteriaRow
    Name="vcrow1"
    UpperColumns="1">
    <ViewCriteriaItem
    Name="CreationDate"
    ViewAttribute="CreationDate"
    Operator="="
    Conjunction="AND"
    Value=":createDate"
    IsBindVarValue="true"
    Required="Optional"/>
    </ViewCriteriaRow>
    </ViewCriteria>
    I then dragged the criteria into the page. When running it I get the following:
    AND SR.customer_id =:psCustomerId) QRSLT WHERE ( ( (CREATION_DATE = :createDate ) ) )
    <ViewObjectImpl><bindParametersForCollection> [3510] Bind params for ViewObject: [com.xxx.services.cs.vvo.RepairSearchVVO]RepairSearchAM.RepairSearchVVO1
    <OracleSQLBuilderImpl><bindParamValue> [3511] Binding param "psCustomerId": 34758
    <OracleSQLBuilderImpl><bindParamValue> [3512] Binding param "createDate": 2010-02-18
    Which never brings back any data. My date's look as follows in the database:
    '18-FEB-10'
    I never get any results for the date. I've also tried using the to_char to format the date as the same format, but that always gives a variety of errors. This is driving me batty =0 Any ideas on why it never pulls back data?
    Thanks, Graeme.

  • Acct assignment cat. of item not in user data; Inform system admin

    Hi all,
    We are on a SRM EBP 5.0 project and we are getting the following error when we try to create a purchase order from the purchasers login.
    "Acct assignment cat. of item not in user data; Inform system admin"
    The complete details of the screen shot are as follows:
    The following error text was processed in the system DS1 : Acct assignment cat. of item not in user data; Inform system admin.
    The error occurred on the application server lndnysap1_DS1_01 and in the work process 0 .
    The termination type was: TH_RES_FREE
    The ABAP call stack was:
    Form: ABORT_PO of program SAPLBBP_PO_UI_ITS
    Form: ADD_TO_MSG_LOG of program SAPLBBP_PO_UI_ITS
    Form: ADD_TO_MSG_LOG_MULTI of program SAPLBBP_PO_UI_ITS
    Form: SET_PRICING of program SAPLBBP_PO_UI_ITS
    Form: DETERMINE_EXTERNAL_SCREEN of program SAPLBBP_PO_UI_ITS
    Module: DETERMINE_EXTERNAL_SCREEN of program SAPLBBP_PO_UI_ITS
    We did the following steps :
    Created shopping cart- employer and WF triggered apprd. by manager.
    Purchaser did "Carry Out Sourcing ", and if we say "Create Purchase Order", the PO gets created with a information message that "Incomplete purchase order 11/1 is created "
    When we go to  "Process Purchase Order" for the completion of the same. If we see Follow-on documents "Purchase Order Held" occurs.
    In the tab Item Data details Pricing tab we get this error.
    Do any of the SRM gurus can suggest us what to do?
    In our admin logon it shows
    "Server for pricing is not running. Start Server"  occurs after every run of this process purchase order from the purchasers login, though our IPC is working fine.
    Will be of great help if somebody replies soon.
    Sincerely,
    Sridhar.

    Hi,
    IPC has to be configured.
    Please check the following threads :
    https://forums.sdn.sap.com/click.jspa?searchID=211089&messageID=2714527
    https://forums.sdn.sap.com/click.jspa?searchID=211089&messageID=2715019
    Kind regards,
    Yann

  • In Query mode, date items does not accepts more than 10 characters..Why?

    Dear All,
    In my form, While querying my date items, it does not accepts more than 10 Characters. Could it be changeable.
    Actually i want to search like greater than specified date( >01/01/2007 ).
    But i can specify like >01/01/07. After tabbing out from that item, it displays like >01/01/200.
    How to overcome this issue.
    Please help.
    Regards,
    Balaji

    You are absoletely correct Francois!
    Previously i have made a mistake that both of my maximum length and query length property to 20. That time it was not worked. Now i changed my maximum length to the old one like 11 and i changed only the query length to 20.
    Now it is working. I understood the concept wrongly.
    Thanks Francois!

  • FMPLUP-Plan uploading result OK while data not be posted, without Log

    Hi Expert
    I have created planning layout and assigned to planner profile with excel integration. I've got the file description to be specific in the Flxible Upload screen.
    When I upload data in transaction code FMPLUP, the result is OK. However, the plan data is not input to the layout / report. (I can directly post the planning in SAP.). I tried uploading by other file that not related to the file description. The result should be error but it still OK without any posting.
    How should I resolve this plan uploading issue?
    Rgds
    Ton

    First I want to ask about planning layout. What tcode did you use when you create the planning layout? Is FMPLLI?
    I ever created the planning layout with excel integration. Then I use tcode FMPLCPD to insert the budget planning with form based.

  • HELP: Formula Item data is not saved to database

    Hi:
    I've added a formula in a database item but when i commit the form the data is not saved to the database. When i am working on form the item reflects the formula value, but when i commit the value is not stored in the database.
    I need urgent help.
    Thanks
    Joao Oliveira

    It is not clearly stated in the help file I agree. With a little PLSQL code you could copy the item to a hidden database field and have it be saved to the database. See Note 43012.1 on Metalink for details.

Maybe you are looking for

  • Schedule Delivery Date in Sales Order

    Hi All, Does anyone have any idea, how can I determine the date on which a line item material can be delivered, if I know the Material Availability date. After a material is available, it takes some more time for Loading, Pick-Pack, Transportation...

  • Replacement code for Translate statement in latest version

    Replacement code for TABLES XXXX  USING <r> LIKE <r> TRANSLATE <r>-<fieldname> TO UPPER CASE. <r> is a structure

  • Photos saved from Mail to iPhoto won't display

    I recently converted my niece from a PC to an new 14 inch iBook. She has 10.4.2 and all the latest software updates. When she clicks on the "Save" button in Mail her photos do not appear in iPhoto. After proving to myself this was really happening, I

  • REMOVE Documents and Data... HOW!?

    No, seriously... HOW. I have tried every **** thing I could find via a google search, and I've read countless threads with countless "well, it worked for me" stories. Nothing is fixing it. I have done everything except a master reset. I have gone to

  • 10.6.1 Server - cannot prevent authenticated users from creating a blog

    I have a brand new Snow Leopard (10.6.1) 2.26 Ghz quad core Xserve with 12Gb RAM that will be used for web collaboration services. I've currently set up Wiki and Blog services with a group membership to allow creating wikis/blogs. The reason for this