Grand Total with Count Distinct

Hi,
I want to use grand total to count distinct my data,
I had physical map ActivityId into my fact and set count distinct to its aggregation rules.
then when i create my report the anwser is OK.(count distinct ActivityID). But in grandtotal is sum.
The aggregation Rules in BI Awnser is set it Default.
[Pic >> http://image.ohozaa.com/i/866/tablecountdisctinct.jpg ]
i don't know why , i try to set many thing but it isn't work
Thank ,Regard.
And sorry about my English Language.

couple of things required here..
how did you build this measure in rpd?
Is that physical mapped or logical mapped column(derived column)?
Map it as physically and apply aggregation rule on top of it to: CountDistinct
Now, pull the column in front-end it has to give you proper sub-total/total..
Or, Try putting the formula in front-end in fx of the column and try..

Similar Messages

  • Incorrect GRAND TOTAL (with COUNT DISTINCT)

    Hi,
    I'm getting wrong results in the GRAND TOTAL of a COUNT DISTINCT measure column.
    I have 5 distinct customers in Paris and 10 distinct customers in NYC, I want the grand total to retrieve the sum of both, that's 15.
    But OBIEE is calculating the distinct customers for all cities, so if there are customers in both Paris and NYC the result is wrong.
    This is the result I'm getting:
    City Number_Distinct_Customers
    Paris 5
    NYC 10
    GRAND TOTAL 12
    12 is the number of all the distinct customers.
    The correct GRANT TOTAL should be 5+10=15
    Thanks
    Regards

    So just as a weird question...from a business standpoint, what does the "15" mean?
    It's not a count of distinct customers, which is what this measure is supposed to be.
    If I were to come up with a business description for what's being described, it's "a count of distinct customers by city....summed up so that it is no longer a count of distinct customers". What and/or how exactly would anyone use such a number?
    Not trying to be a pain, just trying to figure out how this would be used.
    Thanks,
    Scott

  • Grand Total on Count Distinct - Crosstab

    Hello
    I use Discoverer 9.0.2.39.01.
    On a crosstab layout: the data point is a count distinct item ,
    I use Grand total at bottom and also Grand total at right.
    Both totals are displayed correct but the cell combining between them is blank.
    The join between the two tables is one to one and I use NVL on the count distinct item. how can I overcome the problem and cuase th blank cell to display the result of both totals?

    I'd just reiterate a couple of things to try.
    1. reverse the join - I realize you mentioned it seems to work for simple total, but this has to be one of the most popular errors
    2. check for NULLs in the data (ie: to_number(NVL(item, '0')), etc.
    If still not working, then logically, what would be causing a count of distinct items not to display (ie: NULL would explain it as I would think the COUNT would screw up with not knowing how to handle a NULL).
    By why count(item) would work and count_distinct(item) wouldn't is an interesting problem.
    Russ

  • Totals for Count Distinct

    I need to display totals for Count Distinct measures. I want to display these above a table view.
    We have done this before by creating hidden columns with level-based measures for totals and then displaying the first row of these hidden columns in a narrative view above the table. We have also used MAX(RSUM()) within requests, sometimes.
    These solutions won't work, because I need Count Distinct() measures (so simple sums and counts will give inaccurate results) and I may navigate to the request with filters at different levels (so LBMs won't work, either).
    The only solution I can think of is to have LBMs for each level and have duplicate dashboards that differ only in which variation of this request with which level's LBMs are displayed for the totals. That seems like too much of a kluge. There should be a simpler, better way to do this.

    I was trying to reproduce your issue with "Sample Sales" - but can't figure out which columns you'd like to see. Can you please post couple columns - and which count distinct you need? That would make it easier to reproduce the issue.
    I was thinking that it might be difficult to pull it in 1 report (since you can't completely exclude columns in table view). I have two suggestions:
    a) did you try to create a separate report and combine it with existing one (same Dashboard page)?
    b) did you try Pivot Table and its calculated column feature? I've had some success with it when I needed to combine measures at different levels on the same report (i needed to see daily totals for 3 specific days, monthly values for specific months, and couple annual totals). This way you could have it on the same report.
    I just tried A. And it worked (again, not sure if this is applicable to your situation). I used "Server Complex Aggregate" in column options. The formula is showing: SELECT "D5 Employee"."E01 Employee Name" saw_0, COUNT(DISTINCT "D1 Customer"."C1 Cust Name") saw_1 FROM "Sample Sales" ORDER BY saw_0
    Edited by: wildmight on Oct 30, 2009 9:35 AM

  • Total on Count Distinct does'nt display Sum

    Hi
    I use Discoverer 9.0.2.39.01.
    In a crosstab layout, the datat point is a calculation item which perform Count_Distinct.
    I try to define a Grand Total (right and bottom) but I achieve no data.
    any advices?
    thanks

    I'd just reiterate a couple of things to try.
    1. reverse the join - I realize you mentioned it seems to work for simple total, but this has to be one of the most popular errors
    2. check for NULLs in the data (ie: to_number(NVL(item, '0')), etc.
    If still not working, then logically, what would be causing a count of distinct items not to display (ie: NULL would explain it as I would think the COUNT would screw up with not knowing how to handle a NULL).
    By why count(item) would work and count_distinct(item) wouldn't is an interesting problem.
    Russ

  • Grand Total with few NULL values in column.

    Hi All,
    In my requirement, I have few null values in the column and I have to show those null values as it is( can't use IfNull function).
    Can I able to grand total in such scenerio..?
    I am using OBIEE 11.1.1.3
    Thanks,
    Archie

    HI Archie,
    Are you using the "Grand Total" option that comes with the view?.I don't think there will be any issue , it will ignore the null values while calculating the total.
    Rgds,
    Dpka

  • Query with COUNT DISTINCT

    Hello,
    We are in 10g ...
    I have to compute COUNT DISTINCT of customers, per month, and YearToDate.
    Per month, I think I found it out ...
    On the year to date ... I have no clue at all ... and I hope that you could provide me with a solution or advice...
    Here is my example :
    month cust
    200711 A
    200711 B
    200712 A
    200712 C
    200801 A
    200801 B
    200802 A
    200802 C
    200803 A
    200803 C
    200803 A
    200804 D
    I would like to get this :
    month cust_count cust_count_YTD
    200711......2................2 (because cust A and B)
    200712......2................3 (because cust A and C)
    200801......2................2 (Back to 0 at the beginning of each year)
    200802......2................3 (because cust A and C)
    200803......2................3 (because cust A and C, and A but count distinct)
    200804......1................4 (because D)
    Thank you in advance,
    Olivier

    Oh This is an interesting question.
    create table custTable(yyyymm,cust) as
    SELECT '200711','A' FROM dual UNION all
    SELECT '200711','B' FROM dual UNION all
    SELECT '200712','A' FROM dual UNION all
    SELECT '200712','C' FROM dual UNION all
    SELECT '200801','A' FROM dual UNION all
    SELECT '200801','B' FROM dual UNION all
    SELECT '200802','A' FROM dual UNION all
    SELECT '200802','C' FROM dual UNION all
    SELECT '200803','A' FROM dual UNION all
    SELECT '200803','C' FROM dual UNION all
    SELECT '200803','A' FROM dual UNION all
    SELECT '200804','D' FROM dual;
    select distinct yyyymm,cust_count,
    sum(WillSum) over(partition by substr(yyyymm,1,4) order by yyyymm) as cust_count_YTD
    from (select yyyymm,count(distinct cust) over(partition by yyyymm) as cust_count,
          case Row_Number() over(partition by substr(yyyymm,1,4),cust order by yyyymm)
          when 1 then 1 else 0 end as WillSum
            from custTable)
    order by yyyymm;or
    select yyyymm,count(distinct cust) as cust_count,
    sum(sum(WillSum)) over(partition by substr(yyyymm,1,4) order by yyyymm) as cust_count_YTD
    from (select yyyymm,cust,
          case Row_Number() over(partition by substr(yyyymm,1,4),cust order by yyyymm)
          when 1 then 1 else 0 end as WillSum
            from custTable)
    group by yyyymm
    order by yyyymm;
    YYYYMM  CUST_COUNT  CUST_COUNT_YTD
    200711           2               2
    200712           2               3
    200801           2               2
    200802           2               3
    200803           2               3
    200804           1               4similer threads
    Rolling unique person count by month over a time period
    [SQL] how can i get this result....??(accumulation distinct count)

  • How to display subtotal and grand total with a top 10 condistion ?

    Hello,
    I would like to display a Top 10 list with subtotal for Top 10 and grand total for all the lines.
    I succeed to display top 10 subtotal with "calculations/total" parameter but my question is How to display also the grand total for all the lines ?
    Thank you in advance.
    Best regards
    Nicolas

    Calculate Results/not defined gives grand total and calculation / total gives top 10 sum. As far as I know, you can't display both at the same time.

  • SALV Class Grand Total With Text

    Hi,
    I am working on SALV Class. My requirement was to display ALV OUTPUT with Grand Total.
    I am able to display the totals by using AGGREGATIONS, Now i want to display the Grand Total Text (i.e : Work Activity Total).
    Can anyone know the valuble inputs and possibilites.
    Thanks & Regards,
    Srinivas Bhavanam.

    Hi Martin,
    Try to change *" minDigits="1" maxDigits="1"* values from 1 to 2.
    It may help you.
    Thanks,
    Suresh.

  • How to format the Grand Total with condition?

    Dear All,
    I found the XML for Total as below:
    <saw:edgeLayer type="column" columnID="c523314f1e2a401c3">
    <saw:levels>
    <saw:level>
    <saw:displaySubTotal id="t1" subTotalPosition="before">
    <saw:memberFormat>
    <saw:displayFormat>
    <saw:formatSpec wrapText="true" borderColor="#999999" borderPosition="18"/></saw:displayFormat>
    <saw:caption>
    <saw:text>Total</saw:text></saw:caption></saw:memberFormat>
    <saw:dataBodyFormat>
    <saw:displayFormat>
    <saw:formatSpec borderColor="#999999" wrapText="true"/></saw:displayFormat></saw:dataBodyFormat></saw:displaySubTotal></saw:level></saw:levels>
    <saw:memberFormat>
    <saw:displayFormat>
    <saw:formatSpec height="25" wrapText="true" hAlign="center" vAlign="middle"/></saw:displayFormat></saw:memberFormat></saw:edgeLayer>
    And I tried to use some conditional format since I want the Total for Ratio can be shown as 0.0 not 0. Thus, I tried to alter the XML by adding the condition to it.
    <saw:edgeLayer type="column" columnID="c523314f1e2a401c3">
    <saw:levels>
    <saw:level>
    <saw:displaySubTotal id="t1" subTotalPosition="before">
    <saw:memberFormat>
    <saw:displayFormat>
    <saw:formatSpec borderColor="#999999" borderPosition="18" wrapText="true"/></saw:displayFormat></saw:memberFormat>
    <saw:dataBodyFormat>
    <saw:displayFormat>
    <saw:formatSpec borderColor="#999999" wrapText="true">
    <saw:dataFormat xsi:type="saw:number" minDigits="0" maxDigits="0" commas="true" negativeType="redParen"/></saw:formatSpec>
    <saw:conditionalDisplayFormats>
    <saw:conditionalDisplayFormat>
    <saw:formatRule>
    <saw:condition>
    <sawx:expr xsi:type="sawx:comparison" op="equal">
    <sawx:expr xsi:type="sawx:columnRefExpr" columnID="c881e0b4d32235233"/>
    <sawx:expr xsi:type="xsd:string">Ratio</sawx:expr></sawx:expr></saw:condition>
    <saw:formatSpec wrapText="true">
    <saw:dataFormat xsi:type="saw:number" commas="false" negativeType="redParen" minDigits="1" maxDigits="1"/></saw:formatSpec></saw:formatRule></saw:conditionalDisplayFormat></saw:conditionalDisplayFormats></saw:displayFormat></saw:dataBodyFormat></saw:displaySubTotal></saw:level></saw:levels>
    <saw:memberFormat>
    <saw:displayFormat>
    <saw:formatSpec height="25" wrapText="true" hAlign="center" vAlign="middle"/></saw:displayFormat></saw:memberFormat></saw:edgeLayer>
    It shows some Error Message as "DXE compiler error. No table 'GTGT' found in DXE. Source name: DxeAPI. XML: None". It it possible to add some condition for Grand Total? If so, how I alter my XML??
    Thanks a lot!!!
    Best Regards,
    Martin

    Hi Martin,
    Try to change *" minDigits="1" maxDigits="1"* values from 1 to 2.
    It may help you.
    Thanks,
    Suresh.

  • COUNT(DISTINCT) WITH ORDER BY in an analytic function

    -- I create a table with three fields: Name, Amount, and a Trans_Date.
    CREATE TABLE TEST
    NAME VARCHAR2(19) NULL,
    AMOUNT VARCHAR2(8) NULL,
    TRANS_DATE DATE NULL
    -- I insert a few rows into my table:
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Anna', '110', TO_DATE('06/01/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Anna', '20', TO_DATE('06/01/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Anna', '110', TO_DATE('06/02/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Anna', '21', TO_DATE('06/03/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Anna', '68', TO_DATE('06/04/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Anna', '110', TO_DATE('06/05/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Anna', '20', TO_DATE('06/06/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '43', TO_DATE('06/01/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '77', TO_DATE('06/02/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '221', TO_DATE('06/03/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '43', TO_DATE('06/04/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '73', TO_DATE('06/05/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    commit;
    /* I want to retrieve all the distinct count of amount for every row in an analytic function with COUNT(DISTINCT AMOUNT) sorted by name and ordered by trans_date where I get only calculate for the last four trans_date for each row (i.e., for the row "Anna 110 6/5/2005 8:00:00.000 PM," I only want to look at the previous dates from 6/2/2005 to 6/5/2005 and get the distinct count of how many amounts there are different for Anna). Note, I cannot use the DISTINCT keyword in this query because it doesn't work with the ORDER BY */
    select NAME, AMOUNT, TRANS_DATE, COUNT(/*DISTINCT*/ AMOUNT) over ( partition by NAME
    order by TRANS_DATE range between numtodsinterval(3,'day') preceding and current row ) as COUNT_AMOUNT
    from TEST t;
    This is the results I get if I just count all the AMOUNT without using distinct:
    NAME     AMOUNT     TRANS_DATE     COUNT_AMOUNT
    Anna 110 6/1/2005 8:00:00.000 PM     2
    Anna 20 6/1/2005 8:00:00.000 PM     2
    Anna 110     6/2/2005 8:00:00.000 PM     3
    Anna 21     6/3/2005 8:00:00.000 PM     4
    Anna 68     6/4/2005 8:00:00.000 PM     5
    Anna 110     6/5/2005 8:00:00.000 PM     4
    Anna 20     6/6/2005 8:00:00.000 PM     4
    Bill 43     6/1/2005 8:00:00.000 PM     1
    Bill 77     6/2/2005 8:00:00.000 PM     2
    Bill 221     6/3/2005 8:00:00.000 PM     3
    Bill 43     6/4/2005 8:00:00.000 PM     4
    Bill 73     6/5/2005 8:00:00.000 PM     4
    The COUNT_DISTINCT_AMOUNT is the desired output:
    NAME     AMOUNT     TRANS_DATE     COUNT_DISTINCT_AMOUNT
    Anna     110     6/1/2005 8:00:00.000 PM     1
    Anna     20     6/1/2005 8:00:00.000 PM     2
    Anna     110     6/2/2005 8:00:00.000 PM     2
    Anna     21     6/3/2005 8:00:00.000 PM     3
    Anna     68     6/4/2005 8:00:00.000 PM     4
    Anna     110     6/5/2005 8:00:00.000 PM     3
    Anna     20     6/6/2005 8:00:00.000 PM     4
    Bill     43     6/1/2005 8:00:00.000 PM     1
    Bill     77     6/2/2005 8:00:00.000 PM     2
    Bill     221     6/3/2005 8:00:00.000 PM     3
    Bill     43     6/4/2005 8:00:00.000 PM     3
    Bill     73     6/5/2005 8:00:00.000 PM     4
    Thanks in advance.

    you can try to write your own udag.
    here is a fake example, just to show how it "could" work. I am here using only 1,2,4,8,16,32 as potential values.
    create or replace type CountDistinctType as object
       bitor_number number,
       static function ODCIAggregateInitialize(sctx IN OUT CountDistinctType) 
         return number,
       member function ODCIAggregateIterate(self IN OUT CountDistinctType, 
         value IN number) return number,
       member function ODCIAggregateTerminate(self IN CountDistinctType, 
         returnValue OUT number, flags IN number) return number,
        member function ODCIAggregateMerge(self IN OUT CountDistinctType,
          ctx2 IN CountDistinctType) return number
    create or replace type body CountDistinctType is 
    static function ODCIAggregateInitialize(sctx IN OUT CountDistinctType) 
    return number is 
    begin
       sctx := CountDistinctType('');
       return ODCIConst.Success;
    end;
    member function ODCIAggregateIterate(self IN OUT CountDistinctType, value IN number)
      return number is
      begin
        if (self.bitor_number is null) then
          self.bitor_number := value;
        else
          self.bitor_number := self.bitor_number+value-bitand(self.bitor_number,value);
        end if;
        return ODCIConst.Success;
      end;
      member function ODCIAggregateTerminate(self IN CountDistinctType, returnValue OUT
      number, flags IN number) return number is
      begin
        returnValue := 0;
        for i in 0..log(2,self.bitor_number) loop
          if (bitand(power(2,i),self.bitor_number)!=0) then
            returnValue := returnValue+1;
          end if;
        end loop;
        return ODCIConst.Success;
      end;
      member function ODCIAggregateMerge(self IN OUT CountDistinctType, ctx2 IN
      CountDistinctType) return number is
      begin
        return ODCIConst.Success;
      end;
      end;
    CREATE or REPLACE FUNCTION CountDistinct (n number) RETURN number 
    PARALLEL_ENABLE AGGREGATE USING CountDistinctType;
    drop table t;
    create table t as select rownum r, power(2,trunc(dbms_random.value(0,6))) p from all_objects;
    SQL> select r,p,countdistinct(p) over (order by r) d from t where rownum<10 order by r;
             R          P          D
             1          4          1
             2          1          2
             3          8          3
             4         32          4
             5          1          4
             6         16          5
             7         16          5
             8          4          5
             9          4          5buy some good book if you want to start at writting your own "distinct" algorythm.
    Message was edited by:
    Laurent Schneider
    a simpler but memory killer algorithm would use a plsql table in an udag and do the count(distinct) over that table to return the value

  • Grand Totals issue

    Hi Gurus,
    In My RPD we are using "Count Distinct" Aggregate rule for Facts and in Reports I am using Table level "Grand Total" Enable with "Report Based Total(When applicable)"option also checked...It is working fine for some days..but suddenly it is showing Different Grand totals..and as work around for this I changed Aggregation rule at report level to "Sum"...now it is showing correct values..so my question is Is my work around is correct or not because we used "Count Distinct" as aggregation Rule in RPD and in report level we changed it as "sum"...and also I observed Physical sql when using Grand totals it is summing the values like...sum(Count(distinct fact1))....and when i changed aggregation to "sum" at report level also it is summing the values like..sum(count(distinct fact1)..so please suggest, Is my work around is correct or am I doing any mistake like changing aggregation at report level to get grand total correct?
    I am using 10.1.3.4.1...
    I also studied in Release notes as it is a bug in this version for this they suggested work around to use<ReportAggregateEnabled>true</ReportAggregateEnabled> in <serverInstance>tag of instanceconfig file this also not working in my environment...

    Hi,
    I dont' think this is possible for the same measure in a pivot table. Maybe you can use this workaround:
    - create an extra column for the measure with a calculation like:
    CASE WHEN "Base Facts"."1- Revenue" = MAX("Base Facts"."1- Revenue" BY "Products"."P3 LOB") THEN MAX("Base Facts"."1- Revenue" BY "Products"."P3 LOB") ELSE 0 END
    In this example I use the Revenue as the measure. I use the MAX BY function to calculate the MAX value per Product Lob (subtotals per Product Lob in my example). If the max value per product lob is equal to the revenue then the Max value is displayed and otherwise o.
    Add this extra measure to the pivot table and add the grand total with aggregate rule = SUM. If you don't want to see the grand total for the original measure select None instead.
    Hope this helps. I have a screenshot as well but then I need your emailadress.
    Kind regards,
    Quinten

  • % is not getting correctly for the Grand Total Row in OBI10g

    Hi,We have a report in table view with the following structure.
    Name     Target     Act     %Ach
    ABC     100     50     50
    XYZ     200     10     5
    Total     300     60     27.5
    The value for the %Ach Total row should be 20% but in the report it is showing as 27.5.
    any one observed this ,how to correct this??
    Thanks

    Hi,
    To get grand total correctly..configure instanceconfig.xml and put..
    <ReportAggregateEnabled>true</ReportAggregateEnabled> between <serverinstace>..
    refer..
    http://obiee101.blogspot.com/2009/09/obiee-grand-totals-with-calculated.html
    Hope it solves ur problem

  • How to show Grand total values in Chart view....

    Hi,
    I have a crazy req. like i need to show grand totals values also on the chart view along with the normal metrics.
    column Metric1 Metric2
    AAA 10 20
    BBB 30 15
    CCC 20 15
    TOTAL 60 50
    so here i need the values 60 and 50 also also to be displayed in a line graph
    cheers

    Pretty simple to achieve :)
    In your Pivot view, under Rows section where you have column dimensions like AAA,BBB etc...create a new calculated item say Grand Total with function as 'formula' and formula as sum(*). This will give you a new row with totals. Now Chart Pivoted Results and you are done.
    Hope answered

  • Grand Total problem

    I have grand total problem. This is my pivot table.
    A B A/B
    1 10 0,1
    2 4 0,5
    8 3 2,67
    {color:#ff0000}11 17 _3,27_ GRAND TOTAL{color} (0,1+0,5+2,67)
    A - AVG type
    B - SUM type
    How to make obi calculate grand total like this:
    A B A/B
    1 10 0,1
    2 4 0,5
    8 3 2,67
    {color:#0000ff}11 17 _0,647_ GRAND TOTAL{color} (11/17)
    Is that posssible?
    Would it help to add *&lt;ReportAggregateEnabled&gt;true&lt;/ReportAggregateEnabled&gt;*
    in instanceconfig.xml?
    Edited by: Micek on 2009.02.09 12:53

    Conceptually Report Aggregate Enabled should work. Look into this blog article which refers same.
    http://oraclebi.soundvoid.net/2008/10/grand-totals-with-calculated-columns-2/

Maybe you are looking for