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.

Similar Messages

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

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

  • How to move excluded items into Measures in OBIEE 11g Pivot Table

    Hi All,
    Need your help. Previously I have about 25 facts in my pivot table as rows. Now I need to add about 10 more. Adding new criteria only put the items into Excluded section. How can I move all these new items at once to the end of the existing facts? What I can do now is moving them one by one, and in the middle of existing facts, then move it again, because I can point my cursor to the end of them directly.
    Thanks a lot,
    Gajah.

    I've tried to drag the fact heading, but I can't point my cursor to the end of existing list of facts (unfortunately they are all in the same fact group name). Do you have any suggestion on how to put the new facts at the end of the list?
    Thanks.

  • How to rename calculated item?

    Hi
    I defined a calculated item in Disco Admin and used it once in a workbook in Disco Plus.
    Later I changed the name of the calculated item. Unfortunately the change doesn't take effect in new(!) workbooks. It is still the old name.
    This doesn't happen to calculated items which I renamed before having used them.
    How can I get rid of the old name without changing it every time I set up a new workbook? It must be saved somewhere.
    Thanks
    Franziska

    Hi,
    Try changing the heading property on the calculated item in the EUL.
    Rod West

  • How to align web items on a row in BW 3.5

    Hi All.
    We are on BW 3.5. I have 4 drop down item to filter data in the web template. I have placed them next to each other on the WAD template. But when I run the report the drop downs appears one below the other.
    I want the drop downs appearing next to one another on the same row but they appear one below the other.
    I tried putting a HTML table of 1 row and 4 columns and placing each drop down into one cell but still the drop downs appear one below the other.
    Please can you share ideas how to get these drop downs on the same row.
    Thanks
    Karen

    Hello friend,
    I just tried placing 4 dropdown boxes in a single row using  a table of 1X4, and it works perfectly....
    just remove the one u have now and try again....and please be sure that u are placing one webitem in one cell....
    In HTML tab, check if the code looks like the following : all item should be padded between <table></table>
    <TABLE cellSpacing=1 cellPadding=1 width="75%" border=0>
      <TBODY>
      <TR>
        <TD vAlign=top><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="DROPDOWNBOX_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_DDOWN"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="IOBJNM" value="ZVDNA"/>
             ITEM:            DROPDOWNBOX_1
    </object></TD>
        <TD vAlign=top><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="DROPDOWNBOX_2"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_DDOWN"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="IOBJNM" value="ZBACCT"/>
             ITEM:            DROPDOWNBOX_2
    </object></TD>
        <TD vAlign=top><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="DROPDOWNBOX_3"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_DDOWN"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="IOBJNM" value="ZCHEUE"/>
             ITEM:            DROPDOWNBOX_3
    </object></TD>
        <TD vAlign=top><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="DROPDOWNBOX_4"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_DDOWN"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="IOBJNM" value="ZSYS"/>
             ITEM:            DROPDOWNBOX_4
    </object></TD></TR></TBODY></TABLE>

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

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

  • How to find who has locked a row in a table?

    My DB is a Oracle Database 10g Enterprise Edition Release 10.2.0.4.0.
    My question is very simple: You try to update a row of a table but find out it is locked by somebody else.
    How do I find which user (or session) has locked that row?

    SELECT Decode(request, 0, 'Holder: ',
                           'Waiter: ')
           ||vl.sid sess,
           status,
           id1,
           id2,
           lmode,
           request,
           vl.TYPE
    FROM   v$lock vl,
           v$session vs
    WHERE  ( id1, id2, vl.TYPE ) IN (SELECT id1,
                                            id2,
                                            TYPE
                                     FROM   v$lock
                                     WHERE  request > 0)
           AND vl.sid = vs.sid
    ORDER  BY id1,
              request

  • 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

  • How can I count patterns of multiple rows in a table

    I just can't wrap my head around a query I need to identify the unique set of patterns with a table...by patterns I mean the following...
    This is medical procedural data, wherein the first procedure code is followed by 0 or more procedures in a sequence for each case. I need to find out how many of each sequence of procedures exist in the table from all the cases...
    row_id caseid proc_code sequence
    1 1 A 1
    2 1 B 2
    3 2 C 1
    4 3 A 1
    5 3 B 2
    So in this example data set I would like an output like this (something similar that would produce the number of times A followed B...and so on)
    row_id proc_set count(*)
    1 A-B 2
    2 C 1
    If someone could at least point me in a direction, I'd appreciate it...thanks ron.

    Interesting variation, Solomon.Yes, but gives different results if there are more than two linked procedures:
    SQL> with t as (
      2             select 1 case_id,'A' proc_code,1 seq from dual union all
      3             select 1,'B',2 from dual union all
      4             select 1,'C',3 from dual union all
      5             select 2,'C',1 from dual union all
      6             select 3,'A',1 from dual union all
      7             select 3,'B',2 from dual
      8            )
      9  select  proc_set,
    10          count(*) cnt
    11    from  (
    12           select  case level
    13                     when 1 then proc_code
    14                     else connect_by_root(proc_code) || '-' || proc_cod
    15                   end proc_set
    16             from  t
    17             where connect_by_isleaf = 1
    18             start with seq = 1
    19             connect by case_id = prior case_id
    20                    and seq     = prior seq + 1
    21          )
    22    group by proc_set
    23  /
    PROC_SET                    CNT
    A-B                           1
    C                             1
    A-C                           1While we get
    SQL> with t as (
      2  select 1 row_id, 1 caseid, 'A' proc_code, 1 sequence from dual union
      3  select 2, 1, 'B', 2 from dual union
      4  select 4, 2, 'C', 1 from dual union
      5  select 3, 1, 'C', 3 from dual union
      6  select 5, 3, 'A', 1 from dual union
      7  select 6, 3, 'B', 2 from dual)
      8  select row_number() over (order by proc_set) row_id,  proc_set, count(0) from (
      9  select ltrim(sys_connect_by_path(proc_code,'-'),'-') proc_set
    10    from t
    11  where connect_by_isleaf=1
    12  connect by prior sequence+1 = sequence and prior caseid=caseid
    13  start with sequence=1)
    14  group by proc_set;
        ROW_ID PROC_SET               COUNT(0)
             1 A-B                           1
             2 A-B-C                         1
             3 C                             1Max
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2009/12/29/estrarre-i-dati-in-formato-xml-da-sql/]

  • How to retrieve the number of "free" rows in a table?

    Hi,
    if in a client only environment (no sync to mobile server) rows are inserted and deleted into a table,
    is there a way to retrieve the number of "free" rows in a table? Number of "Free" rows stands for
    number of rows that can be inserted again, before the table extents in size.
    Is there a way in OLite 10.3.0.2.0 to retrieve the size of tables and indexes? ALL_TABLES is not
    a place that really works.
    Best regards and many thanks,
    Gerd

    Hi Gary,
    many thanks, the partner uses a Lite client db without sync. The db runs inside an laboratory device and collects measures. There must be a way to estimate the the number of "measures" rows, that stil can be stored in the db.
    Than we need to make the deleted space available for new rows. The partner tested defrag.exe and found that it
    needs very long time to run, especially if the db is bigger than 2GB. ... and that this run sometimes fails.
    Is there any recommendation the partner can follow on?
    Thanks,
    Gerd

  • How to bring the more than one rows from the table into the script

    Hi
    I have to bring more than one rows from the table into the Main windows of the script. so plz help me out.
    Thanks in Advance
    Ananya

    Hi Ananya,
       Bring more than one row into main window of script.
       For this you need to do some changes for data which you pass to main window.At a time you need to pass more than one row,so for this you need to define one structure.See below code.
    Types:begin of ty_rows,
         include structure (your row_structure),
         include structure (your row_sturcture),
    Types:end of ty_rows.
    for example....
    If i need to pass 2 vendor details at a time to main window then the structure should be like this.
    Types:begin of ty_rows,
           vendor1 like lfa1-lifnr,
           vendor1_name like lfa1-name1,
           vendor2 like lfa1-lifnr,
           vendor2_name like lfa1-name1,
          end of ty_rows.
    Data:i_main type standard table of ty_rows,
         wa_main type ty_rows.
    Based on condition you can pass more than one rows of your actual internal table data to i_main internal table.
    Then you can pass i_main internal table to your main window.
        I think this will help you.
    Cheers,
    Bujji

  • 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

  • Display value and percentage of row in pivot table w/o double counting...

    Hello,
    I am wondering how/if one can show a metric value and the row percentage it represents without double counting. So far, I have attempted to duplicate the metric value layer, move the duplicated layer in the measures section of the pivot table next to the original layer (i.e. I have the value twice in the measure section), and set the format of the duplicated layer to "show data as > percent > row".
    This makes the trick in terms of the data I see in the table; however, the values displayed in the table are double counted in the chart. I guess this makes sense since I have duplicated the metric value.
    Any thoughts on how I could tackle this issue differently?
    Thanks,
    JP

    You can do all that in the Pivot Table... Go to the measure properties and Duplicate Layer...than Show as...
    Dont need to duplicate the criteria...
    Antonio
    BExpert Brazil

Maybe you are looking for

  • Excise invoice does not excist

    Dear SAP Gurus, While depot to depot stock transfer process @ the time for MIGO error came that EXcise invoice does not excist for suppying plant.Is we miss any configuration. With Regards Mukul Kumar

  • Hard Drive Trouble on New MacPro

    Hello I have had my MacPro desktop for about 4 days now and am having some problems. There is a 250 gb harddrive in my system and I when I get info the capacity shows as 232.57. I could have sworn it used to say 250gb. Also on my desktop when I selec

  • SYSDBA - problem with viewing other users package body texts on sys account

    Hi, SQL Dev 1.0.0.15.27 has problem with correct display of other users package body texts on sys account. All bodies have "create or replace" text instead of all pck. bodies text. I guest it's problem with SYSDBA role. On system account text is disp

  • Old adobe reader for xp sp1

    I have windows service pak 1. Due to some of my existing programs programs unable to work with service pak 2, my recent adobe reader update does not work with service pak 1. Where can I download adobe reader that will still work with service pak 1?

  • Return from Cost Center

    Hello i have the following scenario. A reservation is made, and i make goods issue against thsi reservation. If the cost center which is charged returns me back SOME not ALL of the materials issued to it, what movement type shall i do in migo? Is it