Hide rows in Pivot table Calculated Items in OBIEE 11g

Hi All,
I have requirement to show values in Pivot table such that values are divided into two sub totals and also shown in Grand Total.
For Sub Total 1, all the rows can be shown with Sub total value. But for Sub Total 2, only Total value is to be shown but not all the rows. How this requirement can be done?
I tried to hide the rows in Sub total 2, but its effecting entire table so those rows are removing from Sub total 1 aswell which should not happen.
Have look in below table for more clarity. My output should be as shown in Table 2 not as in Table 1.
Table 1:
Q1
Q2
Q3
Q4
Geography
Type
Asia
T1
100
200
300
400
America
T2
110
210
310
410
Europe
T1
120
220
320
420
SubTotal1
330
630
930
1230
Asia
T1
10
20
30
40
America
T2
15
25
35
45
Europe
T1
20
30
40
50
SubTotal2
45
75
105
135
Grand Total
375
705
1035
1365
Table 2:
Q1
Q2
Q3
Q4
Geography
Type
Asia
T1
100
200
300
400
America
T2
110
210
310
410
Europe
T1
120
220
320
420
SubTotal1
330
630
930
1230
SubTotal2
45
75
105
135
Grand Total
375
705
1035
1365
Any ideas how this can be done??
Thanks for your time.

