Calculating Grand Total based on the section totals

Hi,
I have a webi report with a section. Outside the section block I have a grand total block. I have a section on Shop Names. At the total level I calculate calls per hour average. So at the end of each sections the total would look like
Shop 1
Shop 1 Calls : 61
Shop 2
Shop 2 Calls : 45
I need to calculate call per hour at the grand total ...which should average the totals in the section
Grand Total : 61+45 = 106/2=53. I needed guidance as to how based on the section totals I can write a formula to calculate averages of the values present in the section. Both are different blocks ( Section and Grand Total)
I cannot write a direct formula as it will give me error caculation beacuase of the nature of data in the report.
Please let me kow on this.
Thank You,

Hi BOCP-BOE ,
Thank you very much for the quick response.
I tried with          
=Sum([V_Calls_Per_Hour_Average]) ForAll ([V_Calls_Per_Hour_Average]) In Report
=Sum([V_Calls_Per_Hour_Average]) ForEach ([V_Calls_Per_Hour_Average]) In Report
But this gives me error
I calculate calls per hour as a subtotal for each shop. ( There is a section on shop so for each shop under the section we will have calls per hour total)
The formula to calculate calls per hour is little complex
=If(Count([Date_Appeared];Distinct)=1;(Sum([Number Of Total Calls])/Average([Hours_Worked/60));(Sum( [Number Of Total Calls])/(Sum([Hours_Worked]/60) ForEach([Date_Appeared]) Where([Date_Appeared]<>Previous([Date_Appeared];Row)))))
My think that the formula to calculate calls per hour has very little to do with summing the values for calls per hour. Please note that I have a V_Calls_Per_Hour_Average that holds that calculation.
Please let me know on this.
Thank You

Similar Messages

  • Problem in displaying totals based on the Unit of measurement.

    Hi,
    I have Problem in displaying totals based on the Unit of measurement.
    I want to display the total in the output of the alv based on the unit of measurement. for example i have three fields in the output namely
    Matnr           Quantity      UOM
    51                10              EA
    61                10              KG
    71                10              KG
    In the total i should get
                    10         EA
                    20         KG
    Can anyone tell me how to do this?
    The basic req is the exclude the qty with unit EA(each) in the totals.
    Thanks,
    Amit

    H i,
    you can use the collect statement
    to get the proper result
    loop at itab.  ( all the records)
    move all the fields from itab to another
    collect itab1.
    write: itab1-fields, itab1-fields.
    endloop.
    this will solve your problem
    reward points if helpful,
    thanks & regards,
    venkatesh

  • Is it possible to suppress the Page Header of the Main Report based on the Section Name?

    Hi,
    I am fairly new to Crystal Reports XI.  Is it possible to suppress the Page Header of the Main Report based on the Section Name?  Thanks.

    In the section expert you can enter a formula on the suppress function.
    You just need something to check against if it is section name you say
    {section name} ="Suppressme"
    I have used it more in drill level to display headers based on how far you have drilled into a report.
    Hope this helps
    Eric
    Via Christi Health System

  • How to show the break totals and NOT the report totals in an SQL report

    APEX 4.0.1
    In an normal SQL report (Not interactive) with a break applied on the first column, how do you just show the break totals and NOT the extra full report totals?
    Next, Is it possible to display only some of the row totals and not for all columns that have the sum option checked against them?
    PaulP

    PaulP wrote:
    APEX 4.0.1
    In an normal SQL report (Not interactive) with a break applied on the first column, how do you just show the break totals and NOT the extra full report totals?Instead of using the APEX break feature, try doing all of this in the query using <tt>GROUPING SETS</tt> or <tt>ROLLUP</tt> to get the break rows, and <tt>GROUPING_ID</tt> in the <tt>HAVING</tt> clause to suppress the unwanted rows.
    Next, Is it possible to display only some of the row totals and not for all columns that have the sum option checked against them?Don't really understand what's meant here?

  • Sub totals based off the value of a dimension

    Hi,
    I have a requirement to apply sub totals to a dimension at certain levels of a hierarchy.
    From what we've implemented, the typical Level-Based Hierarchy has been replaced by a Flat Hierarchy, so instead of accounts appearing at different levels and in different columns (I.E Level 31, Level 30, Level 29 ... ), they appear in 1 single column. A seperate column called Node Depth determines the level at which these accounts sit.
    Essentially, I just want to show sub totals for values 2 and 3 in the Node Depth column.
    Is there a way to do this in OBIEE? I've only been able to get ALL subtotals to appear.
    Thanks

    Hi Chris,
    You can either use the FILTER...USING... function in answers or you can create distinct, filtered LTSs in the RPD which will then represent your node depth. I.e. you'd have, in your example, 8 LTSs with differing fragmentation content of "Node Depth" = 1 ... = 8

  • How to calculate a total based on the expense category?

    If i am keeping a ledger for each month in a seperate table, with expense categories like gas, groceries, work expenses etc... Am i able to, in another table, run a total that automatically updates everytime i choose that specific category. So at end of month i can see total I spent on each category?

    tlanghauser,
    I would create a 14 column table headed 1) Category, 2-13) the twelve months (Jan-Dec), and 3) Total. Then, each row would contain one of the categories. Be careful to spell these categories exactly as in the monthly tables.
    The basic formula for each cell is: =SUMIF(Jan :: Category,$A2,Jan :: Cost)
    (Note comma between $A2 and Jan)
    and, of course, the Total is: =SUM(B2:D2)
    This approach not only give your totals to-date, but an analysis of expenses by month.
    pw

  • Hiding sub total values in the ALV o/p

    Hi,
    I have a requirement wherein i have to display some fields for sub total based on the sorting field.
    I my report, i have G/L Account, GR value, IR value, Amt in Doc Curr and Doc currency.
    Initially, i have to do the subtotal based on G/L account. For e.g. If we have two G/L account 1 and 2, then after the G/L account 1 and G/L account 2, i have to display the subtotals for GR value and IR value. This part is aboslutely working fine.
    Now, In one G/L account, we are having multiple currencies. Suppose G/L account 1 has USD and EUR. Now within the G/L account 1, i have to display the subtotal for Amt in Doc Curr based on the currency key, but when i am passing this field to slis_sortinfo_alv, it is calculating the subtotals for GR value, IR value, Amt in Doc Curr.
    Here, i need to hide the subtotal values for GR value, IR value.
    Any pointers to this will be highly appreciated.
    Thank you.

    Hi,
    I have a requirement wherein i have to display some fields for sub total based on the sorting field.
    I my report, i have G/L Account, GR value, IR value, Amt in Doc Curr and Doc currency.
    Initially, i have to do the subtotal based on G/L account. For e.g. If we have two G/L account 1 and 2, then after the G/L account 1 and G/L account 2, i have to display the subtotals for GR value and IR value. This part is aboslutely working fine.
    Now, In one G/L account, we are having multiple currencies. Suppose G/L account 1 has USD and EUR. Now within the G/L account 1, i have to display the subtotal for Amt in Doc Curr based on the currency key, but when i am passing this field to slis_sortinfo_alv, it is calculating the subtotals for GR value, IR value, Amt in Doc Curr.
    Here, i need to hide the subtotal values for GR value, IR value.
    Any pointers to this will be highly appreciated.
    Thank you.

  • Break Total and Section Totals

    Hi,
    I have a webi report which consist of s section and a break. The report also does a sub total by break and then section. At last we also show grand total.
    The report has section of fleet center.
    The report has break on driver name.
    The report is in drill mode and has drop downs on fleet name and driver name.
    From the drop down menu when I select a particular driver to view information-- the webi shows :
    Totals by that driver ( there is a break on this field)
    Totals by that fleet ( there is a section on this field)
    and Grand total :
    Since I have selected a single driver information to view ---all the three totals comes out to be same .
    The requirement is to hide the other two totals when we select a particular driver information from the drop down so that we only show the driver level totals. I am looking out for a way to hide section and grand totals when we select a particular driver .
    Thank You,

    Hi Wavery,
    Thank you for your response. I tried with the property when section is empty checkbox. In my case I still have  a section value. My section is not empty. Its just that when I select only a particular driver the totaling information is repeated twice once at the break level, section level and grand total.
    I am looking at ways to hide the section total and grand total when we select a particular drive from the drop down so that the redundant information is avoided at section and grand total level.
    Let me know if there is a way out on this.
    Thank you,
    boe user.

  • Line Total depend upon the weight of the Item

    Hi Experts,
    I need a line total based on the weight and unit price of the quantity not on the quantity.
    And If I do the updating at line total value than discount change into negative.
    Please do the needful action. How we can accomplished this issue.
    Regards
    Amit Tyagi

    Hi
    Atyagi
    So when you are entering data in the document
    example
    Quantity  100 Tonne
    Unit Price  250 Rs.
    Line total  25000 rs
    That means it is calculating on weight only.
    What you are getting in the line total ?
    Ashish Gupte

  • Posting 'Total-Based Invoice Reduction' in MIRO

    Hi,
    You can use post invoices containing variances using :
    u2022     Total-Based Invoice Reduction
    u2022     Total-Based Acceptance
    'Total-Based Acceptance' can be posted by selecting 'Edit --> Accept difference and post' on MIRO screen.
    But how can I post the 'Total-Based Invoice Reduction' on MIRO screen.

    Hi Kapil,
    Follow below steps,
    at the item level:
    In the Correctn ID field, choose Vendor Error: Reduce Invoice.
    The system opens the Invoice Amount Acc. to Vendor field for input.
    In the Invoice Amount Acc. to Vendor field, enter the amount as listed by the vendor, which is higher than the value the system displays.
    Choose Enter and finish entering the invoice as usual.
    Thanks and regards
    Kedar

  • How to show/hide total based on selected column in column selector

    Hello,
    Is there a way to show/hide the total based on what column is selected in the column selector? Or alternatively to hide the total based on the column selected? I'm using OBIEE 10g.
    Basically, I have a pivot table with a handful of row variables and one measure. Then I allow the user to select the column variable. The default is to have nothing, which I have achieved using the hidden/dummy column trick (Re: How to add new columns by using Multiselect However, if my pivot table is set to have a total, I now get 2 columns that are the same. When the user selects any other choice (e.g. gender), I would want to see Male, Female and the total. Something like this:
    Default:
    Count
    East 10
    West 20
    Total 30
    Gender:
    Male Female Total
    Count Count Count
    East 6 4 10
    West 14 6 20
    Total 20 10 30
    Any thoughts?
    Thanks!

    I recommend using view selector instead of column selector

  • Whether its possible for calculating Grand total the Top 20 records?how?plz

    Hi Experts,
    could you please let me know that whether the Grand total can be calculated by selecting the Top 20 records from the table.
    please....its urgent......

    I agree with Christian, we need additional clarification.
    If you are looking for a report which shows only the Top 20 records and a Grand Total, here are the steps you follow:
    1. From the Criteria tab in Answers, create a filter on the column you wish to show only the top 20 records.
    2. Set Operator to - "Is in top"
    3. Set Value to - "20"
    From there - go to the results tab. Locate the data column you would like to "count" and select the "total by" button. (Looks like an E)
    Hope this helps. If you are looking for something else, please provide us with a more detailed explanation.
    Thanks.

  • Grand total level of the percentage column giving value from the first row of column

    Hi Guys,
    I have a requirement like to show the percentage value which the calculation of two columns , in the grand total level .
    I think it can be achievaable by giving the aggregation rule for that column as Server complex Aggregate .
    eg.
    Fiscal Year  Department  subdepartment   Total cost     Sub Department cost     % cost
    2011           Edu             Books                 500              50                               10
    2011           Edu             Note Book           200            100                                50
    2011           Edu             Furniture             300             30                                 10
    2011            Edu                                      1000           180                              18
    Grand Total
    Ideally it should come like as above ..but the problem with me that ,it showing correct value for  all the rows ,but at the grand total level it's taking the value of % cost from the first row . like below..
    2011           Edu                                   1000                  180                         10
    Grand Total  
    I have calculated the % cost column in the answer itself  as (Sub Department cost /Total Cost )
    where the
    Aggregation rule for the columns given are
    Total Cost - Sum  ,Sub Dep Cost -  Sum, % Cost - Server Complex Aggregate
    So plz suggest me any Idea to achieve this ..Thanks in advance.

    Give the agg. as avg for % field.
    Best of Luck,
    Kashi

  • Calculating total discount at the row level

    Hi,
    I want to determine the total discount amount for all of the invoice row levels by summing the row totals that have the same discount % and then multiplying that total by the row discount percent.
    Example:
    Lets say there is an invoice with 3 line items
    Qty     ItemCode     Price    Discount%
    2         A                $30            10
    2         B                $20            10
    2         C                $15             5
    I want to figure the total for the first 2 lines (because they have the same discount amount) by multiplying the quantity (230)+(220)=100 and then calculating the discount from this total. (100) * (.10) = $10 and then calculating the discount for the third line item ((215).05)=1.5. This brings the total discount amount to $11.50.
    Below is what I have drafted for a query so far.
    Select
    //For each grouping of items with the same discount %
    (SUM ((T0.Quantity * T0.PriceBefDi)) * DiscPrcnt)
    FROM INV1 T0 WHERE T0.DocEntry=$[OINV.DocEntry]
    Any ideas?
    Thanks,
    Luke

    Gordon,
    I was thinking that I would have to use a group by (grouping on the discount %) statement or possible a sub-query to accomplish this. The group by statement would replace the commented section. "//For each grouping of items with the same discount %"
    I will work on this query some more and post my results if I figure out a way to accomplish this.
    Thanks,
    Luke

  • How to put Total Amount only on the section last page?

    I have been working on oracle purchasing report. I have used <?for-each@section:G_HEADERS?>. So report is paged based on new PO number. However, I have put a total amount on footer section. If the report with one specific PO number haas more than one page, for example, total page as 3, I'd like total field shows "Continued" on page 1 and 2, only list the total number on page 3. Does anyone know how to do that? The logic will be something like:
    if (currentPageNum < sectionTotalPage), then 'Continued', else <?TOTALAMT?>. However, I don't know how I can get currentPageNum and how to get sectionTotalPage.
    Edited by: user638845 on Apr 20, 2010 12:38 PM
    Edited by: user638845 on Apr 20, 2010 12:47 PM

    Hello,
    thank you for your reply, but the situatiation is the following:
    I have a dynamic form with two tabels, both of them are included into two separated subforms. And because I do not know how many lines will have each of them I have no clue how to force Designer to display the footer (or any object) at the very buttom on the last page only. I already included the footer into separated subform before I asked the question, but the problem is, that the footer is not displayed at the very buttom of the page, but directly behind the second tabel (subform). So it can happen that the second tabel will end at the top of the last page, it can have only 5 lines on the last page and in this case the footer will be displayed at the top or in the middle of the last page, not at the very buttom. This is my problem.
    Thank you once again for any suggestions.
    Best regards,
    Jan Zahradnicek

Maybe you are looking for

  • System error message and application crash - ModName: lvrt.dll Offset: 00080a6a

    I'm running into an error message which is proving particularly difficult to debug. After my built application has been running for some time, a windows system error will pop up telling me my application has done something bad and needs to be shut do

  • Rotating text in PDF

    Hi there, For some of my work, I'm trying to create a bunch of diagrams and graphics of different kinds directly in PDF. I've written a little Python library to help me do this. The spec is very easy to read, kudos for that! However, I can't figure o

  • My ipot is not playing

    My classic Ipot is not playing

  • I am trying to register on windows azure using credit card and getting some problem.

    Hi, I'm trying to register on the Windows azure and everything works fine until I get into the Payment Information (Step #3) screen. I'm trying to pay with my Master Card  but I receive the following error message: We can't authorize the payment meth

  • Standard function close Alt-F4 in modal dialog box

    hi, does anybody know how to activate the standard functions eg "close window" (Alt-F4) or terminate transaction in a modal dialog box (a dynpro-type modales Dialogfenster(in german)) eg the flying window of the system-status. i looked in the status