Show all rows in a dataTable - XSD datasource

Hi
I have designed a report in CR2008 and my datasource for the report is an XSD file. There are 2 tables Table A and B.
Table A is as follows:
AID     Name     Reference     Period          Manager
5       Name 1     Ref 1          July 2009     User Name 1
8     Name 2     Ref 2          August 2009     User Name 2
9     Name 3     Ref 3          March 2009     User Name 9
45     Name 4     Ref 4          May 2008     User Name 4
88     Name 5     Ref 5          June 2009     User Name 1
There are other coloumns too in the datatable, but that shouldnt matter.
Table B is as follows:
ID     A_ID          DateKey        DateValue                     Name
1       5          Date1        2009-09-29 00:00:00.000        Start Date
2       5          Date2        2009-08-11 00:00:00.000        Fieldwork Complete
3       5          Date3        2009-08-14 00:00:00.000        Report Issued
4       5          Date4        2009-07-17 00:00:00.000        Report Finalised
5       5          Date5        2009-07-10 00:00:00.000        Close Date
6       8          Date1        2009-08-11 00:00:00.000        Start Date
7       8          Date4        2009-09-29 00:00:00.000        Report Finalised
My report is a joining of the 2 tables as appears as below
ID   Name   Reference    Period     Manager      Start Date   Fieldwork    ReportIssued     ClosedDate
My problem, is that I want to display the values in Table A (ID, Name, Reference, Period etc) in the report even if there are no corresponding dates in Table B. Where there are no dates, the cell should be blank. (as below.)
ID     Name     Reference     Period     Manager            Start Date     Fieldwork     ReportIssued     ClosedDate
5     Name1     Ref1          July 2009     UserName1     29/09/2009     11/08/2009     14/08/2009     10/07/2009
8     Name2     Ref2          August2009  UserName9     11/08/2009     29/09/2009
88     Name5     Ref5          June 2009     UserName1
The report is grouped by AID, and I have written formulae to extract the dates. All the fields have been placed in the group footer and the dates are extracted as Max{@Start Date}
The report works well, if there is alteast one date for each A_ID.. I have set "Convert Database Null values to Default" in Report Options.
In the XML file that is passed, there can be cases where there are no rows in Table B. In this case, I still need the values of Table A to be extracted in the report.
Does anyone have any idea why this is happening.
Thanks
Tanya

Hi Tanya,
Try once with changing 'Join'  for both tables.
By default it will be "Inner join". Change that to "Left Outer" join.
DatabaseExpert>Links tab>Right click on Table link>Link options>In Join Type Select "Lefet outer Join" radio baox-->OK
Ragards,
Salah