Hi,
Thanks for the reply.
Here Subtotal will sums up the rows basing on other column (Dimension).
SubTotal 1 sums the rows basing on the another dimension( value A and value B). SubTotal 2 sums the rows basing on aother values(values C and values C.
I understand the above solution, but that is not enough to my requirement as I need to show Regions for Subtotal 1, but not for Subtotal 2. And these Subtotals are based on another column (other than Regions).
Hope this is clear now.

Similar Messages

  • Data format in pivot table calculated item

    Hi All,
    I've got a pivot table with a dimension on rows and a dimension on columns and a measure. I have a "new calculated item" based on the dimension on the columns which does the following: ( ($2-$1) / ($1) ) *100
    I want this calculated item shown as a percentage like 1,2% but the measure must stay a whole number like 1234 (no decimal places or percentage symbols) any suggestions on how to achieve this?
    Thanks in advance!
    Gilles

    Hi Kishore,
    It is not helpful, I mean, it doesn't solve my problem. But nice post!
    What I have is the following:
    --------C1------C2-----C3
    R1|--123--|--345--|--678--|
    R2|--124--|--346--|--679--|
    R3|--125--|--347--|--670--|
    What I want is the following:
    --------C1------C2-----C3---------calculated item
    R1|--123--|--345--|--678--|--(($2-$1) / ($1) ) *100)
    R2|--124--|--346--|--679--|
    R3|--125--|--347--|--670--|
    the column results must remain in the same format, but the calculated item must be in the format %9.99 (to see the percentage change)
    any other suggestions?

  • Filter Pivot table data based on custom calculated item in obiee 11g

    Hi,
    I have requirement as below. Please provide your valuable suggestions
    Please note that "Diff" is the calculated item using the formula "$2-$1"
    Pivot table View:
    Sales ID 20120207 20120220 Diff
    1 0 0 0
    2 100 0 -100
    3 100 200 100
    4 100 100 0
    5 200 300 100
    6 0 0 0
    Requirement:
    1) Filter rows where measure for both Effective dates(20120207 & 20120220) is equal to 0
    2) filter rows where measure for effective date 20120220 is equal to 0 & measure for effective date 20120207 is not equal to 0
    3) filter rows where diff is equal to 0
    expected Output:
    Sales ID 20120207 20120220 Diff
    3 100 200 100
    5 200 300 100
    Please provide an workaround to implement in OBIEE 11.1.1.6.0
    Thanks
    Edited by: Nagendran Rajendran on Jul 19, 2012 11:42 AM
    Edited by: Nagendran Rajendran on Jul 19, 2012 11:54 AM

    Hi,
    Many thanks for your Response.
    Actually, I have only three columns in the *"Selected Columns"* Section of Answers and they are
    Opportunity Id Effective Date Current
    Effective Date is based on Dashboard Prompts with 2 Presentation Variables say Effective Start & End Date and that has been used in answers to have a Revenue Variation report for these 2 dates ONLY.
    So, As per my Requirement,
    1) I have created a Pivot table by having Opportunity ID in Rows Section, Effective Date in Columns Section and Current in Measures Section
    2) Created a Calculated Item for Revenue Difference using the formula $2-$1
    So, Everything worked fine so far.
    and Next Requirement is to filter the rows from the Pivot results which i have mentioned in the post and they are
    Pivot table View:_
    Sales ID 20120207 20120220 Diff
    1 0 0 0
    2 100 0 -100
    3 100 200 100
    4 100 100 0
    5 200 300 100
    6 0 0 0
    Requirement:_
    1) Filter rows where measure for both Effective dates(20120207 & 20120220) is equal to 0
    2) filter rows where measure for effective date 20120220 is equal to 0 & measure for effective date 20120207 is not equal to 0
    3) filter rows where diff is equal to 0
    expected Output:*
    Sales ID 20120207 20120220 Diff
    3 100 200 100
    5 200 300 100
    Please provide an workaround to implement in OBIEE 11.1.1.6.0
    Edited by: Nagendran Rajendran on Aug 8, 2012 4:53 PM

  • Grand Total in Rows of Pivot Table

    Hi,
    How to display Grand total in rows of pivot table.
    Thanks and Regards,
    Kiran

    Hi,
    Now i got your question.
    No, its not possible to add aggregation for the measures.
    Instead you need to create some two dummy dimension table and use them in the pivot table and hide them.
    NOTE- We need to have two dummy dimension tables because then only summation symbol would come for the first dimension.
    And so it will appear you are doing a summation on the measure column.
    Regards
    MuRam
    NOTE: Please mention if this resolved your problem/still facing and close the thread.

  • Rows in Pivot Table of answers

    Hi Gurus,
    I want to show row in pivot table from count of some values in perticular column and also want to show row as pivot table some values in perticular column
    Suppose we have values a,b,a,c in column i want to show 2(that is count of a) in below of this column
    Please suggest me is this possible?
    Thnaks in advance

    Col1 | Col2 | Col3 | Col4 | Col5 | Col6 | Col7|col8     
    abc | kafj | 4 |     4 | True | jdj |     2 | 2
    bcd | asfj | 4 |     4 | True | sfa |     4 | 4
    asd | asda | 1 |     1 | False | sda |     2 | 2
    cde | Iruei | 5 |     5 | False | sdfs |     1 | 1
    Count| 4 | True | 2 |True     | 50% | True|66.67%
    |Req | |Req% | | Rate|
    On True | 6 | Total | 9
    Count | | Count|
    Hi venkat,
    I want to display the following pattern of output.
    In the above table format
    Count 4 is the count of total number lines in col2.
    True Req count 2 is the count of true lines in the column 5.
    True Req% 50% is col2/col5.
    On True Count is the count of (2+4 in col7) when condition is True.
    Total Count is the count of all (in col7).
    How to calculate these types of calculations in the answes.
    Could u please suggest me the solution.
    Thanks in Advance,

  • How to move Calculated Item in 3rd row in pivot  table.

    Hi experts
    I have calculated one calculated item in Piovt, Now i want to move it as 3rd row, So how can i achieve it.
    Thanks in advance
    Regards
    Frnds

    Hai Madhu,
    It is pretty simple.
    First u define a button. and in onAction  Event of the button write the following code.
    process is as follows:
    1)get the node
    2)get the element
    3)using the method remove_element() ,remove the element.
    <u><b>The Sample Code is as follows</b></u>
    DATA:
          node_flighttab                      TYPE REF TO if_wd_context_node,
          elem_flighttab                      TYPE REF TO if_wd_context_element.
        node_flighttab = wd_context->get_child_node( 'FLIGHTTAB' ).
      get element via lead selection
        elem_flighttab = node_flighttab->get_element(  ).
        node_flighttab->remove_element( element = elem_flighttab ).
    Follow the above code ,it will definately help you.

  • Hide a Row in Pivot table depending on condition

    Hi , I am using pivot table which is in below format.
    I--------------------date 1 | date 2 | date 3| new calculated item
    measure 1 v1 v2 v3 v4
    measure 2 v5 v6 v7 v8
    measure 3 v9 v10 v11 v12
    measure 4 v13 v14 v15 v16
    now i need to hide the date 2 (ie v2 v6,v10,v14) column in the pivot table ( which is actually a value in a row for a column named as_of_date)
    is this possible.
    please let me know the solution.

    Thanks @mma
    i am unable to pass that {val1} exactly
    here my scenario is, i have
    year prompt and quarter prompt
    depending on year prompt ,quarter prompt is populated with 4 dates
    now i need to pass the max and min values of dates
    to the asofdate.
    please explain me this scenario.
    thanks

  • Pivot table calculated column

    Hello ,
    I have created a pivot table like below
    ________________________________ *200908 .... 200909 .... 200910*
    No Matching data in A ........................ 500 ......... 550.............. 570
    No Matching data in B ........................ 650 .......... 700 ............ 720
    Now i want to calculate the difference for the latest month and prevoius month, and would like to display as below
    __________________________________ *200908 ..... 200909 ....... 200910......... Diff*
    No Matching data in A ........................ 500 ..............550 ........... 570 ..... 20
    No Matching data in B ........................ 650 .............. 750 ........... 725 .....-25
    I am getting the difference if i give static values like '200910' - '200909'
    But i want to get the difference dynamically like 'highest date' - 'next highest date'
    Please suggest some ideas.
    Thanks in advance.
    Edited by: user11049754 on Nov 18, 2009 12:48 PM

    hi abhi,
    Do you mean moving the column position,if so your saying it as calculated item so in pivot view it would be in the measures area.From there where you want to move it??
    My understanding from your question is that in the measure area if there is another column other than calculated item,you can move above it or below it.
    By,
    Kranthi.

  • Drill Down in Pivot Table with item on page level

    Hi,
    I've got a pivot table with Chart next to it. The chart is a separate view, I did not use the 'Chart pivoted results' option.
    My pivot table has one Page Level item being the Month Name.
    I now have the strange behavior that drilling down on the Pivot table elements gives me No Results as my filter would be too restrictive. The problem is with the 'Month Name'. Removing this item from the filter shows the correct data. When I use the chart next to my data to do the drilling I encounter no problems. This is because this way the restriction on the month name is not added when drilling.
    Has anybody encountered this behavior before and knows of a way to solve this.
    Thanks for your advice,
    Kris

    My query looks like this :
    SELECT TO_NUMBER (TO_CHAR (t1601.datum_prestatie, 'MM'), '99') AS c3,
    t1584.description AS c4, t1497.project_group AS c5,
    t1497.project_desc AS c6, t1497.project_code AS c7,
    CONCAT (CONCAT (t2241.firstname, ' '), t2241.lastname) AS c8,
    t2254.employee_number AS c9, t1601.duur AS c11,
    t1601.datum_prestatie AS c12
    FROM t_projects t1497 /* Dim_PROJECTS */,
    t_organization t1579 /* DimX_ORGANIZATION_Project */,
    t_organization t1584 /* DimX_ORGANIZATION_Project_Parent */,
    t_employees t2241 /* DimA_EMPLOYEE_Prestatie */,
    t_prestaties t2254 /* DimA_PRESTATIE_Project */,
    t_prestaties t1601 /* Fact_PRESTATIES */
    WHERE ( t1497.business_domain_code = t1579.department_code
    AND t1497.project_code = t1601.project_code
    AND t1497.project_code = t2254.project_code
    AND t1579.parent_department = t1584.department_code
    AND t2241.employee_number = t2254.employee_number
    AND t1584.description = 'Specialized Technologies'
    AND t1497.project_group = 'SUPP AP TM'
    AND TO_NUMBER (TO_CHAR (t1601.datum_prestatie, 'MM'), '99') = 3
    The last row being a check on the month number.
    At the same time in OBIEE I get this :
    No Results
         The specified criteria didn't result in any data. This is often caused by applying filters that are too restrictive or that contain incorrect values. Please check your Request Filters and try again. The filters currently being applied are shown below.
         Divisie is equal to Specialized Technologies
    and      Month is equal to 3
    and      Project Group is equal to SUPP AP TM
    and      Month Name is equal to Mar
    The physical query doesn't even show the restriction on Month Name which makes it even more spooky...

  • Measures as Rows in Pivot Table? OBIEE 11g

    Hi,
    Is it possible to show measures as rows and attributes as columns? I have only one value in my attribute columns.
    example:
    --------Company(Oracle)-----Country(India)
    Sales        100                  20000
    Units         50                  40000Thanks in advance.

    869650 wrote:
    Hi,
    Is it possible to show measures as rows and attributes as columns? I have only one value in my attribute columns.
    example:
    --------Company(Oracle)-----Country(India)
    Sales        100                  20000
    Units         50                  40000Thanks in advance.In the pivot table, you have a column for Rows, Columns, and Measures.
    Try this:
    Put the Measure Labels in the Rows section, the Company column in the Columns section, and your Measures in the Measures section.

  • Disabling auto sort of rows for Pivot Tables in BI Publisher

    is there a way to avoid the Pivot table in BI Publisher from sorting your data and just display the rows in the order retured from the data model ? By default it is sorting the data in asc order. Thanks !

    hi jim
    if you carefully look inside the form field's you will find the logic of sort . if you remove that you will get the data without any sorting order.
    else send me your template and xml to my email id i can look into that .
    email : [email protected]

  • How to Restrict the Rows In Pivot Table

    Hi All,
    how to Restrict the Row in the Pivot table.
    My Requirement is like this.
    i have to show the top 10 values in the pivot table but My report is show all the values.
    how can we achieve this.
    any quick solution for this appreciated.
    Thanks,
    Yogi.

    Yogi1729 wrote:
    Hi All,
    how to Restrict the Row in the Pivot table.
    My Requirement is like this.
    i have to show the top 10 values in the pivot table but My report is show all the values.
    how can we achieve this.
    any quick solution for this appreciated.
    Thanks,
    Yogi.You can't really restrict the rows in a pivot table, but you can do this:
    http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-pagination-in-pivot-tables/

  • Pivot Table page-item as a multi select

    Can this be done? When placign an item in the "page" shelf of the pivot table, the default is to allow a single valeu selection, but can we allow multiple selections.
    For instance, if I place region in the Page item area, can I allow the user to select "West" and "East" as opposed to just 1 distinct value?

    Why not just use a prompt with a multiselect box then?
    It looks the same for the end user, only now he have to wait when he chooses another combo... in stead of that he had to wait only in the beginning something longer

  • How to calculate value from perticular column and row in pivot table

    Hi all,
    I am having following pivot table.
    Country
    A
    B
    C
    D
    F
    G
    H
    J
    K
    L
    M
    Grand Total
    Canada
    1
    1
    3
    3
    12
    14
    13
    97
    China
    8
    4
    3
    19
    India
    2
    47
    448
    176
    395
    3656
    1964
    1360
    8077
    USA
    1545
    352
    380
    26
    10
    4
    8
    32
    2054
    1023
    758
    4624
    UK
    12
    19
    13
    23
    33
    298
    Grand Total
    1545
    352
    381
    29
    72
    474
    184
    427
    5743
    3028
    2167
    13114
    Now I want sum of Columns A, B, C, K, M where Country = India in one field.
    and sum of D, F, g in another field. and sum of remainig columns in another field.
    How can i get sum of values with some where condition in pivot table.
    Thanks,

    Hi Michael,
    Following is the representation which i want
    CouRntry
    ROW LABLES
    A
    B
    C
    Total of
    ABC
    F
    G
    Total
    Of FG
    J
    K
    L
    TOTAL
    of JL
    Grand
    Total
    Canada
    1
    1
    3
    3
    12
    14
    13
    97
    China
    8
    4
    3
    19
    India
    2
    47
    448
    176
    395
    3656
    1964
    1360
    8077
    USA
    1545
    352
    380
    26
    10
    4
    8
    32
    2054
    1023
    758
    4624
    UK
    12
    19
    13
    23
    33
    298
    Grand Total
    1545
    352
    381
    29
    72
    474
    184
    427
    5743
    3028
    2167
    1
    Also if i get sum how can i add a column in between of the fields.
    Thanks

  • Exposing null row  in Pivot table

    Hi Gurus
    I have a scenario here with pivot table ..when i am pulling the a bunch of columns in my pivot table the measures with null values is getting suppressed but i want to expose all the rows and their respective values (including null)
    Regards
    Debo

    Sounds like what you want is to view data in dense form. We often do that here on my current project.
    There are a couple ways to do it including outer joins, preserve dimensions, and cross joins. Depending on your scenario some options are better than others.
    Here is a link that shows how to use cross joins. Personally this one is my preference.
    http://gerardnico.com/wiki/dat/obiee/densification_repository

Maybe you are looking for

  • How can I get Windows (v7 x64) to open in Dreamweaver (CS5) if I right click it?

    Hi How can I get Windows (v7 x64) to open in Dreamweaver (CS5) if I right click it? None of the normal mechanisms of setting an application to be the DEFAULT application for the .HTML file type seem to work... Extremely irritating. J

  • Embedded Excel table in Word 2013

    I just purchased a new laptop with Window 8 and Office 2013. Previous Word files with embedded Excel tables will open once then refuse to open a second time. I get an error message, "the program used to create this object is Excel. That program us ei

  • Some music in itunes not showing on Apple TV after upgrade to 9.01

    I recently upgraded itunes to the latest version and have noticed some albums are missing when using apple tv even thou they are present in the itunes library. Is anyone else experiencing this issue, any help would be appreciated.

  • Can I give our AD users access to Visual Studio Online?

    Our AD is connected to our Azure Active Directory and synced via DirSync. Is it possible for me to give our AD users access to VSO and they use their organizational login credentials OR do they need to create Microsoft accounts? Our goal is single si

  • XML processing within WLS

    Hi: I'm working on a project that involves porting an application to BEA's WebLogic Enterprise product. The application uses both Java and C++ code. The presentation of the application is accomplished by merging XML templates (along with the correspo