Grand total on a calculated item

Hi,
I have a crosstab report in discoverer plus 10g. I need to show total at the bottom for two calculated columns, report looks something like below
     COMPANY     Beginning Bal     Ending Bal     Net Amount
     1457     $35,467.90      $39,875.87      $359
     -     -     -     $453
     -     -     -     $564
     -     -     -     $347
     -     -     -     $234
     1568     $65,893.56      $76,594.87      $674
     -     -     -     $564
     -     -     -     $536
     -     -     -     $538
     -     -     -     $364
     -     -     -     $392
Grand Total                    
Net amount is a datapoint, but the beginning balance and ending balance are the calculated items in the report. is it possible to show the total for these calculated items? Please let me know if this is possible.
Thanks,
Nivas.

Hi,
Thanks for the reply.
I have tried with cell sum but it is not displaying any total.
beginning balance is a calculated item which is not based on any aggregated function
beginning balance =
CASE WHEN "ROW NUM" = "Max Row Num" THEN "worksheet".Beg Bal ELSE TO_NUMBER('') END
same is the calculation for ending balance.
I have account, company, beg bal, end bal, net amount to be displayed in the report.
when I do cell sum by company every thing is fine, i get the totals displayed, but when i try with account then no totals are displayed in the report.
please let me know if I am missing some thing.
Thanks,
Nivas.

