Interactive report filtered by date/time ?

Hi All,
I have an interactive report in my application.
Sql query of the report having start date ,end date column name.E.g.The values of start date and end date are like 16-NOV-2009 12:00AM and 16-NOV-2009 12:00AM.
I have 2000 records in my report.
When I go to Filter on the column, I can only pick the Date and not the Time. Is there a way so I can enter Date/Time as the Filter?
I need your help.Please suggest some solution.
Thanks,
Ramya.

Hi All,
Apex gurus please suggest some solution.Is it possible to do this below task?
In an interactive report
Click actions -> click filter -> select 'Start date' ||select operator 'between'||select click expression calender.
In the calender ,i want to display bath time and date.If its a user defined item like P2_START_DATE then i can set the format mask and check the date and time ,but its a in built one!! appearing from Action menu.
Am using APex 4.0,Is it a known apex issue or we can do it by adding some custome code or plugin?
Thanks
with Regards,
Ramya.

Similar Messages

  • Regular Expression functions not supported in Interactive report filters ??

    I'm using APEX 4.0.2 and I'm trying to create a row filter in an interactive report which uses regexp_instr and regexp_replace functions and I'm getting the message:
    Invalid filter expression. regexp_instr
    The code runs fine in SQL Workshop
    select cytogenetics from z_patient
    where regexp_instr(regexp_replace(cytogenetics,'(\,+|\"+|\s)',''),'(^46XX$|^46XY$|^46XX\[..\]$|^46XY\[..\]$)')=1
    CYTOGENETICS
    "46,XX [20]"
    "46,XY[20]"
    "46,XX"
    "46,XY[20]"
    "46,XY[30]"
    "46,XY[26]"
    "46,XY [33]"
    "46,XX[32]
    etc...
    my filter is just the where clause above i.e.
    regexp_instr(regexp_replace(cytogenetics,'(\,+|\"+|\s)',''),'(^46XX$|^46XY$|^46XX\[..\]$|^46XY\[..\]$)')=1
    *Are regular expression functions just not supported in interactive report filters?*
    thanks in advance
    Paul P

    Hi Paul,
    regular expression functions are supported in interactive report filters, but it looks like that REGEXP_INSTR hasn't been added as valid command. Only REGEXP_SUBSTR and REGEXP_REPLACE are valid commands for computation expressions and REGEXP_SUBSTR, REGEXP_REPLACE and REGEXP_LIKE for row level filters.
    I have filed bug# 12926266 to fix this issue. Sorry for the inconvenience.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Interactive Report Returns Misleading Data Because of ROWNUM Limit

    Hi, We have been relying on widespread use of Interactive Reports for internal Business Intelligence in our company, and they have been very popular. However, a user found a data discrepancy when sorting a report because the ROWNUM limit of :APXWS_MAX_ROW_CNT is applied before the user requested ORDER BY clause. We are running Apex version 3.2.0.00.27 on a 10.2.0.4 database.
    The IR query returns quotes from our custom quoting application, and the default number of rows is 100 (and is changeable by the user). The user wanted to see the most recent quotes, so he selected the "Creation Date" column header and simply applied a descending filter. The most recent quote returned was dated last week. However, if he applied an additional filter of "creation date in the last week", he did see today's date and mostly current quote rows.
    When I ran debug on his IR query, I can see that the ROWNUM limit is applied first, then the ORDER BY. This means that the database fetches the first x rows that match the supplied parameters, and then orders the result set. However, this is not what the user meant, he wanted the first rows of an ordered set.
    Here's the debug query output (with the middle removed because it's long):
    select
           "QUOTE_NUMBER",
           "CUSTOMER",
           "CUST_CONTACT",
           "QUOTE_STATUS",
           "TOTAL_PRICE",
           "TOTAL_WEIGHT",
           "WHSE",
           "SHIP_DATE",
           "PO_NUMBER",
           "ORACLE_REFERENCE",
           "INSIDE_SALESREP",
           "OUTSIDE_SALESREP",
           "CREATION_DATE",
           "ID",
           "ORA_CUST_ID",
           "CUST_CONTACT_ID",
           count(*) over () as apxws_row_cnt
    from (
    select  *  from (
    SELECT
      kh.id,
      kh.ora_cust_id,
      kh.quote_number quote_number ,
      kh.cust_contact_id,
      k2_customers_pkg.get_contact(cust_contact_id) cust_contact ,
      k2_customers_pkg.get_cust_name(kh.ora_cust_id)customer,
      k2_customers_pkg.get_cust_number(ora_cust_id)
    ( ......... more sql goes here )
    AND k2_customers_pkg.get_outside_salesrep_number(kh.ora_site_id)||'%' LIKE :P64_OUTSIDE_SALES||'%'
    AND kh.whse_code like :P64_WAREHOUSES||'%'
    AND ((1=
        CASE WHEN :P64_ITEM_ID IS NULL THEN
            1
        ELSE
            (SELECT 1
               FROM k2_quote_lines kl
               JOIN k2_ingredients ki
                 ON ki.quote_line_id=kl.id
              WHERE (1=1
                AND kh.id=kl.quote_id
                AND ki.ora_item_id=:P64_ITEM_ID AND ROWNUM=1))
        END)
        OR 1=(
            SELECT 1 FROM k2_quote_lines kl WHERE kl.quote_id=kh.id AND kl.part_id=:P64_ITEM_ID AND ROWNUM=1
    )  r
    ) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
    order by "CREATION_DATE" DESC,"QUOTE_NUMBER" DESCHowever, what the user wanted is to have the ORDER BY applied first, then the limit. I realize performance may suffer, but users are now alarmed that they cannot trust these reports. I'm tempted to log a SR with Oracle on this.
    Any thoughts on this? Is this fixed in 4.0?
    Thank you, Wolf Moritz

    Hi, thanks for the response. I did spend a bit of time on trying to trick the interactive report into reversing the rownum and order by clauses. But ultimately I didn't see how to do it. Whatever query I paste into the source of the report is then wrapped in a couple of containing select statements which first applies the rownum limit and then the order by clause (if the user selects any columns to sort by).
    So this query:
    select * from scott.empBecomes:
    select
           "EMPNO",
           "ENAME",
           "JOB",
           "MGR",
           "HIREDATE",
           "SAL",
           "COMM",
           "DEPTNO",
           count(*) over () as apxws_row_cnt
    from (
    select  *  from (
    select * from scott.emp
    )  r
    ) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
    pAnd a user applied sort becomes:
    select
           "EMPNO",
           "ENAME",
           "JOB",
           "MGR",
           "HIREDATE",
           "SAL",
           "COMM",
           "DEPTNO",
           count(*) over () as apxws_row_cnt
    from (
    select  *  from (
    select * from scott.emp
    )  r
    ) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
    order by "DEPTNO" DESCIf I could somehow bind to some item for the order by string I might then be able to trick the report into ordering the result set first (which I know can't really be done unless using dynamic sql). Forcing an initial hard coded order by isn't practical on this particular report, although I do see why that might work in some circumstances.
    Side note on the oddly placed case statement: This interactive report has some page level "meta" parameter items, and that case statement was meant as a way to avoid an exists statement on a particularly large table if no value was submitted for P64_ITEM_ID. It's been a long time since we deployed the report, so it's probably worth testing some explain/autotrace plans on this case statement vs an exists statement in the predicate. But for now it works!
    Thanks, Wolf

  • Reuse Interactive Report Filtering components

    Hi everyone! I wanted to create a change notification application with APEX. I'm planning to use the Interactive Report to enable the users build their own saved query using the filtering function of IR. I will provide an option for the user to subscribe (via email) for every query they want when their conditions has been met due to data change in the future. (ex. the user is waiting for some material delivery. This application will alert the user when it became available.)
    I want to use the filtering components from the Interactive Report (column selection, automatic operator availability based on column data type and the expressions box) for query building. Is this possible? Or if not, can I at least retrieve the "SQL WHERE clause" behind the Filter?
    Any ideas for this type of application? Thanks in advance!

    I've found it! I could get the SQL for the filters by using the APEX_APPLICATION_PAGE_IR_COND APEX view. I'm still not sure about the multiple user situation. But all the filter information are there! Great!
    APEX is magnificent! And I'm such a newbie.
    Thanks!

  • 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

  • To reference Interactive Report filtered rows in PL/SQL

    Hello All,
    I am using an interactive report on a page. I want a page process to reference the rows filtered dynamically by an end user. The report to be referenced is not saved but merely filtered from the primary report.
    How do I reference the filtered rows in pl/sql. I have searched through the forum and can't find a concise answer.
    Br,
    Ben.

    Hi Trent, Jari, Ben
    Update the IR's SQL to include APEX_ITEM.HIDDEN(1, primarykeyfieldname) || firstdisplayedfieldname columnheading and then use APEX_APPLICATION.G_F01 to loop through the results using PL/SQL to get the primarykeyfieldname values displayed and retrieve the rest of the data from there if necessary.
    That will still require that all records are displayed, though.
    Something like: http://apex.oracle.com/pls/apex/f?p=267:237
    The SQL is:
    SELECT APEX_ITEM.HIDDEN(1, EMPNO) || EMPNO EMPNO, ENAME
    FROM EMPand the process is:
    DECLARE
    vTEMP VARCHAR2(4000);
    BEGIN
    vTEMP := '';
    FOR x IN 1..APEX_APPLICATION.G_F01.COUNT
    LOOP
      vTEMP := vTEMP || APEX_APPLICATION.G_F01(x) || CHR(13) || CHR(10);
    END LOOP;
    :P237_SELECTED := vTEMP;
    END;which just outputs the EMPNOs showing on the page into a Display Only page item.
    Andy

  • Interactive report filter for date not working correctly

    Hi,
    I am having an interactive report. I tried to give a filter for a column(created_on) as created on>29-oct-2009 17:17
    but i am getting the row containing created on as *29-oct-2009 17:17* in the report result. How can i correct this
    problem
    Thanks,
    TJ

    Hi,
    I think it is because seconds.
    So it is 29-oct-2009 17:17:00 and your record is e.g. 29-oct-2009 17:17:02
    br, Jari
    Edit
    You can use trunc function in your select so that it round date to minutes
    TRUNC(created_on,'MI') AS created_onBr, Jari
    Edited by: jarola on Nov 5, 2009 3:02 PM

  • Crystal Report 8.5 (Date/Time Tab Missing)

    Hi All,
    I have been using Crystal Reports Pro 8.5 (SP3) for a while now but I have come across one problem which I cannot understand.
    All Date and Time fields within our SQL database are showning in Crystal as only Date fields even though they are definately Date Time field. If I explore the field data within Crystal it only shows me the Date field.
    The interesting twist is my work colleague has got the same O/S Windows 7 and the exact same version of Crystal as me and he is able to see the Date/Time tab when formatting the field and Crystal identifies the field as a DateTime field.
    Any help would be much appericated.
    Thanks

    Hello,
    It's the ODBC driver you are using, or how ever you are connecting. They are likely using a newer version which CR see's the data/time field type and not convert it to a date field.
    Or it could be one of your Report Options. 8.5 is 10 years old not so I don't recall what the reason for this was now.
    Check your database driver and settings.
    Thank you
    Don

  • Interactive Reporting:Error reading data of InfoProvider /CRMBW/CSAL_C01

    Hi Forum,
    I configured an interactive reporting to read interaction record data.
    When I execute the reporting, I am getting the following error message: 
                 +Error reading the data of InfoProvider /CRMBW/CSAL_C01+
                 +No destination exists to source system YYYCLNT999+
    The RFC mentioned in the error message is not the correct one. But I checked the configuration in RSA1 and the RFC mentioned there is the correct one. So, I think I am missing a customizing that is pointing to the wrong client...
    Any idea ?
    Thanks a lot and best regards.

    Hi,
    first you should check the overall configuration. Go to your CRM client and run transaction /CRMBW/CONFIG_WIZARD. If there are errors or warnings, solve them step by step. The transaction should be self-explaining but may require some expertise (the documentation provided should help, though).
    Best regards

  • Interactive Report filters

    When applying filters to an interactive report, they are treated as logical AND statements. For example, "fieldA is equal to X" AND "fieldB is less than Y."
    Is there a way to have these filters act as OR statements instead?

    Solved!
    Turns out that caching was enabled on this page. Disabling the caching solved the problem.

  • Interactive Report uses XML data saved in database for creating PDF files?

    Hello all,
    I installed Apache FOP to allow a PDF "Download" in the Interactive Reports.
    Correct me if i'm wrong, when a PDF file is created with the Interactive Report option "Download", it uses a XML data to make it. Right ??
    I would like know where in the database is this XML code located.
    Regards Pedro.

    After some searching i found that XML its stored as a BLOB and it is used as XML based report data and RTF or XSL-FO based report layout.
    I didn't find yet where is located the XML used by Interactive Reports. If someone knows where in the APEX database is the XML located please share.
    Regards Pedro.

  • Pass Interactive Report Filters into Form

    Hi there,
    I've got a set of interactive reports which act as a drill-down through information. At each level there is a "Create" button, which presents a form for creating an item at the bottom level. The user does not have the ability to change the filters.
    For the top level, showing an empty form is fine. However we would like it if at the lower levels the values which have been filtered are passed into the form.
    Sort of like:
    Companies -> Create [New Employee]
    - Divisions [Company = Company] -> Create [New Employee - Company = Company]
    -- Location [Company = Company; Divsion = Division] -> Create [New Employee - Company = Company; Division = Division]
    if that makes any sense?
    Cheers,
    Andrew
    Edit: I've tried using IR_[Name] and #IR_[Name]#, no effect (unless I'm doing it wrong)
    Edited by: ad13 on 12-Aug-2009 02:38
    Edited by: ad13 on 12-Aug-2009 02:39

    Hi Andrew,
    It makes no sense to me. Are you saying that e.g. you select marketing department and then on the page navigated to your query shows people in the marketing? Or it automatically sets that persons department to marketing so when clicking "create" the user doesnt have to specify a department? If so then have a hidden item on the new page e.g. :P2_DEP. The previous page will send have a link on the department column which passes the value to this item. The insert statement (for create) or select query (for a report) will use this item as a basis for their process.
    If neither then explanation take 2 =)
    Mike

  • Exclude column from interactive report when exporting data

    Hello!
    Is it possible to exclude column from exporting (using bi publisher) in interactive report, but having in report. So in report it is, but in export result it isnt :). I know, that I can just not to select this column in "Action" menu before exporting, but then to select it to view in report. But is it possible not to export this column, but having it in report result?
    I Just have a checkbox in report, and I dont need to see it in export result.
    APEX 4.1.
    Thanks !
    Edited by: go0ze on Sep 28, 2012 1:40 AM

    Hi,
    Set condition type PL/SQL Expression to column and enter to Expression 1
    NVL(:REQUEST,'EMPTY') NOT IN('CSV', 'XLS', 'PDF', 'RTF', 'XML', 'HTMLD')Regards,
    Jari
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Interactive Report filtering with hidden item column names

    I have created an Interactive Report and changed some of the default column headings by using hidden Items with appropriate title. However, when I look at the filter option in the "Gear" drop-down, the only column names which appear are the default ones. There are blank lines for the columns using hidden Items. Any suggestions for having the hidden item content appear in the filter column name list?
    Thanks,
    George

    George,
    What is it you're actually trying to do here? Maybe there's an easier way?
    Hidden items aren't going to show up in the Column List.
    I'm guessing you're trying to separate a long list of column names using '----------' or something like that? We're looking to do just that in our application, but obviously we don't want to users selecting these dummy entries. We tried using the IR column groups, but those make the list look even more cluttered IMHO. (Plus setting the sort order w/in the groups doesn't seem to affect the drop-down column lists, which seems counter-intuitive to me).
    If anyone has other suggestions for breaking up the column list display, I could use something immediately (going into beta-test in 2 weeks!).
    Thanks,
    Stew

  • Interactive Report Filtering

    I have a requirement for a few things, but they all can be achived by using the same page. I have an interactive report, and I was wondering if there is a way I can programmatically apply a filter to it if certain options are chosen.
    Example: This is an order list... if they click for open orders... I'd want to filter for open without having to click on teh filter on top.
    any guidance?
    thanks,
    Scott

    Scott,
    Here's the link:
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/app_comp.htm#BABDHIDJ
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

Maybe you are looking for

  • Itunes won't sync all the songs

    My Iphone 4s simply could not sync all songs in my album.  Itunes could make it look like it synced all of them to the phone while in reality only 70% of the songs are playable, the non-playale ones are going to be in grey and you couldn't even click

  • Finder not loading since upgrading to Yosemite

    Hi Everyone, I have a 2012 Macbook Pro 15" model. Intel Core i7 processor and 8GB RAM. I upgraded to OS X Yosemite yesterday from 10.8 and since then, I've been experiencing longer boot times, Finder not loading my local files and folders, Launchpad

  • Connecting a nano to my itunes used by my ipod

    We have a old nano that my daughter now wants to use. I use itunes/ipod for myself. How do I: 1. Get the old nano onto my computer 2. Remove old songs from that nano 3. Have her load songs onto nano (can she take some from my list or does she have to

  • Address Book images not syncing via .Mac sync

    i recently decided to get serious about attaching images to my contacts in address book. the images sync perfectly with the iphone, but they dont sync at all between the other copies of address book on the various macs in my home. the addresses (text

  • Unable to Upload PDF Templates in 11.5.10.2 Production Instance (XMLP 5.6.2

    We are unable to upload any PDF Templates using XML Publisher Administrator responsibility in our Production environment only. In Vision, Dev/Test, etc PDF upload works fine. The error we see in fnd_log_messages is the following: PDF template is bein