APEX Filters

We have an interactive report that we have limited the number of rows that can be returned using the "Maximum Row Count" in the pagination definition. IE. The query if ran in sqlplus would return 1,000,000 rows but we limit to 500. The question is, when a filter is applied to the IR does it filter only on the result set of the IR (the subset of 500 records limited by the max row count setting) or does it first apply the filter to the whole set of data, 1,000,000 rows?
Thanks
Jon

It will filter on the full data set, ie 1,000,000. It should be easy to test yourself if you want some more assurance.
Shunt

Similar Messages

  • Database Queries/Filters Using APEX Maps

    Hi All,
    I'm a new programmer to Oracle APEX, and would love some help!!
    I am constructing a database that has information about laboratories around the world that test for a certain type of disease. I've built a page in my application, and within that page, I have a Map region showing the United States. I want the user to be able to click on a state and it will send them to a filtered list (or table) of all the labs in that state. From there, the user should be able to click a lab and view all of the tests available at that lab. I'm having a difficult time getting the filtering of the database to work when the user clicks on a state. If anyone could help me figure this out, that would be wonderful!
    Thank you so much in advance!

    If you mean a flash chart that is building a map of the us, then you can do this will ease..  You would build a Anychart Map of the US as a region and associate your lab data for each state.  I would then have the State drilldown to an interactive report that would allow accessing each site..
    Does that help?
    Thank you,
    Tony Miller
    LuvMuffin Software

  • BUG -- Column filtering bug in Apex 4.1 causing pagination error?

    Hi All,
    I'm getting a pagination error, when filtering from the column header in an Interactive Report.
    Report error:
    Invalid set of rows requested, the source data of the report has been modified.
    Reset Pagination*
    The steps to recreate:
    1. Run an Interactive Report
    2. Click the next button to go to the second page of data.
    3. From the column header select a data element that will return less than 15 rows. Note -- if the there are 15 or more rows of data, the error will not occur.
    The Report will fail with the error shown above.
    Note that the same error does not occur if you use the filter from the Action menu. This appears to be a bug in the column filtering.
    It looks like the pagination needs to be reset after the column filter, but how is this done?
    I'm using the canned interactive report with no customizations. Is there a fix for this issue?
    Thanks

    This «bug» is known for a long time unfortunately...
    I never find any solution for IR report filtering.
    Maybe you can use some JQuery to change the link when clicking a value in the list, (add a code that will update pagination).
    Something like :
    $('#apexir_rollover_content').load(function() {
         $(this).find('a').click(function(){
              gReport.search('SEARCH');
    });But I don't think it will work, as they already use JQuery to bind that <a> events.
    In case you update your report using a button, you can simply use a "reset pagination" process called on button click.
    In case you use column link you simply have to tick the «Reset Pagination» checkbox.
    I hope Apex team will fix that one day.
    Good luck.
    Yann.

  • Interactive Report Filtering apex 3.2.1

    Hello there,
    I've been searching around for some time and I can't seem to find much on filtering saved reports.
    For example I have a report which displays information on a set of organisations and depending on the user, they can only see their own allocated organisations reports.
    However, if someone saves a report (i.e. create a sort on details and save it as a saved report), it shows up on another person's interactive report as a saved report despite looking at a different organisation's details. Is it possible to only show saved reports to people who created the report for a particular organisation?
    Apologies if this is somewhat confusing.
    Thanks for your time!
    Stef
    Edited by: SHuth on 01-Sep-2010 04:21

    Hi,
    As I understand and tested, saved reports are visible only for that user who saves it.
    Developer can save default report, that is visible to everybody.
    I do not know where start looking your problem. But it sounds something relating your authorization
    What kind authorization you use ?
    Is page public ?
    Regards,
    Jari

  • Oracle Apex - SSO with IBM Tivoli Access Manager WebSeal - filters out Files with Server Error 500

    Hi,
    We are using IBM Tivoli Access Manager for SSO to authenticate users to access our APEX application. The authentication works but...
    When the application is being accessed with the WebSeal JS/CSS files are randomly not loaded and show up with either HTTP 400 or HTTP 500 error in the FF Toolbar Console. Of course without certain CSS / JS files the application can't be used by the user.
    If the application is accessed without WebSeal all files are loaded successful.
    Our set up:
    There are two APEX Applications using the WebSeal - the first one apparently works
    Apex Listener on Tomcat7.0
    Apex 4.2.6
    We tried all kind of different WebSeal configurations but nothing worked so far.
    I found the following:
    interactive report problem with SSO
    ==> Does anyone know how to use mapping tables and does it help?
    Interactive report javascript error due to proxy
    ==> The solution is for EPG but we use Tomcat as Listener so the solution does not apply
    Does anyone know how to configure the WebSeal ?
    Thanks

    I have same issue with Apex 4.2.6 and Webseal,  but only on Mobile Application.  Desktop Application is ok.
    I have raise a SR on supportweb, but SR engineer tell me it's may be the Webseal issue, they can't reproduce it with Oracle Access Manger.
    It's really a tough issue.

  • Interactive report column filters to display differently than column values

    Greetings...
    We use images a lot in our interactive reports to provide a visual representation to a status, or something locked for update, or what-have-you. By default, when a user clicks the column heading of a column which contains images, the drop-down list that shows up displays the actual images, which is nice for the user to identify exactly which thing they want to filter on. The problem is when the user selects on of the options in the filtering drop-down, the resulting condition that is displayed under the interactive report search bar is the HTML code of the image. I'd like something else to display there because showing the user the HTML code is atrocious.
    I didn't think what I want is possible, but then I came across the Page Locks page within ApEx (page 4000:291 in ApEx 4.0.1) which displays a list of all the pages of an application and whether they are locked or not. It also allows you to bulk lock or bulk unlock a bunch of pages. That page uses an interactive report with a column called "Status" which contains images that represent whether the page is locked or not. When you click the "Status" column heading to filter, instead of seeing the images of an open and closed lock, you see the words "Page Locked" and "Page Unlocked." And even better... when you select on of them, the condition that is displayed to the user is very user-friendly.
    Can someone tell me how this is done so I can replicate it in my own apps?
    Shane.

    Why not create the IR using the text you require e.g. 'Lock', 'Unlock' and then use JQuery to replace the text in the report with the image you want. All the filters should then show the plain text and the report will display the image. e.g.
    http://apex.oracle.com/pls/apex/f?p=46801:1
    Here's what I did:
    Firstly make sure the IR has a region template.
    Then create a Dynamic Action with the following attributes:
    1. Advanced
    2. Event: After Refresh
    3. Selection Type: Region
    4. Region: [select the IR Region]
    5. Action: Execute JS Code
    6. Fire on page load: [checked]
    7. Code:
    $('td [headers="TEST"]').each(function(index) {
      if ($(this).text() == 'Lock') {
        $(this).empty().html('<img src="/i/htmldb/icons/locked_small.gif" alt="Lock" />');
      else {
        $(this).empty().html('<img src="/i/htmldb/icons/unlocked_small.gif" alt="Unlock" />');
    });Where TEST is the column name.
    That's it, this may also be of interest:
    http://simonhunt.blogspot.com/2011/10/adjusting-interactive-report-column.html
    I hope it helps
    Shunt

  • Is there a way to do a "OR" with filters of an Interactive Report?

    Hi,
    I've noticed for a long time now that when you apply filters on an Interactive Report, they are applied on top of each other. But there is no way to apply them in an 'OR' fashion it seems. Unless I am mistaken.
    Now I know that you could apply a Row filter and do something like B = 'Something' OR B = 'Something Else', but the that isn't user friendly enough for my clients.
    Thanks

    You can, it's just not easy.
    Under Actions, select Filter. Change from a column filter (the default) to a row filter. This lets you put in pretty much anything you want for your filter, including things like "A=3 or A=5". This is one area where knowing SQL can be beneficial for users of APEX.
    Ignore that; I hadn't read your message closely enough before posting.
    -David
    Edited by: David Gale on Dec 20, 2010 11:34 AM

  • Need to Programmatically Set IRR Filter on Date Field Due to APEX 4.1 Bug

    There may be another work around but, here is the problem that we are encountering...
    We have a huge table that is partitioned on a DATE field and an IRR that reports on this table. By default, we want to show the most recent 3 days of data. There is a built-in filter for "is in the last 3 Days." Sounds Great! Unfortunately APEX generates the code using TIMESTAMP rather than DATE functions. As a result of this, the query does not perform partition pruning and, as a consequence, it is doing a full table scan which takes forever. Note the use of the "LOCALTIMESTAMP" function in the query that is generated by APEX for this filter:
    SELECT   "BUSINESS_DATE",
             COUNT ( * ) OVER () AS apxws_row_cnt
      FROM   (SELECT   *
                FROM   (SELECT   *
                          FROM   position_delta_his p) r
               WHERE   ("BUSINESS_DATE" BETWEEN *LOCALTIMESTAMP*
                                                - NUMTOYMINTERVAL (:APXWS_EXPR_1,
                                                                   'year')
                                            AND  *LOCALTIMESTAMP*)) r
    WHERE   ROWNUM <= TO_NUMBER (:APXWS_MAX_ROW_CNT)If, instead, APEX used the SYSDATE function, as the underlying column is a DATE, this returns instantly, after partition pruning.
    SELECT   "BUSINESS_DATE",
             COUNT ( * ) OVER () AS apxws_row_cnt
      FROM   (SELECT   *
                FROM   (SELECT   *
                          FROM   position_delta_his p) r
               WHERE   ("BUSINESS_DATE" BETWEEN *SYSDATE*
                                                - NUMTOYMINTERVAL (:APXWS_EXPR_1,
                                                                   'year')
                                            AND  *SYSDATE*)) r
    WHERE   ROWNUM <= TO_NUMBER (:APXWS_MAX_ROW_CNT)
    The bug is that APEX should base the underlying function on the data type of the filtered column.
    As a work around, if we create a filter where BUSINESS_DATE >= '4/13/2012' (three business days ago), again, this returns instantaneously. The issue is that we can only set this filter by using the APEX GUI. We need to be able to:
    1. Determine the date for 3 business days ago
    2. Set this as the default filter.
    I tried creating a BEFORE HEADER PL/SQL page process but, it does not appear to be having any effect. Here is that code:
    DECLARE
        ldt_Filter DATE;
        CURSOR lcsr_GetMaxBusinessDate IS
            SELECT Max(BUSINESS_DATE)
            FROM POSITION_DELTA_HIS;
        DAYS_AGO CONSTANT NUMBER := 3;       
    BEGIN
        APEX_UTIL.IR_CLEAR( :APP_PAGE_ID );
        OPEN lcsr_GetMaxBusinessDate;
        FETCH lcsr_GetMaxBusinessDate INTO ldt_Filter;
        CLOSE lcsr_GetMaxBusinessDate;
        ldt_Filter := ( Trunc( ldt_Filter ) - 3 );
        APEX_UTIL.IR_FILTER( p_page_id       => :APP_PAGE_ID,
                             p_report_column => 'BUSINESS_DATE',
                             p_operator_abbr =>'GTE',
                             p_filter_value  => TO_CHAR( ldt_Filter, 'YYYYMMDDHH24MISS' ) );
    END;Can anyone tell me:
    1. How to set this filter programmatically (also needs to be displayed on the page so the user can see the current filter...as if it were created via the GUI) ***OR***
    2. Some other work around for this issue..
    Thanks,
    -Joe

    Actually, now that I look further, I don't think it is going to work to simply set the filter programmatically. The end user can still click the column heading where they are only given the choice of the LOCALTIMESTAMP based filters. If they pick one, the page is going to be out to lunch for them.
    We really need some other fix. We really need a way to actually address the underlying issue.
    -Joe

  • Adding Every Row From a Filtered Interactive Report to a Collection

    I'm creating an email list maintenance application in Apex 3.1. I have an Interactive Report on an email address table. I want the users to be able to run this IR and then click a button to add all of the resulting email addresses into a selected mailing list table. The interface needs to be as quick and simple for the user as possible, so I don't want to force them to click a checkbox beside hundreds of rows.
    Is there a way to add every resulting row from a custom IR to an apex_collection?
    I know that collections can be created based on a query with the CREATE_COLLECTION_FROM_QUERY call. But I don't think it's possible to reference the SQL statement which is dynamically generated through an Interactive Report. I'm referring to the SQL created after the user has applied filters. If there were, then I would just create the collection that way. Please correct me if I'm wrong.
    Thanks,
    Martin

    Hi Martin
    I couldn't find a place where the filters are stored either - it would be nice to know.
    It is possible to get to the filters via javascript as they are actually stored in a table with an id of "apexir_CONTROL_PANEL_COMPLETE". Within there, there are rows for each filter and each row has four cells. The second cell contains an A tag that has the filter itself as the text displayed as a hyperlink on screen. The third cell contains the checkbox that enables/disables the filter. Strings and numbers seem to be formatted ok, so you could pick up these values and create your own WHERE clause, populate a hidden field somewhere and then pick that up to generate a full select statement to get to the id's that you need.
    I haven't yet tried this, so this is theory only - but I can't see that it wouldn't work
    Andy

  • HELP IR Download filtered saved report to CSV

    Hi there
    My enquiry is to do with the saved reports feature in Interactive Reports Apex 4.1
    I create a default IR report and then I subsequently define a filter on this report effectively limiting the displayed output to the rows of data I want to see. I then save the report which is now a 'private' report. If I run the 'saved' (with the filter condition) IR report it displays the data correctly, with the 'saved' report displaying the correct data on the screen I then click Actions->Download and then select CSV - the entire 'primary' report is downloaded -- The filter is ignored!!! Surely the Actions->Download should 'know' that I want download the report that's being displayed (just run) on the screen?
    I think that when you click on the CSV icon the report is re-submitted - How can I get the CSV download to apply the filter that I've defined in the saved report.
    I've searched this forum and found the following similar question being asked
    Re: Problem with export from a saved interactive report
    Interactive Report Download to csv problem
    how to download only filtered data in csv?
    Re: Download Saved Report in IR 4.1
    Thanks in advance
    PS: Is the above an undocumented feature of Apex IR Reports?
    Edited by: boketi on Sep 25, 2012 7:05 AM

    Hi Sathish,
    Thanks for your comment.
    I agree with just a 'default' report the CSV download always gives what is displayed on the screen. If you then define another report with a filter condition and run this 'private' report 'sometimes' the CSV download gives the origional primary report, ignoring the filter condition. Please see the attached links as other people are also getting the same problem.

  • How to open a Google popup window for an APEX 3.2.1 aplication ...

    Hi folks,
    I am implementing an APEX application that presents a report with a search field with a checkbox (search google ON/OFF).
    If this checkbox is activated by the user and he clicks on GO button, the application will filter the APEX report. At the same time, it will open in a separate window with the google search tool, using the same parameters existents in the APEX report search field.
    If the checkbox is not activated, only the filtered report is displayed, without the google window.
    Is it possible to implement on APEX 3.2.1? How could i do it?
    I'm trying to use the examples in the forum (ex: javascript function in the HTML page header, and activating function by a branch).
    I'm working with APEX to version 3.2.1, with Oracle Database 10g XE.
    Best regards,
    Sergio Coutinho

    Hi Sergio,
    Do you need of opening a google search within application page, then you do this.
    Create a HTML region and specify the following as the region source
    <iframe src="http://www.google.com" height="980" width="650"></iframe>Regards
    Mini
    Mark Answers promptly

  • Is there a way to lock filters?

    I'm trying to build some sort of Agenda for a Lawyer's service in my intership, and yesterday, I've been asked about something I never heard or saw in APEX. My boss would like the users to be able to filter a report. No problem there, I told him that with an interactive report I could allow them to filter, control break, sort everything they want, the way they want. But he wants to be able to put pre-defined filters (i.e. filter on the name of the Lawyer) and have them stay there.
    The hic is that he wants the users to be able to modify the name of the Lawyer, for example, and nothing else. No possibility to add filters, slight possibility to change the filters (only the Expression and the Operator, not the Column) and no possibility to delete said filters.
    I know I can disable the actions menu (or the search bar altogether), but I have no idea if locking the filters is possible, and if it is, if it's possible to have users modify them slightly. I know it's kinda contradictory, but that's how he wants it. I personally believe it is not possible, but he seems to have no confidence in his users.
    Does anyone have even a suggestion?

    First, what is your name?
    Second, I would use a standard report and include the following WHERE clause:
    WHERE myTable.lawyer_first_name like '%' || nvl(:P99_LAWYER_FIRST_NAME,myTable.lawyer_first_name)  || '%' and
               myTable.lawyer_last_name like '%' || nvl(:P99_LAWYER_LAST_NAME,myTable.lawyer_last_name)  || '%' and
               myTable.date_of_the_intervention = nvl((:P99_DATE_OF_INTERVENTION,myTable.date_of_the_intervention) and
               myTable.date_of_the_intervention  between nvl(:P99_FROM_DATE,myTable.date_of_the_intervention) and nvl(:P99_TO_DATE,myTable.date_of_the_intervention)assumes that a validation exists that if :P99_FROM_DATE is entered :P99_TO_DATE is entered as well (and vice versa) and you have five text fields (:P99_LAWYER_FIRST_NAME, :P99_LAWYER_LAST_NAME, :P99_DATE_OF_INTERVENTION,:P99_FROM_DATE,:P99_TO_DATE).
    Robert
    http://apexjscss.blogspot.com

  • How to create a standard report that allows filtering?

    Hi Guys and Gals,
    Sometimes, the standard report is great because it gives the user the feeling of a grid. i.e. All of the values are editable on one page, kind of like a spreadsheet. That is sometimes very useful. But if there is a lot of data, a filtering mechanism is necessary.
    So will one of you Apex gurus please tell me how to create a standard report that also allows data filtering?
    Allowing the user to specify the number of rows displayed would be peachy-keen too.
    Thanks,
    Kim
    P.S. I'm running Apex 4.1 with Oracle 11g.

    Kim2012 wrote:
    Your idea sounds very promising, but I apparently need a nudge in the right direction. From "Create Page", I clicked on "Form" and then "Tabular Form". Why would you do this? The advice given was
    create a standard report page using the Create New Page wizardi.e. go to Home > Application Builder > Application > Create Page and click Classic Report, this was suggested because the original post said:
    >
    So will one of you Apex gurus please tell me how to create a standard report that also allows data filtering?
    >
    Nothing about forms. Tabular Forms, Tabular Forms. Despite many enhancements over the last few versions, tabular forms still cause problems, especially for novices trying to go beyond their own competence and the built-in capabilities of wizard-generated tabular forms.
    More good advice: Re: Newbie question-how does the tabular form work?  How to populate prim key? and&mdash;if based on decent database design&mdash;out of the box you have a usable and robust application. Use an Interactive Report or a custom report template and add some CSS and you can get something a lot more powerful, flexible and better looking than any tabular form. Spend the time you haven't wasted on frustrated hacking of tabular forms adding more features and enhancements to your app.

  • Dynamic HTML rows in IR (Apex 4.2.1)

    Hi all,
    I need a report with a dynamic number of rows, displaying HTML (images).
    Basis for this report is a dynamic created view, where the needed rows are set through filters and actions on some pages.
    So far, so good.
    Now the first problem: The column headers must being rotated 90°.
    So I tried to use "-moz-transform: rotate(-90deg)", but I got this working only with an IR, because in the standard report the header was set everywhere, except the "right" position (e.g. with "-moz-transform-origin: bottom left" - running into other regions above and beside report).
    That's why I picked IR for this, even though I would prefer the standard report...
    Second problem: Everytime the filters were changed and a the new view is generated, the new rows were unknown in the report since I edit (just open and save) the report in the development environment (but the end-user can't do this).
    Third problem: The new rows were of display type "display as text" - so HTML code isn't rendered.
    Fourth problem: In IR, new rows were hidden, so the end-user has to select this new rows from the "IR actions meu" (which I actually don't want to display).
    The last problem would have been settled, if I could take normal reports, but then the first problem appears again...
    I know these are very special problems, but I'm shure that the experts here could solve 'em.
    Any help would be appreciated :)
    PS:
    Apex Version 4.2.1
    Oracle Version: 11.2
    Browser: Firefox 3.6
    PPS:
    Sorry for grammar

    D-Files wrote:
    Hi all,
    I need a report with a dynamic number of rows, displaying HTML (images).
    Basis for this report is a dynamic created view, where the needed rows are set through filters and actions on some pages.
    So far, so good.
    Now the first problem: The column headers must being rotated 90°.
    So I tried to use "-moz-transform: rotate(-90deg)", but I got this working only with an IR, because in the standard report the header was set everywhere, except the "right" position (e.g. with "-moz-transform-origin: bottom left" - running into other regions above and beside report).
    That's why I picked IR for this, even though I would prefer the standard report...
    Second problem: Everytime the filters were changed and a the new view is generated, the new rows were unknown in the report since I edit (just open and save) the report in the development environment (but the end-user can't do this).
    Third problem: The new rows were of display type "display as text" - so HTML code isn't rendered.
    Fourth problem: In IR, new rows were hidden, so the end-user has to select this new rows from the "IR actions meu" (which I actually don't want to display).
    The last problem would have been settled, if I could take normal reports, but then the first problem appears again...
    I know these are very special problems, but I'm shure that the experts here could solve 'em.And they'll find it much easier to do so if you create an example of this on apex.oracle.com rather than creating confusing descriptions like 'in the standard report the header was set everywhere, except the "right" position' here. This will be by far the fastest way to make progress on this.
    There shouldn't be any problem in doing this with a standard report, especially if it only has to work in one browser.
    Browser: Firefox 3.6Any reason for using an out-of-date version?
    For previous discussion on this topic, see:
    <li>{message:id=9780766}
    <li>{message:id=10370895}
    Edited by: fac586 on 15-Apr-2013 12:47

  • Interactive Reports in Apex 4.0

    i've just had a look at the new Web Sheets and improved Interactive reports in the Apex 4.0 early adopters. I was under the impression that we were going to get an on-screen edit facility much like the one in Roel's blog? Am I missing something?
    http://roelhartman.blogspot.com/2009/11/updateable-interactive-report-websheets.html
    I'm also surprised that you can't have multiple filters and specify them as AND/OR.
    I will also feed this back using the new Feedback form.
    Loving Apex 4.0 though ;)
    Shunt

    Hello,
    If you look at Websheets in APEX 4.0 EA2 you can double click on a field in the report and you'll be able to edit it.
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.sumneva.com/

Maybe you are looking for

  • Anyone ever find an answer to generic white icons on the desktop?

    Hiya, I only just updated my system from 10.4.2 - 10.4.5, and have discovered the problem as described in this thread: http://discussions.apple.com/thread.jspa?threadID=222509&start=0&tstart=0 There is no definitive answer on the thread and I can't r

  • Why don't they put emoji on the iPad

    How come they don't put emoji on the iPad like they do on iPhone they should make a update for that

  • How can I get out of the upload/download and just use a convert program right on my computer?

    i recently purchased a package which I thought would download a program for directly converting my Word documents to Adobe.  I realized after the purchase that I had to 'upload/download' everything.  This is extremely slow for me becasue of my feed r

  • Move A Powerbook From EU to US

    I am no expert in electronics or voltage but I do know it is a difference between the States and Europe. I am on my way to US and wondering if I can safely bring my powerbook over the atlantic of I use the world travel kit?

  • Numbers 08 help needed.

    I have and excel sheet, with 12 tables in it. All the tables are identical in every way. What I'm trying to do is have all tables accessed, and make a change on table 1 and have that change, change all the remaining 11 tables. Is this possible?