Similar Messages

  • Can we get subtotal and grand total by own calculation in a hierarchy ALV?

    Can we get subtotal and grand total by own calculation in a hierarchy ALV? I can get them by setting DO_SUM = 'X' by standard summation, but now I need to do my own summation on subtotal and total, can I?

    Can we get subtotal and grand total by own calculation in a hierarchy ALV? I can get them by setting DO_SUM = 'X' by standard summation, but now I need to do my own summation on subtotal and total, can I?

  • Grand total of calculated column and case function in the same calcultd col

    Hi Gurus,
    In 9.0.4, the Grand total of the calculated column is not working as per the CASE function. It is taking the ELSE formula for all records. Is there a way to correct it.
    Thanks,
    Pooja

    Hi Pooja,
    In the totals ,which u mentioned try using cell sum function instead of sum function.
    Manikandan
    GKB Consulting Inc.,

  • 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.

  • How to get the Grand Total in Module pool Screen

    Hi Frds.
         How to get the Grand Total in Module pool Screen
    Example i have 10 different materials
    for each matarial has different moving . But in my case matarials is doesnt matter here
    10 material Moving Average price to do Frand total and display in one column...
    Please Help me out Frds.
    Regards,
    Kabil

    Hi
    You need to calculate the total in a module of PAI (or PBO) event:
    PROCESS PAI.
       LOOP.....
       ENDLOOP.
      MODULE CALCULATE_TOTAL.
      MODULE CALCULATE_TOTAL.
        GRAND_TOTAL = 0.
         LOOP AT ITAB,
            GRAND_TOTAL = GRAND_TOTAL + ITAB-PWB.
        ENDLOOP.
    ENDMODULE.
    In this way the grand total will be calculated as soon as the user presses enter or another command.
    You can't insert the calculation in the loop of table control, because this loop runs the visible lines only, so it's better to calculate the total out of those loop,

  • Grand Total issue, it won't display...

    Hi,
    Discoverer Desktop 4.1.44
    I have a simple table work sheet showing accno, name, address, balance
    Balance is a calculation, a case statement, so is not held in the database, and it is worked out in the worksheet.
    I want to create a grand total at the bottom of the balance colum but it simply will not show. So if I have 4 records with a balance of £25 each I wpould like to see a grand total at the bottom of £100 but it won't show!
    Is this because disco cannot show a grand total on a calculated field and if so is there any way around it?
    Thanks,
    rg

    Hi,
    You can do a grand total on a calculated column,by just going to tools/totals and then select the column and do a sum and clicking the option at the bottom.There comes your grand total in the report.
    Derry Discoverer 4.1 is outdated and there are many issues concerning it.So better suggestion is upgrade it to the latest version of discoverer 10g where many issues are solved.You can search this forum for upgrading to 10g
    Best Wishes,
    Kranthi.

  • Grand Total

    Hi,
    I am using grand total in a tabular report in answers. I have set the aggregation rule to SUM in rpd for the column I would like to total. I am finding that the grand total is not calculating on one specific column, the aggregation rule is set to SUM. Also there were some null fields, I have used IFNULL to set them to zero but the grand total now shows 0.
    Can anyone help?
    Thanks

    Hi, I am using 10.3.4.1. I am adding <ReportAggregateEnabled>true</ReportAggregateEnabled> to the instanceconfig.xml file to see if that has an impact.
    The parameter has resolved the grand total problem
    Edited by: sliderrules on 04-Jul-2012 01:26

  • Measure Grand total is wrong

    Hi, 
    I found it is wrong for grand total of measure / calculated field? Here is my sample and data: 
    Here is the data:
    TotalForecast:=CALCULATE(SUM([Qty]), Table1[Data Type]="Forecast")
    TotalSales:=CALCULATE(SUM([Qty]), Table1[Data Type]="Sales")
    Diff:=[TotalSales]-[TotalForecast]
    ActualDemand:=if([Diff]<0,[TotalForecast],[TotalSales])
    Is there something wrong for my expression?
    Thanks
    Wilson

    The "problem" is that measures actually calculate individually for each cell in a pivot.  What that means is that technically the grand total row in a pivot is not related to the rows above it.  Intuitively, it seems like it is related
    because often times the grand total is what you expect.  This can be a little confusing at first but there are some blog posts out there that do a good job of explaining the concept.
    Your current measure is looking at the Diff only as it pertains to the grand total row.  It sees 9 and therefore returns the value of TotalSales.
    The quickest fix is probably just to add one more measure that forces your current measure to evaluate itself in the proper context:
    ActualDemand2:=
    SUMX(
    VALUES(Table1[Product Type]),
    [ActualDemand]
    In PowerPivot functions that end in "x" are called iterators.  They let you change the granularity of a calculation by cycling thru the individual rows of a table you specify.
    In this case, the table I am using is VALUES(Table1[Product Type]), which is a single column table containing the unique values of the Product Type.
    Now your measure evaluates the sum for each Product Type (which ends up being the 4 results showing in your pivot table above for each Product) and adds those 4 results together for Grand Total.

  • 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

  • Calculated members In Excel 2013 - subtotals and grand totals missing

    I am using Excel 2013 to query an SSAS OLAP cube. I have selected 2 dimensions in the row area, and I need to consolidate specific combinations of members values of each dimension. To do this I have created calculated members which combine sets of members
    of each dimension, as in the code example below.
    These members produce the desired results except that I do not have any subtotals on a 3rd dimension in the row area (Internal segment name, cf. image below), nor grand totals in the pivot table.
    I am fairly new that MDX and would appreciate any advice on how to correct the code below.
    Code for the member [Manufacturing Item].[Item Type].[All].[Cards Contact]
    AGGREGATE(
    CROSSJOIN(
    {[Manufacturing Item].[Item Type].&[CARD BODY OTHER],
    [Manufacturing Item].[Item Type].&[CARD BODY],
    [Manufacturing Item].[Item Type].&[SMART CARD]},
    [Techno cards contact]

    In my previous post, the solution happened to work because the combination of the calculated members was equal to the whole dimension. But I found a cleaner method: subtotals need to be calculated for the combination of all the calculated members, so the
    logic is to create a set that contains all of them. Then aggregate the measure for this set only for subtotals. To do this, I have created the following calculated measure: 
    IIF(
    ISLEAF([Manufacturing Item].[Item Type].CurrentMember),
    [Measures].[Manufacturing Volume],
    SUM({[CalcMembers]},[Measures].[Manufacturing Volume])

  • Percentage calculation at Grand Total Level

    Hello,
    I have issue in calculating the percentage at grand total level. I have three measures (A count, B count and Total count). These measures are defined in rpd with aggregation rule as sum. In answers i am calculating A % as 100*A count/Total Count. I have defined the aggregation rule for this percentage column as default. I am able to get correct % results for sub total level but getting wrong percentage values when Grand Total level is added. Going through some posts in this forum, people have suggested to enable this tag in instance config file.
    <ReportAggregateEnabled>true</ReportAggregateEnabled>
    After adding this tag, i am able to get correct results. The issue is when there is no data i am able to see table view with all columns having blank values even though i have defined the no result view.
    Please Help

    HI,
    For your CKF set exception aggregation as summation based on the last most characteristic in the row in the reference(as per the example it is product)
    Regds,
    Shashank

  • 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

  • PDF Proposal, Ala Carte Items, with a Grand Total Automatically Generated

    I need to create a proposal containing check boxes so a client can choose projects ala carte and see a grand total for his selections at the bottom.  I am using acrobat x pro.  I am a novice, and don’t even know where to write a javascript, or how to assign a value to the check boxes. Thank you for your help.

    Courtney Wilkins,
    For future reference, the proper Adobe Forum to post such questions is the
    LiveCycle Designer ES forum.
    Have a look at the "Purchase Order -- Dynamic Interactive" sample that ships with Designer. You'll find it in the following folder:
    {Designer_install_location}\{version}\EN\Samples\Forms\Purchase Order\Dynamic Interactive\Forms
    It's a great example of a dynamic table with various sums.
    As for the "item number", I'm assuming you mean the row index. If that's the case, then lets say you have a cell in your repeatable table row named "RowIndex" which is a text field. Also assuming you're running Designer 8.0 or later, you would add the following script to the row's IndexChange event (in JavaScript):
    RowIndex.rawValue = (this.index + 1) + ".";
    For more info, you could try the following posts and comments on my blog:
    Calculate Scripts and
    Instance Manager Object Reference.
    Stefan
    Adobe Systems
    More answers at
    Stefan Cameron on Forms.

  • Grand Totals on a column of a calculation

    I’m trying to sum up a column that is a calculation. When the grand total appears ,it just does the calculation for the line and does not sum up the actual numbers in the column. Any way to fix this
    Thanks

    Pr. Ea     Qty     Value     LDP     Ttl LDP     Landed     Ttl Sell
    18.45     1056     19483.2     $18.5     19536     35     36960
    22.8     613     13976. $22.15     13577.95     44.75     27431.75
    20.625     1669     33459.6 $20.32     33922.425     39.875     66551.375
    Thanks for your quick reply
    the example above shows that the lines calculate correctly , however, discoverer is taking the total line and making a calculation instead of adding the numbers up in the column.
    I tried to look for Cell sum , but do not have it . I am working with Discoverer 4
    thanks

  • Grand totals and calculation on total in Narrative view

    Hi There,
    Is it possible to do calculations on the total values computed in the table in Narrative view.
    Iis there anyother way.
    Regards
    Ashish

    Hi,
    You told that you need to do manipulation on grand total so,add dummy columns and put grand total calculations on them and do manipulations on them to get manipulated value.
    Do you want to show manipulated values in narrative view?
    Regards,
    Srikanth

Maybe you are looking for

  • Namespace Errors System Error 1355 - Specified domain does not exist or could not be contacted

    Ok, lets start with my environment: dc1 - windows server 2003 r2 dc2 - windows server 2012 r2 fs1- windows server 2003 r2 fs2 - windows server 2012 r2 Namespace - \\<fqdn>\data  (the fqdn would be like contoso.microsoft.com) I am in the process of mi

  • Can I delegate a zpool to a non-global zone?

    I see I can delegate/assign a zfs dataset or a zfs volume to a zone using zonecfg. I want to know if it is supported to delegate an entire zpool. I have done it and it works, but is it supported. I seem to have problems with lucreate when I do this.

  • SLD Web AS Java

    Dear Expert, I accidently deleted the technical system for Web AS Java in the SLD. I am trying to re-create it back, but there are lots of information that i am not sure about it. Anyone have the configuration document or show me where can i get thos

  • PLEASE help. Return to Quiz is creating problems

    Thank you for reading this question. I am using Captivate 6 with all updates. I have a pretty lengthy tutorial.  I wanted to implement remediation, which means the learner, when at the quiz, will be sent back to the slide with the correct answer, the

  • Does Parallels Really Work?

    I'm at my wits end. Bought Parallels at the Apple store yesterday and could not get it to install from the disk. After a lot of frustration, went to the Parallels download site and started with the latest build. Parallels installation completed, cann