Similar Messages

  • Report Region show all rows?

    Hi,
    I have a report region in which I want to show all rows. Setting the pagination scheme to No Pagination doesn't
    seem to do the trick. I have set Number of Rows and Maximum Row Count both to NULL. Nothing seems to work.
    Is there some trick to get all rows to be displayed?
    Thanks in advance!

    Hi,
    I have two report regions on different pages. On both I have set 'Number of Rows' and 'Maximum Row Count' to null. One report will return all the records in a query (~800), the other report will only return 500. I can't see any other differences in the reports that would cause this behaviour.
    I didn't really want to restrict my reports to a set number of rows, is this really the only option?
    Thanks,
    Rochelle.
    Edited by: Rochelle K on Nov 5, 2009 10:13 AM

  • Show all rows in interacive report

    Hi there,
    I built an interactive report, when I run the report it shows just 15 rows with the ability to see the next 15 rows -
    Iam asking how to show all rows as a default whenever the user runs the report.
    Regards,
    Abdul

    I saw in another thread that the trick is to log out as the developer and close the browser. I tried that and now it appears that my change to 100 rows as the default report rows seems to hold when I log in just to the application in another browser. When I tried it without logging out, it did not seem that the default became active--even when going in through another browser. Seems like a bug that should be fixed??
    Pat

  • How to set selected all rows in h:dataTable

    hello, I want to selected all rows in a dataTable.
    I use JS to got it:
    the selectBooleanCheckbox in the header of row:
    <t:selectBooleanCheckbox id="aa" value="#{list.checkbox}" />the JS code :
    <script type="text/javascript" language="JavaScript1.2">
        function selectAll(obj, first, size) {
            for (var i = 0; i < size; i++) {
                var current = eval(first - 1 + i);
                var objs = document.getElementById("form:listbody:listtable:" + current + ":aa");
                obj.checked ? objs.checked = true : objs.checked = false;
    </script>and the "selectall" code:
    <h:selectBooleanCheckbox id="selectAll"
                                  onclick="javascript:selectAll(this,#{firstRow},#{displayedRowsCount})"/>It run good in IE,but not it does not work in firefox.
    Are there some method to do?
    Or is there a method to select all rows just use JSF?
    Needs you help!

    Yes, the paging for <h:dataTable> works pretty good, it manages the task through four methods created in the java code -- DataTable1_firstPageAction(), DataTable1_previousPageAction(), DataTable1_nextPageAction(), DataTable1_lastPageAction() -- without adding any javascript in the jsp page.
    Maybe I could test if a java script similar to the <ui:table>'s one fit also the dataTable...
    thanks

  • Javascript alert when showing all rows of a huge table ( 2000 rows)

    i've got this problem. I need to show all the rows of a table, i'm using ADF 10.1.3.4.
    What have i done so far?first of all i created a command link
    <af:commandLink shortDesc="Mostra Tutto" id="showAll"
    disabled="#{bindings.findAllVwEntePrmzRefrIter.estimatedRowCount == 0}"
    action="#{backing_editReferenza.onShowAll}"
    />
    In the backing bean i set the rangeSize of the table to -1
    public String onShowAll() {
    Object objShowAll = getSession().getAttribute("showAll");
    FacesContext fc = FacesContext.getCurrentInstance();
    ValueBinding vb = fc.getApplication().createValueBinding("#{bindings.findAllVwEntePrmzRefrIter}");
    DCIteratorBinding dc = (DCIteratorBinding)vb.getValue(fc);
    int oldRangeSize = dc.getRangeSize();
    dc.setRangeSize(-1);
    int rangeSize = dc.getAllRowsInRange().length;
    dc.setRangeSize(oldRangeSize);
    if ("Y".equals(objShowAll)) {
    getSession().removeAttribute("showAll");
    Integer oldRange =
    (Integer)getSession().getAttribute("oldRangeSize");
    getSession().removeAttribute("oldRangeSize");
    getTable1().setRows(oldRange);
    } else {
    getSession().setAttribute("showAll", "Y");
    getSession().setAttribute("oldRangeSize", oldRangeSize);
    getTable1().setRows(rangeSize);
    return "";
    // AdfFacesContext.getCurrentInstance().addPartialTarget(getTable1());
    Everything runs smoothly, but i have a problem if the table has lots of rows: i get a javascript warning that a script has been running for too long. (The alert goes: "Stop the execution of the script?" the usual javascript alert you get when a script runs for too long)
    What i want to achievt is that, if the table contains a lot of rows, the page takes a lot of time to load, but with no javascript involved (it's just a normal slow page).
    It seems that in some way the rows of the table are fetched by javascript and since the call is synchronous, it trigger the alert.
    This is how i declared the method iterator
    <methodIterator id="findAllVwEntePrmzRefrIter"
    Binds="findAllVwEntePrmzRefr.result"
    DataControl="FePrmzSLESSEJBLocal" RangeSize="10"
    BeanClass="it.ws.sma.prmz.ejb.model.VwEntePrmzRefr"
    Refresh="deferred"
    />
    and this is how i declared the table
    <af:table value="#{bindings.findAllVwEntePrmzRefr1.collectionModel}"
    var="row" styleClass="tableRefr #{backing_editReferenza.tableReferenzeStyleClass}"
    rows="#{bindings.findAllVwEntePrmzRefr1.rangeSize}"
    first="#{bindings.findAllVwEntePrmzRefr1.rangeStart}"
    emptyText="#{bindings.findAllVwEntePrmzRefr1.viewable ? 'Nessuna referenza trovata' : 'Accesso negato'}"
    binding="#{backing_editReferenza.table1}" id="table1"
    banding="row" bandingInterval="1"
    partialTriggers="btnEliminaRefr btnSvuotaPromo btnRemove btnAdd insVeloce">
    has anyone an idea onwhat could i do to have the table load all the rows from the server but withouth the alert?

    Sorry i haven't explain it well...
    the app is used to replicate entire databases, or agrupations of tables, from one database to another and it will have to be vendor independent... I'm trying with DB2, Oracle and MySQL. Later i will test it with more.
    Then I couldn't use vendor dependent SQL neither configuration parameters. Also I prefer to make the import logging the actions: for restoring purposes; maybe the user will have the option but defaults to the ohter.
    I'm thinking about some "strange" query SQL Stardard, like delete from table where (select .... using some kind of counter....

  • Showing all rows in updatable report

    Hi everyone,
    the users of my application have requested the option of showing all records, even though the updatable report has pagination turned on. How can this be achieved at run time?
    Thanks a lot,
    Henrik

    By specifying a select list - some static LOV for the number of rows you want to show. You can enter the name of that item in your report properties - Number of Rows Item.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Show all rows in ALV

    Hi,
    i use an ALV and want to show all exsiting rows. Until now i can only see the first 10 rows. How can i do that?
    regards,
    Sharam

    Try This
    lr_table_settings ?= l_value
      data:
          lr_header type ref to cl_salv_wd_header.
      lr_header = lr_table_settings->get_header( ).
      lr_table_settings->set_visible_row_count( 2 ).
    You can pass the no of visible rows you want in  this  method set_visible_row_count. in this code its 2.
    Regards
    Naresh

  • Enterprise Manager Database Control not showing all rows

    Hello,
    I populated a DB through SQL Developer but when I access the DB control of EM and hit "view data" for the correspondant table, only few of the rows are shown.
    Any idea why and HOW I can get it to show all the data I inserted?
    Many thanks!

    There could be few reasons as follows.
    1. You could have filter set in Sql Developer - Try the same from a sqlplus.
    2. you can have a VPD policy on the table - Check for policies on that table using dba_policies.
    3. Also try to analyze the table and check for num_rows from dba_tables. That will tell you exactly how many rows you have irrespective of tool, policy, etc etc.
    Thanks,
    Ankit.

  • Analysis does not show all rows returned by SQL

    Hi.
    OBIEE 11.1.1.7.0
    I have a strange problem.  I have a simple table that should return customer number and sales.  The report will show all of the sales, but it does not show all the customer numbers.  The SQL that OBIEE creates does return all of the customer numbers.  When I remove the sales and just include the customer number, the report only shows a couple of the customer numbers (it should show several hundred).
    I guess what I'm looking for is any advice for how to debug this.  I have spent about 3 days on this problem, so I have tried to look at it from every angle (data, RPD, report).
    Any suggestions are appreciated.
    Thank you.

    Thank you for your reply.
    New development.  The issue has to do with a descriptor ID column.  The customer number column is a varchar field and I set the descriptor ID column to the column_ID field.  When I remove the descriptor ID setting, I received all custom numbers.

  • JComboBox doesn't show all Rows in the View Object

    Hi,
    I've got a JComboBox which shows only 25 rows of the VO and I'm sure there are at least 50 or more rows.
    I'm also sure this is not JComboBox.maximuRowCount's fault, which just in case i've set to Integer.MAX_VALUE.
    Why is this happening? How could i change it?
    Thanks in advance. Pablo.

    set the RangeSize attribute of the iterator that is populating the
    list values to minus one (–1). This will ensure that all of the possible list
    items will appear in the list. Failure to do this will restrict your lists to a
    maximum of 25 entries, the default value of the RangeSize property.

  • Spark Datagrid - Show all rows using requestedRowCount & variableRowHeight=true

    I have a Spark Datagrid that has variableRowHeight=true. I also have the requestedRowCount set to the length of the dataProvider. So, in theory the rows shown should be the same number in the dataprovider(Arraycollection). However, the problem is that due to having variableRowHeight=true and some rows being multiline,  in some instances, all of the rows are not getting shown. 
    Suggestions on how I can fix this issue?
    Thanks, in advance.

    Does anyone have a solution for this? I have exactly the same problem.
    Datagrid with requestedRowCount="-1" and variableRowHeight="true"
    No issue with autoexpanding the grid - and no issue with autoexpanding the row height with word-wrapped text.
    But when combined - a grid that has 5 elements in dataprovider will only show 3 - if one row has been expanded to handle the word-wrapped data.
    Is it possible to count the rowheights and override the measure function with minheight or measuredminheight?
    Or do I need to call something other than invalidateDisplayList after dataprovider changes?
    Any suggestions or sample code would be welcomed.

  • Apex Flash Chart Not showing all rows

    I am using APEX 4.0.2 and have created a flash chart. I added a scroll bar, but don't get all of the rows that I expect. I ran the sql in a PL/SQL develoepr session and get all of the expected data. Where do I tell APEX to return all data found?
    Thanks!

    Thanks for the reply!
    This tool is so robust, its easy to overlook what is right in front of you.
    Second half of the question:
    I have about 1500 rows reporting in the horizontal chart. It seems that the chart has to be sized HUGE to keep the chart readable even though there is a scroll bar. Is there a way to force the hight of each horizontal bar rather than what it appears to be doing, which is shrinking each bar to the point it's not readable.
    Thanks!

  • 9i; UIX  BC4J Tags; How to show all retrieved rows using bc4juix:Table .. ?

    seems <bc4juix:Table ....> tag by default shows the rows one by
    one. I just need to know any attribute/way to change the default
    to show all rows, or more than one row in each iteration.

    even <jbo:DataTable...> only shows one row. I'd to show all
    rows retrieved. Please advice.

  • How to get all rows/cols in pivot even if fact values are not available

    If I have a a result set and then pivot on it then only the side/top labels appear for items with fact values. Is there any way to achieve the following :
    Result Set gives the following pivot table
    Area1 Area3
    country 1 100 10
    country 3 200 20
    If there any way to ensure that pivot shows all row and column values and then fills in 0 for the missing facts ?
    ie.
    Area1 Area2 Area3
    Country1 100 0 10
    Country2 0 0 0
    Country3 200 0 20
    hope this makes sense. Basically I have a static format Excel report that the information is exported to and sometimes at the beginning of the month the daily report does not show all rows.
    Thanks
    Kevin

    outer join your dimensions to the facts so that all the dimensions are there

  • Downloading All Rows in OBIEE 11g

    Hi all,
    I'm just starting using OBIEE 11g, and found out the difference between 11g and 10g on the downloading of query result from the Answers.
    In OBIEE 10g:
    (1) Default rows shown in the table view is 25.
    (2) Clicking on "show all rows" will show all available rows.
    (3) Downloading to Excel will download all available rows, no matter what I'm currently seeing. So even if I'm seeing row 1-25, all available rows will be downloaded; if I'm seeing row 100-125, all available rows will be downloaded; and so forth.
    In OBIEE 11g:
    (a) Default rows shown in the table view is 25.
    (b) Clicking on "show all rows" will only shows 500 rows.
    (c) Downloading to Excel will only download the rows which are currently shown. So if I'm seeing row 1-25, that's all that will be downloaded; if I'm seeing row 501-1001, that's all that will be downloaded; and so forth.
    I've looked at some blogs about this, and found out that it is possible to increase the number of maximum rows shown by adding <MaxVisibleRows>500000</MaxVisibleRows> and changing <DefaultRowsDisplayedInDownload>500000</DefaultRowsDisplayedInDownload> in the instanceconfig.xml file. It solved the problem (b) above. So now, clicking on "show all rows" will show 500000 rows. It's not really show all rows, but it should be enough.
    However, problem (c) still exists. I can only download all rows after clicking "show all rows" first. It means, I will have to show the maximum 5000000 rows first so that I can download them. Which is different from 10g, as mentioned in point (3) above.
    I'd like to be able to download all available rows without having to show all the rows first. Because if I have to show all the rows first, when there are a lot of records, it will make the browser hang. Is it possible to achieve the same method as what was done in 10g? Any advice?
    Thank you very much.

    Hi,
    Refer
    http://obieeelegant.blogspot.com/2011/06/exporting-in-excel-to-download-more.html
    Increasing the no.of rows/pages in obiee 10g answers
    Sent it from iPhone 
    Thanks and Regards,
    Devarasu.R
       update the below code in you instance config.xml file, after that restart all bi services.
    <Pivot>
    <MaxCells>1920000</MaxCells>
    <MaxVisibleColumns>30</MaxVisibleColumns>
    <MaxVisiblePages>1000</MaxVisiblePages>
    <MaxVisibleRows>64000</MaxVisibleRows>
    <MaxVisibleSections>25</MaxVisibleSections>
    <DefaultRowsDisplayed>64000</DefaultRowsDisplayed>
    <DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
    <DefaultRowsDisplayedInDownload>64000</DefaultRowsDisplayedInDownload>
    <DisableAutoPreview>false</DisableAutoPreview>
    </Pivot>
    <Table>
    <MaxCells>1920000</MaxCells>
    <MaxVisiblePages>1000</MaxVisiblePages>
    <MaxVisibleRows>64000</MaxVisibleRows>
    <MaxVisibleSections>25</MaxVisibleSections>
    <DefaultRowsDisplayed>64000</DefaultRowsDisplayed>
    <DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
    <DefaultRowsDisplayedInDownload>64000</DefaultRowsDisplayedInDownload>
    </Table>
    Thanks
    Deva
    Edited by: Devarasu on Nov 4, 2011 10:48 AM

Maybe you are looking for

  • Quicktime Broadcaster crashes after a few seconds

    Hi This will probably be all too vague for a good answer but thought I'd ask anyway... Does have experience of Quicktime Broadcaster being unstable? I've tried using it with a USB webcam (logitech pro 9000) device that works fine with other apps on t

  • PreparedStatement issue in weblogic 8.1

    stmt.setTimestamp(num,<Timestamp>) inserts junk values into other fileds in the table. This is an occurence in weblogc 8.1. Anybody with a similar issue and a solution thnaks in advance suraj

  • Why can't I see any of my synced apps on 5s?

    I've updated all apps, updated iTunes, arranged everything as I want, and synced my 5s.  I cannot see any of my downloaded apps. I download a new app...I can watch it download onto my screen, and them it disappears.  My Settings say the apps are ON t

  • Using 1.4 with 1.3 compiled files

    According to the various benchmarks, 1.4 is faster than 1.3 for some things. Since I use JBuilder, I'm stuck with a 1.3 compiler for now. If I use the 1.4 JRE, will I take advantage of improvements to the rendering pipe-line etc, or not?

  • Use of filter in my pivot table

    Hi!! I am using jdeveloper 11.1.1.5 I had created a read only ViewAdfVO. Here s the querry select glal_plant "glgh_parent_group", gacl_acct_type||glal_plant  "glgh_group", DECODE(gacl_acct_type,'A','ASSETS','L','LIABILITIES','Q','EQUITY', 'R','REVENU