Interactive Report - adding 2 filters together with and OR

Hi
Is there any way of combining filters with an OR?
End date < 01/01/2011 OR End Date is null
for example
thanks in advance

From the help file of an IR:
FilterFocuses the report by adding or modifying the WHERE clause on the query. You can filter on a column or by row.
If you filter by column, select a column (it does not need to be one that displays), select a standard Oracle operator (=, !=, not in, between), and enter an expression to compare against. Expressions are case sensitive. Use % as a wild card (for example, STATE_NAME like A%).
If you filter by row, you can create complex WHERE clauses using column aliases and any Oracle functions or operators (for example, G = 'VA' or G = 'CT', where G is the alias for CUSTOMER_STATE).>
So the user would have to create a row filter - which isn't exactly user friendly, imo.
Ta,
Trent

Similar Messages

  • Interactive reports do not execute with Z business role

    Hi all,
    We have created interactive reports which are working fine and displaying results with a standard business role. However, the report does not even execute when we use a custom business role - no blank screen no error, but the report does not execute at all.
    What could be missing ? Need your inputs please.
    Regards.

    Compare the profile value for the function profile id REPORTING_PROF in Z business role with your std business role. To check this go to define business roles> select your ZBusiness role>double click on Assign function profiles.
    Hope this helps!
    Regards,
    Kumar

  • 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

  • Interactive Report Hide Filters

    I have built an interactive report with some formatting filters.
    I do not want the users to change anything in this report, so I have disabled
    the search bar.
    They are still able to access these filters and change and delete them.
    How can I stop this ?
    Help appreciated
    Gus

    Hello Gus,
    Put following CSS in page footer text..
    <style>table#apexir_CONTROL_PANEL {display:none;}</style>Regards,
    Hari

  • Interactive Report accumulates Filters

    Hi all
    I have a menu of links, each of them sends you to the same Interactive Report with a certain Filter. All of them are like this:
    :IR_REPORT_30627346:RIR::IRLIKE_MODULES:%25Order%20Management%25
    But each of them get stuck with the other ones, accumulating all the previous filters
    Is there a way to restart the filters and only pass the one I'm sending through the URL?
    See the picture
    [http://oi56.tinypic.com/296n911.jpg]

    Hello Gus,
    Put following CSS in page footer text..
    <style>table#apexir_CONTROL_PANEL {display:none;}</style>Regards,
    Hari

  • Interactive Report "in" filters do not maintain trailling spaces

    I recently came across an interesting situation regarding interactive reports and "in" filters. When building the in list through the filter wizard, any trailing spaces in the column data is trimmed, which leads to inaccurate report results. This doesn't happen on a "=" filter, it seems limited to "in" filters.
    I have an example here: http://apex.oracle.com/pls/apex/f?p=39226:1
    If you click on the "=" filter you'll see the one record with the trailing space is properly displayed. Clicking on the "in" filter and no records are displayed.
    In my particular case, the trailing space shouldn't have been in the data, so I was able to update the table and the filters worked, but if the trailing space was important then the "in" behavior would be troublesome.
    Tony

    Well, considering the fact that there is a space in the data, and NOT in your in clause I bet, then what is the problem??
    Thank you,
    Tony Miller
    Webster, TX
    You know, I used to think that it was awful that life was so unfair. Then I thought, wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? So, now I take great comfort in the general hostility and unfairness of the universe.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Interactive Report using a View with a Pipelined Function

    Hello fellow Apex people,
    I'm Using Application Express 4.1.0.00.32
    I've got an interactive report that references a view (STOCK) and a pipelined function
    The basic query is listed below.
    SELECT S.CHANGED_TIME "Changed Time"
    , S.CHANGED_BY "Changed By"
    , S.ID "Id"
    , STKST_DESCRS.STOCK_STATUS_CODES "Stock Status Codes"
    , STKST_DESCRS.STOCK_STATUS_DESCRS "Stock Status"
    , S.ORIGINAL_CONTAINER "Original Container"
    FROM STOCK S
    , table(LWS_StkstStatus (S.ID)) STKST_DESCRS
    ORDER BY S.CO_ID,
    S.SEQUENCE_NUM;
    When the page is first run all the data is displayed correctly,
    If I define a filter, sort or a blank search the data from the pipelined function (STKST_DESCRS.) becomes null and isn't displayed.
    Does anyone know what is happening?
    Many Thanks

    I'm curious why you find this dangerous. I want a report that looks like this:
    Opportunity X:
    4 - 2-apr-2008 - Closed deal
    3 - 1-mar-2008 - Called Joe again
    2 - 12-feb-2008 - Called Joe
    1 - 14-jan-2008 - Initial call with customer.
    When you enter a new note, I want it to be numbered 5. The only problem I can imagine is someone deleting a note, which will almost never happen, and if it does, it just leaves a numbering gap. I don't see how using the function in a SELECT will accomplish this.

  • Interactive report column filters drop Ampersands

    We have interactive reports that include a column called status, and one of the values for status is R&R. The values are displayed properly in the report, but when the user selects the stats column filter, the value in the list is simply displayed as R, i.e. the &R has been dropped. It is 4.02.07.
    Is this a known issue? if not, what is the process for submitting it as a defect?
    Edited by: user12979818 on Jul 29, 2011 9:12 AM

    Please then SEARCH THE FORUM.. If you think this is a defect of the tool...
    Escaping the "&" character
    Now instead of complaining that the tool is broken, you can also fix it by using this for your LOV..
    If your LOV is dynamic (table driven) you could use this:
      SELECT utl_url.escape(Display_Column,TRUE) Display Column, Returned_Column FROM LOV_TABLE;
    {CODE}
    Please note from this document, that & is a RESERVED/SPECIAL CHARACTER with HTML... Thus it needs be dealt with accordingly..
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/u_url.htm
    Thank you,
    Tony Miller
    Webster, TX
    On the road of life...There are 'windshields', and there are 'bugs'
    (splat!)
    "Squeegees Wanted"
    *If this question is answered, please mark the thread as closed and assign points where earned..*                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Interactive report using Infoset quiereis with SQ01,SQ02,SQ03.

    Hi,
             I have to create a report by using the infoset query with SQ01,SQ02 and  SQ03 Tcodes. But problem my requerment is that I have to create one interactive report with these quereis.
    Can any body tell me how to create this interactive report using infoset quereis OR are there any standard quereis which are having interactive nature.
    Pleas send me the solution and thanks in advance.
    regards,
    J.

    Yes, but I am not able to figure exactly how to implement it? I mean I can do this same code in SE38 where I know names of the internal tables. But when in SQ02 we can't modify/read system tables (I found name of the system tables using report generated by SQ01). So how you will access them, then how you will reflect our changes in output ALV grid?
    Example:
    Data:
    Rate Cat.      Installation     Date
    71     60000984     20/10/2009
    71     60000984     20/12/2009
    71     60001101     10/09/2009
    78     60000310     10/09/2009
    78     60000315     10/09/2009
    83     60000297     10/09/2009
    so in this case I want output:
    Rate Cat.      Installation     Date
    71     60000984     20/12/2009
    71     60001101     10/09/2009
    78     60000310     10/09/2009
    78     60000315     10/09/2009
    83     60000297     10/09/2009
    You will see 71     60000984     20/10/2009 is not the latest one, therefore I don't want that row. I can do the ABAP logic for this, but exactly what and how to implement in SQ02?

  • Interactive Reports - Problem (possible bug) with button template?

    Hey all,
    I possibly noticed a problem with the use of the button template of the search bar in an interactive report.
    When I for example choose 'Button Alternative 1' as Button template and then save my report then it looks perfect.
    When I now Export/import my application, I loose the button template of my interactive report, if I open the report attributes it isn't selected anymore.
    Does anyone else have this problem?
    Apex version: 3.1.2.00.02
    Kind regards,
    Oli

    Oli,
    Thanks for bringing this up. One of my beta testers just called to say that two of our IRs weren't showing the Cancel or Apply buttons at all. But the third IR worked fine. In my Alpha version, all three had Buttons as the selected style, so I'm a bit confused what went wrong.
    But now I'm thinking if the fact that I had multiple themes defined in the application might have caused the confusion. I didn't deploy the themes from Alpha to Beta because they were all based on Theme 13, and I thought my extensions were included in the application export (which I didn't realize until recently). I'm guessing that if I drop the extraneous themes on Alpha and re-select the button theme, I should be okay when I deploy again?
    I just dropped the extra themes in my Beta and the IRs button theme was undefined again, so I'm thinking they were pointing to the wrong "button" style. Hopefully cleaning up in alpha and changing these buttons will resolve this and I won't have deployment problems!
    Wish me luck!
    Stew

  • When using a interactive report I go to aggregate and no column are there

    When using a interactive report I go to aggregate, sum and go to choose my columns but I have no column there what am I missing

    Just a guess, but have you checked to make sure there's a numeric column in your report (and not, for example, a varchar column that happens to have numbers)?
    -David

  • Interactive Report -- Clear Filters -- How?

    I am running into a very weird situation. I created an interactive report and it is working fine.
    Unfortunately, I applied a “Filter” criteria that would make the SQL query run for 4-5 hrs and then the result will come back.
    In this case, I close the browser and went back to the same page (interactive report). I noticed that it still remembers my filter criteria and re-issues the same sql query and I don’t get control of the page. I checked the sql query in TOAD – Session Browser.
    How do I clear the filter criteria? It looks like this interactive page is unusable till I am able to reset my filter criteria.
    Any help would be appreciated.
    Ajay

    I understand that there is a "Reset" button, but the page will not be displayed as APEX is trying to be smart and tries to run the same "run-away query" when I try to go back to the same page.
    And because of this, my browser will not even display the "Actions" button.
    The page is stuck between a rock and a hard place.
    Ajay

  • Keyword Filtering combining with AND

    How do I filter by keywords using the AND operator. It works using find but isn't there a way to combining keywords with AND using the keyword navigator. Like BIRTHDAY AND JOE would give me only pictures from Joe's Birthday? I got to me missing something here?
    Thanks

    There are other ways, but honestly they are so convoluted and non-intuitive they are not worth discussing (I'm sure someone here will fill you in if you REALLY want to know.) Currently, FIND is the best method.
    Feature Request:
    Ahem... let me once again mention that checkboxes next to keywords for doing AND searches would be a welcome addition. I see this is missing in the 2.0 beta as well. I sense some confusion here, so if any of the Adobe developers want a working example of this, I can point you to a little-known application I think most of you have access to... your bosses might even let you install it on your systems as I doubt there would be any licensing issues for you... Photoshop Elements Organizer.
    To help, I've included a link for the LR developers to follow, there is a 30-day trial even!
    http://www.adobe.com/products/photoshopelwin/

  • Service request interactive report is not working with IC Roles

    Dear Experts,
    We are using CRM 7.0 EHP1, we have created some custom reports based on std service request query, we can able to see these reports in IC_AGENT role as well as ZIC_AGENT role but when we click on these reports nothing is happening. But this is giving desired result in salespro role and other Zroles.
    Request your inputs/suggestions.
    Thanks in Advance.
    Regards,
    Kumar.

    Dear Experts,
    Any update on this will be greatly appreciated.
    Thanks,
    Kumar

  • Adding filters to styles and effects

    Photoshop Elements 3, Windows XP
    I have attempted to install downloaded filters, extension .8BF. I placed them in C:\Program Files\Adobe\Photoshop Elements 3.0\plugins\filters.
    Some show up when I open the Editor, others don't. I did empty cache folders under Previews.
    Any help would be appreciated.
    Eva

    Operating system and version? Have you installed anything new lately in PSE or done any OS updates?

Maybe you are looking for

  • Problem in new update 10.3.1.156​5

    I am using software release 10.3.1.1565 on my Z 10 device. But it is not working fine. My device is slow and even touch is not that much good. Also increasing and decreasing media player volume some noise is coming. Any suggestions.

  • Poweshell script for adding the computer object in to SCOM 2012 group.

    Hi Team, Is there any way to add the computer object ( csv file) to SCOM 2012 manually created  group.

  • Capture Trainer in Quiz Results

    We are using Presenter 6.1 and Office 2003. On our shop floor we have trainers that want to lead a trainee through a quiz and then in the Quiz results capture who the trainer was. We are capturing the trainee as that person logs into Connect to acces

  • Change Default Home Screen?

    Hey Team- is there a way to prevent the desktop product from going straight to the "What's New" screen when Spotify starts up? I really don't care for the foul-named playlists and the lame latest & greatest artists recommended on the "What's New" scr

  • Zoom behaving in new unexpected manner

    I don't know if I accidentally hit some perfect combo of keystrokes to change how my MBP zooms, but it is different today than yesterday. I'll do my best to explain. And there are a few different things going on. 1. It used to be that a little circle