Grand total of 2 measures in pivot table

Hi,
I have a requirement to show in a pivot table in which there are 2 measures - Male_count and Female_count. In the column I have Age_group such as 20-30,30-40 etc. In the row I have grade like assistant, manager etc. The requirement is to show column subtotals - total male count & total female count as well the total no. of employees (F+M) across all age groups. Using the column total I get only the sub total part. How can i get the total part?
Look forward to your inputs.
Regards,
J

Grade
25 and under
26-40
40-55
55 and above
Subtotal
Grand total
F
M
F
M
F
M
F
M
F
M
Manager
0
1
1
1
2
2
3
4
7
8
14
Assistant
0
1
1
1
2
2
3
4
7
8
14
Developer
0
1
1
1
2
2
3
4
7
8
14
Using OBIEE pivot features I am able to obtain upto the Subtotal but I am not getting the Grand total.
Hope this pivot gives an idea of what I am trying to implement.
Thank you.

Similar Messages

  • How to set Grand Total of a Measure when its aggregation rule is Max in Logical Layer

    Hi
    I have a Measure Column (Budget) and in Logical layer the aggregation rule is set as (Max) which looks like Max(Budget). But now it is included in the report and when my client is trying to see its grand total, it is giving the Max Budget figure of the report rather than giving the total sum(grand total).
    Kindly share some ideas in achieving the grand total without disturbing the actual aggregation of the measure.

    Thank You for your reply.
    In my case i don't have a problem with aggregation for Budget Measure(max(Fact_XXKC_SHIP_TO_BUDGET_CAT_F.SALESREP_BUDGET_YTD)). This is the aggregation rule applied on the Salesrep Budget YTD.
    Now i created a report with columns
    Salesrepresntative(Dimension),, Sales Invoices(Measure1),, SALESREP_BUDGET_YTD(Measure 2).
    In the above report the values are perfect, but when we used Grand total option at ROW level in table view, the grand total of Measure1 is cumulative of all the rows, but the Grand total of SALESREP_BUDGET_YTD (measure2) is the max of all the columns.
    What i require is the Grand total of SALESREP_BUDGET_YTD (measure 2) should be cumulative of all the columns.
    I have shared my SQL query, kindly verify it and share any idea.
    select sum(case when T97600.W_XACT_TYPE_CODE = 'Chargeback' then T93664.NET_AMT * T93664.GLOBAL1_EXCHANGE_RATE end ) as c1,
      sum(case when T97600.W_XACT_TYPE_CODE = 'Credit Memo' then T93664.NET_AMT * T93664.GLOBAL1_EXCHANGE_RATE end ) as c2,
      sum(case when T97600.W_XACT_TYPE_CODE = 'Debit Memo' then T93664.NET_AMT * T93664.GLOBAL1_EXCHANGE_RATE end ) as c3,
      sum(case when T97600.W_XACT_TYPE_CODE = 'Standard Invoice' then T93664.NET_AMT * T93664.GLOBAL1_EXCHANGE_RATE when T97600.W_XACT_TYPE_CODE = 'Invoice Cancellation' then T93664.NET_AMT * -1 * T93664.GLOBAL1_EXCHANGE_RATE end ) as c4,
      T315597.XXKC_RESOURCE_NAME as c5
      from
      W_CUSTOMER_LOC_USE_D T315597 /* Dim_W_CUSTOMER_LOC_USE_D_Status */ ,
      W_SALES_INVOICE_LINE_F T93664 /* Fact_W_SALES_INVOICE_LINE_F */ ,
      W_XACT_TYPE_D T97600 /* Dim_W_XACT_TYPE_D_Sales_Ivclns */
      where ( T93664.XACT_TYPE_WID = T97600.ROW_WID and T93664.DELETE_FLG = 'N' and T93664.XX_SHIP_TO_LOC_USE_WID = T315597.ROW_WID )
      group by T315597.XXKC_RESOURCE_NAME
      ) D1 full outer join (select max(T313184.SALESREP_BUDGET_YTD) as c1,
      T315597.XXKC_RESOURCE_NAME as c2
      from
      W_CUSTOMER_LOC_USE_D T315597 /* Dim_W_CUSTOMER_LOC_USE_D_Status */ ,
      XXKC_SHIP_TO_BUDGET_CAT_F T313184 /* Fact_XXKC_SHIP_TO_BUDGET_CAT_F */
      where ( T313184.SITE_USE_WID = T315597.ROW_WID )
      group by T315597.XXKC_RESOURCE_NAME

  • Oracle BI EE (10.1.3.2): Maximum total number of cells in Pivot Table excee

    I'm trying to build a pivot table report from about source 1.3M rows.
    When I'm setting CubeMaxPopulatedCells to a small values (10'000 and less) I'm getting error:
    "Governor limit exceeded in cube generation (Maximum number of populated cells exceeded.)"
    Increasing of this parameter to 100'000 and more (I've tried up to 10'000'000) causes another error:
    "Maximum total number of cells in Pivot Table exceeded (Configured Limit: 200000). Try moving one or more attributes to the page axis."
    Is it possible to solve this problem?

    In the instanceconfig.xml add a <PivotView> element under <ServerInstance> if one does not exist already. Within the <PivotView> element add an entry that looks like:
    <MaxCells>nnnnnn</MaxCells>
    where nnnnnn is your desired limit for the maximum total number of cells allowed in a pivot. Warning: an excessively large number will cause more memory consumption and slower browser performance.
    Hope this helps.

  • Summarize total for Row items in pivot table

    Hi,
    I have a certain number of row items and few fact columns. 2 of the row items are level based measures that will summarize on other conditions so I cannot have them in the Fact section. But for these 2 row items (in the Rows section) I want them to summarize the values (a total sum under) as for the Fact columns, but it seems impossible to do this in a pivot table.
    I tried everything. This is a very irritating limitation to Pivot tables. Anyone have a good solution to this? (I have to use Pivot table because I have numbers showing for each month, table view will not work for this)

    Hi Alf,
    Just for everyone else checking this post out, here is the image you posted.
    !http://i45.tinypic.com/15x50r6.jpg!
    Now I see what you are talking about. Based on that screen-shot and your post, it looks like three of your measures (Arsbudsjett, Lok. budsjett, Akk.regnskap) are placed in the "Rows" section of the pivot table because you don't want them pivoted on the month. You just want them displayed as a single column and you want to pivot the other measure by month.
    However, it appears that OBIEE does not summarize items in the "Rows" section and only provides sub-totals for columns in the "Measures" section.
    I have two follow up questions
    1) What technique are you using to breakup the column "KOSTRA art"? There seems to be some kind of grouping at the value "Lenn og sosiale utgifter". What is special about that value on how is that grouping or break in the data created?
    2) One of those three measures, Akk.regnskap, does have a sub-total but the other two, Arsbudsjett, Lok. budsjett, do not. What is different about Akk.regnskap that causes it to have a sub-totals?
    Thanks for the follow up questions.
    -Joe

  • Calculating TOTAL of values in a pivot table based on CELL COLOUR-OBIEE10g

    Hi,
    i have a requirement like
    In a Pivot table there are a number of rows with different colours (Eg. 3 rows with all the cells in GREEN COLOUR and the other 2 rows are in RED COLOUR ), I have to calculate the Total for RED and GREEN seperately. Could you please help me in this requirement.
    col 1 col 2 col 3
    2 3 4 green row 1
    7 9 2 RED row 1
    1 6 8 green row 2
    3 9 5 RED row 2
    3 9 12 GREENTotal
    10 18 7 RED Total
    Thanks in Advance.

    Hello Abdul,
    Please follow the below thread
    Conditional formtting in Grand total
    http://obiee101.blogspot.com/2010/02/obiee-pivot-conditional-format-grand.html
    Hope its helpful.
    Thanks
    Please close the open threads whose answers has been provided by awarding it, to help others followers

  • Sort on the Measure in Pivot table in OBIEE 11g

    The pivot table ignores the sort on the measrure in the criteria section, so how can we enable sort on the measure columns in pivot in OBIEE 11g ?

    887111 wrote:
    The pivot table ignores the sort on the measrure in the criteria section, so how can we enable sort on the measure columns in pivot in OBIEE 11g ?Try this:
    1) Make a duplicate layer of the measure column.
    2) Move the duplicate layer to the far left in the Rows section.
    3) Apply the desired sort order.
    4) Hide the duplicate layer column.

  • Issue with null rows and calc measure in pivot table

    hello;
    id like to ask if anyone encountered a similar behaviour in OBI and if there is woraround for that;
    in my BM i have 2 facts tables; i added in BM logical layer a calculated measure (calc_value) ,which is based on 3 other measures coming from these 2 facts tables
    :calc_value= value1 / (value2+value3) ; value1 coming from fact1 and value2 / vfalue3 coming from fact2
    depending on the chosen dimensions/level in report, the result of the calcuated measure is different ,which is correct;
    the lowest level in fact1 and fact2 are customer/product.
    in Answers when i select this calculated measure into report, a full outer join gets created, joining these 2 facts tables on all the dimensions that were chosen into the report i.e. in my case year/region/customer/product.
    as a result there are null rows created in the db query, if some of these combinations exist in 1st fact table , and do not exist in 2nd fact table and other way round;
    when i display result as a table, i can see the calculated measure only on the lines that are common for both fact tables and this is correct;
    however - when i create a pivot table, and DO NOT select into the pivot the customer/product (so the lowest level), but still select these items into criteria, then the calc_value is not displayed correctly; instead of the value that would be shown as if calculated at the higher level i.e. year/region, simply 0 is displayed;
    i was wondering how this can be corrected, so that OBI displayes in pivot the calc_value as of the level which is shown in pivot (so if i show in pivot year/region/customer/product -> then at this level; if i put customer/product to 'exclude' in pivot, then the level should be year/region);
    i noticed if i filter out at least 1 combination that create null rows then the values are shown correctly in pivot (but the db query still contains null rows), so i tend to think this is presentation issue, not design;
    id appreciate any tips on how to resolve this issue
    OBI vesion: 10.1.3.2
    thx
    rgds

    Hi write a case statement during logical column such that when value is present it takes value else zero for call the values i.e. value1, value2, value3.
    i.e. case when column1 is not null then column1 else 0.
    Then, do the calculation.
    Hope this might helpful for you.

  • Grand total in Pivot Tables with Paging

    I could help with this issue please
    when we apply paging PivotTables there a way to show Grand total all pages, and I've noticed that the Grand total vee only when the last page or show all results at once.
    For me it is important to see the Grand total on every page.
    Thanks in advance for your cooperation

    If you're not talking about printing, then you can do this:
    1) Instead of using the same pivot table that you created for details to also display the Grand Total, first paginate the pivot table. Look here:
    Re: Pivot table
    In your pagination, break your pivot table in groups such that you can see a small enough chunk without having to scroll too much.
    2) Now that you have a manageable size pivot table, create the Grand Total as another pivot table. Take out all the attributes that break the total in detail and leave only what will give you the Grand Total.
    3) Add this pivot table to the bottom of your detail pivot table in step 1. This will give you the grand total right underneath each page of your detail pivot table without having to go all the way to the end of the report.

  • Grand Total & Headings as separate row

    Is it possible to put the grand total BEFORE in a table view?
    Can I display Table & Column Headings as separate rows in a pivot table?
    I initially wanted to use a table view because I also need the Table & Column Heading to be displayed as separate row on top...(column properties in Table View: Display Column & Table Headings= As separate rows)...
    but I also need the Grand Total to be on top (Before) but the only option in Table View is None & After.
    I've seen that the Grand Total BEFORE is available in Pivot table view, but in Pivot I can't display column & table headings as separate rows.
    Any idea how to have that 2? (Grand Total Before & Display Column & Table Headings as separate rows)
    Thanks,
    Janne

    Hiey Kishore,
    Here is the problem which I have. I have the table with 6 columns first 4 columns have details and last 2 columns have measures. I can apply color to Label and Measure. but the problem is that the whole line color does not change it just changes color of the column which has the label and the color of the Measures.. inbetween 3 column gets the default light blue color. Is there is a way to change that?
    Thanks

  • Problem in pivot table view

    Hello gurus,
    I need a help in pivot table view. In pivot table, I have to show measure in accordance to month. For example show sales as per region by month name.
    Region               Sales                         
              Jan     Feb     Mar     Apr …………..Dec     Avg     Total
    A          10     40     92     92          32     xxx     xxx
    B          73     83     39     78          87     xxx     xxx
    So this is what I have to do. I am able to do this with one measure with created new calculated item. Now I have to create this report using two measures and the in the new measure I have to show only average and total.
    For example
    Region               Sales                              Target
              Jan     Feb     ………Dec     Avg     Total Avg Total
    A          10     40          32     xxx     xxx          xxx          xxx
    B          73     83          87     xxx     xxx          xxx          xxx
    Here sales and target are two different measures. The problem is when I add target column in measures; it will show all the month which I don’t require at all because I need all the month for sales only and for target I just need average and total. I try from head to toe but not getting any thing like this.Can i do this using other view if possible.
    Help me guys. If you need more explanation then please let me know.
    Thanks
    Regards,
    Suhel

    Anybody replies please.....
    Is this possible that we can use Calculated column in other calculation in pivot table. For example, total of one measure divided by total of another measure in pivot table.
    Regards,
    Suhail

  • Customizing grand total columns in pivot view

    Hi,
    I need to customize grand total column name in pivot view
    ex: If i have two measure order quantity and order amount when i am selecting aggregation after in column properties it is getting grand total i need to display as grand total for OQ and grand total for OA
    Please give suggestions
    Thanks,
    Kartheek.
    Edited by: 998231 on May 26, 2013 11:31 PM

    Hi Kartheek,
    In Pivot View, the default Grand Total can not be renamed to have measure specific grand total labe (The one which we specify in the pivot view either by row or column).
    But you can try having one seperate measure (in criteria) which will calculate the grand total of each measure by dimensions, which are available on the report.
    In sort you can achieve this using table and narrative view together (Not by pivot view).
    Expresion to be used for grand total in report criteria is Sum( Measure By Dim1, dim2... DimN)
    where Dim1 and dim2 are the dimesional column available on the report and measure is you OQ/OA.
    Create a table view as a default view (do not add any report level agg) and then add narrative view to display the Grand total OQ and Grand Total OA. You can add your custom lables with HTML tag, disply the 1st row only as the values will be repeated for grand total.
    If you find any other solution do let me know. As of now I can think of this as a best solution.
    Regards,
    Kashi

  • Pivote Table

    I have two measurement columns in my pivot table. One has values that need to roll up into an over all row total for a customer. A second column has one value that repeats but in the pivot table it totals all the rows as well but I just need the one repeating value to show once. Then have a grand total at the bottom of the table. How might I over come this obstacle? Is there a group by function like in SQL?

    the following logic display the sum only once per contact.
    case when rank (Opportunity."Created Date" by Contact."Contact ID") = 1 then sum(Opportunity."Opportunity Revenue" by Contact."Contact ID" ) else null end
    You could create something simularly. Hopefully, this is waht you are looking for.

  • Pivot table problem. Please help me create this report

    Hi friends..I'm new to OBIEE. We can create the grand total column in pivot table. I need grand total as well as Grand average. How can I create a new column in pivot table that is same as grand total but calculates average.
    My table structure is like this.
    Facility......Date........totaldays
    A..........01/01/08......210
    B..........01/01/08......215
    C..........01/01/08......917
    A..........02/01/08......211
    B..........02/01/08......211
    C..........02/01/08......911
    A..........03/01/08......210
    B..........03/01/08......215
    C..........03/01/08......917
    I need the report like this..
    Facility.....01/01/08......02/01/08....03/01/08...Total....AVG
    A...............210.............211............210.....631......210.3
    B...............215.............211............215.....641.....213.6
    C...............917.............911............917.....2745....915
    For this report..I created pivot table but I'm not able to calculate the average..
    Can you please help..I'm new to OBIEE...
    Thanks in advance

    Please change your username....
    Here is what you need to do...
    1) In the Pivot Table View, click on the Measures column and select New Calculated Item.
    2) In the pop-up window complete as follows:
    Name: type "Total Average"
    Function: Select "Average" from the drop-down window.
    Click on the values in the right pane that you wish OBI to calculate the average for.
    3) Click "OK."
    You now have another column that is the average of the values in each row.

  • Adding a grand total to the columns

    Hi
    I need to add a total to one of the columns in my report. I have set Aggregation rule as "Sum" but it is not displaying Grand Total.
    Am I missing any thing or setting the rule incorrectly?
    Please advise.
    Thanks in Advance.
    Jas

    Hi Arvindh
    Thanks for your response. I am not using a pivot table I just tried to add total to the table which is created by just selecting columns required in the Define Criteria section.
    We can add a total w/o creating the pivot table also. By the way, I have found the solution. The key lies in the second step. If u want me to explain in detail. Just let me know.
    -Jas

  • Grand total on some column

    Hi,
    My question is: Can I exclude grand total on some measure column in pivot view?
    For example I have 3 columns.On columns Account1 and Accounts, aggregation is SUM, and on column Max(something), aggregation is MAX.
    I have next situation.
    Account1 Account 2 Max(something)
    100 200 23
    200 250 13
    150 300 42
    450 750 42 - GRAND TOTAL
    But I want grand total only on columns Account1 and Accounts. For column Max(something) I don't want total at all.
    Thank you for your replies.

    Hi,
    Thanks for your reply,
    According to the link Below
    http://gerardnico.com/wiki/dat/obiee/answer_xml,
    We can able to change color for Grand total through XML, but the example is in 10g, there is nothing call saw:totalValues in 11g Currently, may be it is replaced with saw:displayGrandTotal, I tried that option also but it is not working.
    Is there anything which we can do through xml, to achieve the above requirement?
    Thanks
    Anirban

