All rows in pivot table

Hello Gurus,
The problem i am facing is whenever there is no content in the columns the rows are not being shown. I want all the rows to be displayed inspite whether there is data or not.
I tried unchecking limit rows based on content as well as i checked show blank rows but nothing has worked so far.
Any help will be greatly appreciated.
Thanks in advance
Dhrubo

Dhrubo ,
this is a modeling issue. You need:
A) figure out what to do with NULLS (you can control it with IFNULL function)
B) work on your joins (configure some mapping as LEFT or RIGHT OUTER - or maybe even FULL OUTER (not recommended for performance purposes). - you can do this in BMM
GL

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,

  • Delete all rows in a table

    I have read two articles how to use sql adapter with delete.
    http://btsguru.blogspot.se/2011/10/wcf-sql-adapter-table-operations.html
    http://social.technet.microsoft.com/wiki/contents/articles/29146.biztalk-server-2013-crud-operation-with-wcf-sql-adapter-and-correlation.aspx?wa=wsignin1.0
    Is it a way to delete all rows in a table?
    I have tried to send <ns0:Rows>*</ns0:Rows> with no luck.
    Challan

    I'm not expert in Biztalk but one of the options to call stored procedure that contains the delete script:
    http://geekswithblogs.net/StuartBrierley/archive/2011/10/19/biztalk-server-2010---using-the-wcf-sql-adapter-to-make.aspx
    Sql Delete all rows from table Script:
    DELETE FROM table_name;
    or 
    TRUNCATE TABLE mytable;
    Trucnate vs Delete:
    http://www.mssqltips.com/sqlservertip/1080/deleting-data-in-sql-server-with-truncate-vs-delete-commands/
    Fouad Roumieh

  • Select All rows  in WebDybpro Tables

    Hi All ,
    I am working on NWCE 7.1 . i have table in my UI. and want to give slect all rows functionality in table. in NWCE is there
    any way to give select all rows in table with out using , button and writing action to iterate node bound to table.
    also i want to know about RowCreator ui element for table.(when we right click on table we get insert -> rowcreator). How this works
    Thanks in advance
    Regards
    Kavita

    Hi Kavita,
    The row creator Ui element is not visible in table itself you can see it only in outline window.
    and in its on create event you have to write the code which i have provided above. it will not be visible in table at design time but at run time when you will click on the last rows lead selection it will call the associated event and one row will be added to the table.
    Regards
    Jeetendra

  • Select all rows in af:table

    Hi,
    I need to select all rows in af:table, not only on current page.
    I have following code on custom select all action:
    getTable2().getSelectionState().addAll()and on button that needs to perform some action on selected rows I have this code
            Set selectedRowSet = getTable2().getSelectionState().getKeySet();
            if (!selectedRowSet.isEmpty()) {
                Iterator it = selectedRowSet.iterator();
                while(it.hasNext()) {
                    Key key = (Key)it.next();
           }selectedRowSet.iterator() method throws java.lang.ClassCastException: oracle.jbo.Key.
    When I select rows with af:tableSelectMany, which is inside selection facet and selects only rows on current page, this works fine.
    Any ideas?
    Thanks

    Hi,
    you can only access those data that is queried and part of the CollectionModel to the time you select all
       RichTable _table = employeesBackingBean.getEmployeeTable1();
       RowKeySet rks = new RowKeySetImpl();
      CollectionModel model = (CollectionModel)_table.getValue();
      int rowCount = model.getRowCount();
          for (int i = 0; i < rowCount; i++) {
               model.setRowIndex(i);
               //note that in the simple POJO case, the row key is the same
               //as the index. However, it would be wrong to just rely on this
               //because other models or custom table models my return a more
               //comples key. Therefore we iterate over the available rows to
               //obtain the keys.
               Object key = model.getRowKey();
               //add the row keys to the RowKeySet to mark selected
               rks.add(key);
       _table.setSelectedRowKeys(rks);
       AdfFacesContext.getCurrentInstance().addPartialTarget(_table);Frank
    Frank

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

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

  • 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

  • Get all rows from a table control

    Hi All,
    I have a table control with one column. What function should I use to retrieve all the rows ? Do I need to iterate row by row and read each row or is it possible to do it in one function ?
    Thanks,
    Kanu
    Solved!
    Go to Solution.

    Supposing vells in the column have all the same data type, you can retrieve the whole column with a single instruction:
    GetTableCellRangeVals (panel, control, VAL_TABLE_COLUMN_RANGE (1), array, VAL_COLUMN_MAJOR);
    The array passed must be large enough to retrieve all data. Alternatively, you may substitute the macro VAL_TABLE_COLUMN_RANGE with the appropriate MakeRect instruction.In case your table was dinamically built, you can obtain the nu,ìmber of rows using GetNumTableRows and dimension your array accordingly.
    The above macro is defined in userint.h together with some other useful macros that can be used to access data in a table.
    There are some precautions to take in case of string values or some cell type (ring, combo box, button...) that are described in the hell for the function.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How get all rows of a table with a BAPI

    Hi,
    how is it possible to get more then one row by calling a BAPI from the WD. In my Application I need the rows of a Table coming from the r/3 System. How is it possible to get all the rows after the first call? What is the logic behind it? My purpose is also to create an own BAPI.
    regards,
    Sharam
    null

    Hi,
    If I understand, you don't want display the result into a Web Dynpro Table. If so, after the execution, the result of your request is stored into the context. Then you don't really need to transfert the data from your context to an Java Array.
    But if you want to do it, here is the code :
    guess your result node called
    nodeResult
    Vector myVector = new Vector();
    for (int i = 0; i < wdContext.nodeResult().size(); i++){
       myVector.put(wdContext.nodeResult().getElementAt(i));
    I hope this will answer to your question.
    Regards

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

Maybe you are looking for