Summation instead of Average!

I have a query with some KF in the row and then a Formula which includes some of theses KF. When i execute the query, in the result row, for my KF the result is correct - is a summation of all the values, but in the formula it gives me the average!!?? I didn't check the "average" option!!
What could be a problem here?

Are you sure your formula is OK? because theres no reason for calculate average only if you set the exception aggregation or the "calculate values" for value or for results...check this...
Regards

Similar Messages

  • Result values are coming as total instead of average.....

    Hi Experts,
         In my query i have three key figures and three calulated key figures.....In the output except for one key figure the values for others wont change for an employee... so the total for the other key figures should not come as the sum of the individual ones...except for one key figure ...
    emp id   wage type  leavestart date  leave enddate      amount    lengthofservice  age  noof leavedays
    101         2440          01.01.2009        03.01.2009        1000           45                50         3
    101         2440          06.01.2009        07.01.2009        1000           45                50         2
    so in my output for total for amount it should be 1000 ..length of service 45 ..age 50....no of leave days 5...
    so i made for these three key figures in calculations tab
               calculate single value as hide....
               calculate result as  average........  for amount,length of service,age....
    for noofleave days
           calculate single value as nothing defined
           calculate result as  nothing defined....
    in the output for result rows for these three key figures result is coming as 2000,90,100..........indiviuda key figures are hided properly but the result rows are getting summed ....instead of average....
    for no of leave days it is coming correct.............
    when i executed the query in rsrt ..i am getting warning 'calculate result as ...not executed'.......why this is not comign... i have done similar thing in another query ..........there it is workign fine...........
    In the aggregation tab for these key figures at query level...exception aggregation is key to standard.....
    please through some light..
    Regrads
    vamsi
    Edited by: vamsi talluri on Apr 2, 2009 12:13 PM

    Hello,
    You can try the following:
    Remove the calculate result as setting for the three KFs.
    In exception aggregation set property to average with ref char as leave start date.
    Check if it works.
    If the above dosent work, set reference char to emplyee ID and check.
    Either one of them has to work
    REgards,
    Shashank
    Edited by: Shashank Dighe on Apr 2, 2009 9:03 AM

  • In OBIEE Report Grand Total instead of Average(Average)  use Sum(Avg)?

    Hi All,
    In OBIEE Report Grand Total average always shows Average of average (Default) "avg(avg)" , can i overwrite this functionality to sum of average "sum(avg)".
    Thanks in advance
    Regards
    Kandasamy

    Hello,
    You can try the following:
    Remove the calculate result as setting for the three KFs.
    In exception aggregation set property to average with ref char as leave start date.
    Check if it works.
    If the above dosent work, set reference char to emplyee ID and check.
    Either one of them has to work
    REgards,
    Shashank
    Edited by: Shashank Dighe on Apr 2, 2009 9:03 AM

  • WebI aggregation on top of BW query

    Hi,
    I'm having problems with aggregated values shown on WebI when using percentage values.
    As an example:
                                                                           Actual 3    Actual 2    %
                                                                          jan-09       jan-08       R3 - R2
    Product type              Sales office                                feb-09       feb-08     
    VINO                         ALIM. BALEARS                            789          1822         -56
    VINO                         ALIMENT. ANDALUCIA                       362          1000         -63
    VINO                         ALIMENT. BARCELONA                       745           830          -10
    (...extra rows suppressed...)
    If I remove Sales office on report design, report shows this information:
                                                                    Actual 3    Actual 2    %
                                                                    jan-09       jan-08        R3 - R2
    Product type                                             feb-09        feb-08     
    VINO                                                        90123       125316      -699
    So, percentage aggregation is doing a summation instead of an average.
    I can't change universe aggregation because we're using the same measure on the 3 columns (it's a calculation on BW).
    And the three columns are values belonging to the same dimension (they are dimension values), so how could I use a new measure only for the third column?+
    Any more workarounds?
    Thanks and best regards,
    David.
    Edited by: David Sirvent on May 28, 2009 1:53 PM

    David,
    My advise would be to not use the calculation for percentage defined within the BW query. The query in Webi is executed only once. If you remove an object from your report the BW query is not executed again, but Webi is just aggregating based on the setting of the object in the universe (in this case it summerizes the percentages).
    It would be better to define a variable with the calculation of the percentage in Webi itself. Then no matter what objects you put in the report the variable is recalculated at any level.
    Regards,
    Harry

  • Report Structure based CKF percentage total colume Error

    Dear Guru's
    In Report Created structure in Rows structure created formulas for sub total, CKF using in colume for finding percentage on sale,
    where formula used in structure, percentage also adding instead of average. Applied exception aggregation for plant but no result
    Example scenario : Zone1 created with selection of plant, division and region.same as a UCWL and internal total Zone1+UCWL used formula
    percentage CKF working as addition. Red colour highlighted are wrong totals
    Month
    Target
    Prorata
    Target
    Actuals
    Today
    Actual
    Todate
    %Age
    Achiev
    Target
    PPC % age
    PPC %Age
    Actual
    Rajasthan Zone1
    45,000
    36,000
    1,276
    27,473
    76
    67
    54
    UCWL
    25,000
    20,000
    952
    18,183
    91
    100
    76
    ZONE1+UCWL Total
    70,000
    56,000
    2,228
    45,656
    167
    167
    129
    Rajasthan Zone 2
    60,000
    48,000
    1,722
    34,746
    72
    65
    10
    Rajasthan Total
    1,30,000
    1,04,000
    3,950
    80,403
    240
    232
    140
    Gujarat-Sirohi
    1,12,000
    89,600
    2,555
    85,877
    96
    42
    Gujarat-Kalol
    60,000
    48,000
    1,644
    34,945
    73
    75
    30
    Gujarat- P Pur
    8,000
    6,400
    247
    6,035
    94
    100
    Gujarat Total
    1,80,000
    1,44,000
    4,447
    1,26,857
    263
    217
    30
    Treat this most urgent, report is pending due to percentage total.
    Regards
    ramesh

    I applied this:
    If([Process Category] InList("Process01") And IsNull([Date]);[Percentage];Max(Date)))
    [Percentage] = (Count([Date])/Count([Operation]))*100.
    but, this is not becoming true - even when Operation has one Date
    Showing result as:
    List#,Process01,Process02
    100, 11/12/2010, 11/15/2010
    But result should be
    100,50%,11/15/2010
    Can anyone help me achieve the right result!
    Thanks in advance.

  • Totals for Hierarchys not correct with condition

    Dear All
    I have a Bex query with two hierarchys, one in rows and the other in column. query is working perfectly fine without condition in query. when there is a condition added in the query for the total amount more than or equal to * the totals are not displaying correctly.
    Totals are displayed for the amount which are less than the amount *.

    Try to change in the KF properties, defining the totals as summation, instead of "nothing defined".

  • Exporting as grayscale PDF

    I am using WinXP, InDesign CS2. Whenever I design a document, with all grayscale objects, and I want to export as a pdf. The document becomes RGB. It need it to stay a true grayscale. How do I make this happen?

    In my understanding - I'm not a native English
    speaker - the word Grayscale refers mainly to gray
    raster images which were saved by one channel.
    I had copied some text from a Word file (trying to
    identify the source of the bugs) and pasted into a
    new ID doc.
    Then I had used Export to PDF with 'No Color Conversion'.
    According to 'Output Preview' it's a K-only file.
    Loaded in Photoshop as CMYK it appears as 100% K-only.
    Loaded in Photoshop as Grayscale it appears by a
    CMYK-interpretation in the Info Palette as a 4-plate
    'rich black' file - obviously a misleading interpretation.
    Alternatively I had used Print as Composite Gray to PDF.
    The result was the same.
    In my humble opinion it would be very helpful to use
    the word 'Grayscale' only for gray raster images.
    Vector graphics and text may be gray, but they should be
    defined by CMYK = 0 0 0 K.
    Sources from Word had caused trouble in the past (but not
    in the actual test). Anyway - the text can be selected and
    converted into K-only.
    For further discussions it would be useful to explain, by
    which tools the final PDF had been interpreted (e.g. Photoshop
    or Acrobat Pro or Quite a Box of Tricks).
    Peter,
    good points: Text as Black, and the accurate measurement.
    In Photoshop one needs one-point-sampling instead of averaging.
    Best regards --Gernot Hoffmann

  • Numbers keep changing my formula

    I have a large Numbers sheet that is used to create graphs that analyze data in different ways. I dump the numbers into sheet 1, table 1 and then the subsequent sheets calculate averages, and further back create charts based on those averages.
    Here's my trouble. For example on Sheet 3, I may want to run an average on the data from sheet one, so I create the formula:
    =AVERAGE(Sheet1 :: Table 1 :: B4:B20). Everything works fine. I create the charts, save the whole thing as a PDF, and it looks great.
    Then the trouble begins. I paste a new set of data numbers on sheet 1. When I go to sheet 3, the formula has changed to:
    =AVERAGE((Sheet1 :: Table 1 :: B3,Sheet1 :: Table 1 :: B5:B20))
    So it starts on a new row, and skips a row in the middle. The row it skips is not even always the same row.
    Any help would be appreciated.

    The problem is from sorting. I'm guessing you are sorting by a column other than B.
    There are some recent posts about sorting, one of which was from this week. You have misunderstood what absolute referencing does and doesn't do. It is absolute when it comes to copy/pasting of formulas from one cell to another but it isn't absolute when it comes to sorting. It is apparently a common misunderstanding. Bottom line is that when Numbers sorts, all cell references follow the cells around to wherever they end up. So if you had a reference to $A$1 and cell A1 gets moved to A5 during a sort, all the $A$1 references will now point to $A$5.
    You have two possible solutions:
    1) If you are averaging everything in column B, use "B" instead of "B4:B20".
    2) Use INDIRECT. Instead of AVERAGE(B4:B20) use AVERAGE(INDIRECT("B4:B20"))

  • Exchange rate fetched while calculating depreciation is historical rate

    Hello All,
    Following is the issue:
    As part of depreciation process, SAP posts amount in local and group currency. SAP while converting local currency depreciation value into group currency (USD) isnu2019t able to pick up right foreign currency rate i.e average rate for that month. Instead SAP chooses historical exchange rate which existed at the time of capitalization and converts the depreciation value.
    Exchange rates for both historical and average are maintained in OB08.
    I would like to know whether any more configuration is required or should i do a debug and understand why historical rate is fetched instead of Average rate
    Appreciate an early reply
    Best regards,
    Sundar

    Hello Srinu,
    Does ECC 6.0 allows any tweaking in configuration or in the depreciation program to fetch average exchange rate for depreciation?
    Appreciate your time!
    Regards,
    Sundar

  • 2 times faster, half the price. but 10 times slower to active

    Apple should consider other schemes to get folks want to buy an iphone flow through its stores quicker instead of averaging 3 hrs of waiting + activation.
    For example, Apple can sell iphone at full price, then if you go home and activate iphone with AT&T, you get refund from AT&T for the price difference......etc.
    It is Apple's reputation to lose even if AT&T is the bottleneck.
    Think about this from another angle, if Apple want to sell 10 million phones. It will be 30 million human hrs wasted. This is NOT Apple like experience at all.

    It only took me 10 minutes to get the entire process done at my local AT&T store on Sunday before I was out the door with my iPhone fully functional. So far of the people I know that have gotten new iPhones the ones who had the problems were the ones that went to Apple stores. Not sure what it is but there are stories all over the net saying Apple employees are constantly getting failed activations and always on the phone with AT&T.
    Edit - And yes, as users there is nothing we can do. You should give Apple some feedback with the link above.
    Message was edited by: Randy Fast

  • Should I be running my audio track through a normalizer?

    Hey guys - lately when I finish I project, I have been running the completed audio file through a normalizer (like Audiograbber). I'm doing this so that the entire audio track is uniform in its peak volume level. Would you say that this is a good practice, or will this actually degrade my sound? I do check levels in Premiere with the mixer and try to avoid any peaking, but I was curious if normalizing like this is a good idea?
    As always, I appreciate your help.
    Dave

    A peak level normalizer is not going to do much for you at all except add an extra, un-necessary level of DSP processing.
    Why?
    Because if it works on peak levels, then all you can do is raise the peak of each file to the determined level and our ears do not judge relative volume by peak, but by RMS instead - or average level.
    If you want to ensure constant levels, then I would recommend a compressor instead - it will smooth things out considerably better.
    Set the threshold low - around -25dB, and set the compression levels quite high. You will need to experiment with the attack & release settings to prevent "pumping" artifacts from the compressor - to allow the important transients through, have a longer attack time (This means it takes the compressor longer to kick in) and have a fairly long release time as well.
    You will need to experiment.
    If normalizing has to be done, it needs to be measuring the average or RMS levels and not the peaks.

  • Goods Receipt Amount based on PO price instead of moveing average price

    Is it possible to customise SAP so that the amount in Goods Receipt transactions is calculated based on quantity * PO price instead of quantity * moving average price?
    Thanks.

    Thanks for your reply.
    Standard SAP functionality:
    1. When material ledger is active, the GR amount is based on pre-GR moving average price.
    2. When material ledger is not active, the GR amount is based on PO price.
    We use the material ledger but want the GR transactions to record the amount based on PO price.
    Any suggestions?

  • Goods Receipt at Moving Average price instead of PO price

    We are finding a scenario where in goods receipt is getting booked at Moving average price instead of PO price.
    The material is defined with price control indicator as V like any other material. The issue is identifed for a specific material only.
    Can any one tell the reason for this?
    Regards,
    Som

    Here are responses against your queries
    1. does your PO have an account assignment? - No. This is a Material PO
    2. Was the invoice posed in advance to the goods receipt? - No. In fact invoices are still to be posted. However, there is an advance payment to the vendor. Not sure if this has anything to do?
    Pl. help

  • Plan cost splitting is as per average basis instead of capacity base

    Dear Experts:
    I have planned the activity independent cost in cost center : CCTRA
    I do have two activities named: ACT1 and ACT2
    I have done the activity capacity planning in KP26
    Created the splitting structure and assigned the cost center.
    Splitting rule taken as 23- capacity based splitting
    When I perform KSS4,
    System split the fixed cost equally instead of capacity planned in KP26.
    My Settings:  In KP26:
    I have maintained the planned activity quantity in capacity tab
    Distribution Key - 2 (Distribution as before)
    Plan Price Indicator - 2 (Plan price, automatically based on capacity)
    In KL01: Under Allocation default values tab:
    Activity type category - 1
    Price indicator - 2
    Check box for plan quantity set
    In KL01: Under variances for actual allocation:
    Actl Acty Type Cat. - Blank (As in planning)
    Act. price indicato - 6 (Actual price, automatically based on capacity)
    OKEQ Settings: Price calculation tab:
    Plan Method: Average price
    Tried Period price also.
    I need to split the cost as per capacity planning.
    Please guide me.
    Thanks
    Surya

    Hi Makrand,
    Point No.1: When you say that the system is not considering the values you planned in KP06 but considering the values which have come by Distribution, system is behaving correctly.
    Because, when you do the planning in KP06 for certain cost elements, you are doing it against certain activity type. So, for the cost elements which you planned in KP06, splitting structure is not applicable.
    Splitting structure will be applicable for the expenses which have come through distribution only.
    Point No.2: When you say that for the cost elements which you have not mentioned in splitting structure are also being considered in the same way as those of mentioned in splitting structure, i would suggest you to check the cost element group.
    If not, pls give the rule "equal distribution among the activity types" for those cost elements which dont need to be absorbed based on activity quantity.
    I hope this will work out...
    reply with result...
    Srikanth Munnaluri

  • Sum and Average Group Wage instead of Details Wage

    I have a subreport where I have included all of our employment records and grouped it by employee ID. In the Group Footer, to show the latest employment record I used the Max(Start Date) and I have also placed the Hourly Wage field here which shows the appropriate Wage for the Max Date. But I can't seem to use the Sum or Average Summary because it Sums and Averages All Wages in the Details report vs. only the latest record.
    So, how do I Sum/Average the wages for only the last employment record Or how do I create the report to show only the Last Employment Record?
    I'm using Crystal XI. Any help will be greatly appreciated.
    Thanks

    Place the fields in group header instead of placing in details section using maximum() function. Now got to report>record sort expert>add start date field-->select descending order.
    Now the report shows latest date entries for each group.
    If you want to calcualte the sum then use mannual running totals like
    create a formula like
    @sum:
    whileprintingrecords;
    numbervar i;
    i:=i+{field}
    Now place this in group header and supress
    create another formula like
    @Total:
    whileprintingrecords;
    numbervar i;
    place this in report footer which gives grand total.
    Regards,
    Raghavendra

Maybe you are looking for