Maybe you are looking for

  • Teaser and movie on 1 dvd - best workflow ?

    I've created a 23 minutes movie. Exported it in 1080p/25 fr mp4 I've created a 1 minute trailer (with save as 'trailerxxx', so new project, and deleted everything I didn't need and add want I want in the teaser). Exported also in 1080p/25 fr mp4 So b

  • Capture the log of RFBIBL00 after submit

    When doing SUBMIT RFBIBL00 with DS_NAME = DIRECTORY if in the flat file of Directory there is a worng posting key the RFBIBL00 terminate with message "editing was terminated" If this error message occur when submiting the RFBIBLOO i need to find a wa

  • Conceptual questions

    hello experts, since i am new to MDM, there are a few doubts i would like to clear these apply to particular scenarios 1) I have two different R/3 systems two records are present, one in each system in the real world, both these refer to the same dat

  • Notes in SPAU

    Hi in SPAU transaction there are notes , so what i have to do in upgradation with notes & some notes have yellow light & green tick smbol & question mark symbol how to take care of ABAP query in upgradation are the abap querys come after upgradation

  • SIEM integration, Automation possibilities in DirectAccess

    For DirectAccess in Windows Server 2012 R2. 1. Can DirectAccess trace logs and other event logs be integrated with third-party SIEM tools? If yes, which third-party tools are supported? Please explain how integration is done?  2. Does DirectAccess su