Apex 4.0 how use the interactive report filter feature?

Hi all
Sorry for the nub question, but if there is a way to create and save 'report' with the filter condition using a function?
What I want to do is to create an interactive table called TASK report.
Table has two columns I want to use for filtering:
FDate - DATE - date
TDate - DATE - to date
Then, I need to create multiple saved reports:
last week the tasks = where FDate between sysdate - 7 AND sysdate...
last month tasks = where FDate between ADD_MONTH(sysdate,-1) AND sysdate...
but,
Interactive report filter does not accept sysdate or calls to functions ADD_MONTH.
Is there an easy way to configure this feature?
TIA
Thomas

Sorry for the double post...

Published by: thomaso on August 6, 2010 12:04

Hi Thomas,

Take a look at the type of filter 'Row' in the interactive reports filter dialog box. This allows more dynamic filters, such as those involving SYSDATE or ADD_MONTHS calls. See also the next thread for some more details on this:

Re: Interactive report - line conditional highlighting date function

It will be useful.

Anthony.

Tags: Database

Similar Questions

  • between operator to group by date in the Apex of the interactive reports

    Hello

    In the filter of interactive reports, I could not find the "between" for the date field (got a "group by date" in my (source) sql query.) I wonder, is - this in view of the group by clause date?. Is there a way to show the operator "between" in the interactive reports filter.

    Thank you

    I just opened an existing style IR report, went to the actions, filter, selected a date column and found at the bottom of the list of values... Are you sure of the date that you want to filter on is a real date column?

    Thank you

    Tony Miller
    Webster, TX

    What happens if you were really stalking a paranoid schizophrenic... They would know?

    If you answer this question, please mark the thread as closed and give points where won...

  • 'OR' in Interactive report filter

    We need to create a filter preset for interactive report, which should be used only those records in which several (one or more) fields contain null values

    in SQL, it could be
    (Fld1 is null OR Chp2 is null OR Chp3 is null OR...)

    is it possible to do the same thing in the interactive report filter, preferably by using URL (user URL hits - and the filter is applied to the report)?

    Hello

    I have not access to an Apex 3 environment to verify this, but I think that interactive reports of Apex 4 save the filters slightly differently and an attempt to mimic this functionality using IR conditions would fail.

    The only solution I can think of right now is to have an additional column that returns 0 or 1 - for example:

    SELECT FIELD1,
    FIELD2,
    FIELD3,
    CASE WHEN (FIELD1 IS NULL OR FIELD2 IS NULL OR FIELD3 IS NULL) THEN 1 ELSE 0 END INCLUDE_NULLS
    FROM YOURTABLE
    

    then apply a filter to INCLUDE_NULLS = 1

    Andy

  • Interactive report filter with OR condition

    Hello
    How to use the interactive report or condition filter? using the default value is "and".
    For example, I have = 2008 FY or FY = 2009 (FY is a column in the report).

    Hello

    I don't think you can, but your example work a single filter using IN.

    HTH

    Chris

  • How can I access the filthers used in the interactive reports?

    Greetings,

    I develop several applications for APEX.
    Right now I make use of interactive reports.
    They are excellent tools, simple querys can do a lot if they use an interactive report.

    How you can that yend users can perform a filthers on the road is one of the best features that they have, from my point of view.
    It's so good that I was wondering if it is possible to use the filthers activated by an end user.

    Example, this query is in an interactive report: SELECT name, action, year of aux_table;

    If the user sees every line of it, but being in an interactive report, the user can add a filther in column of the year, for example, and display only the lines of the year 2008.
    It is very well... And here the question arises...

    Suppose I want to do a query based on the filthers currently, the user has activated, is this possible?
    I have a created delete action that will delete all the files, BUT I want to apply the filthers to the end user than delete action, the action would be:

    DELETE FROM aux_table where year = 2008

    Is it possible to make querys that take advantage of the filthers defined by the user for interactive reports?

    Thank you

    NP - take a look on Re: interactive report - save the output and links there, they can help guide you

    Andy

  • Contains no column 5 added to the interactive report apex

    Hi, I added a column in the query to the interactive report region and it does not appear in the designer of the Page, as it is not available when running in the list of columns through the action of the report menu.

    In the 4 apex when the query was changed directly a message was generated with the details of the new or modified columns, but the Apex 5 when I change the query and save, nothing happens.

    How to view the new column?

    Thank you.

    carlosjch wrote:

    Thanks fac586, I already tried to use view of the component, when I modify the query the new column is added, a message appears: area update.   No details of the new column appears in the message.  The result is the same, the column is not available after that.

    What happens if you create another IR with the new query?

  • How to view the interactive report Max records?

    Hi all

    I use an interactive report and showing the total records say 100, but it shows only 15 documents in a single page and remaining reviews by clicking on the next button.

    How to display the max records in a single page-say 50...

    Thank you
    David...

    Hello

    Another interactive report is displayed. Note that only 5 rows are shown. 10. select in the drop-down list of lines.

    http://www.Oracle.com/technology/OBE/Apex/apexusr31/apexusr31.htm

    concerning
    Daniele

  • Calculations in APEX 4.2 on the interactive report and the update form

    Hello

    I know that people have asked similar questions, but I was not able to do this work. I'm doing some fairly simple math (addition, multiplication) in an application. I have 2 fields (VALUE_A, VALUE_B). I can get the addition and multiplication work in the interactive report, but I also need that it works correctly in the form of update. I also need update form to work dynamically so that if the values are changed, the correction calculated response is shown immediately on the update form and then reflected in the interactive report. I tried the dynamic action, with and without javascript without result. Any help would be appreciated.

    Request Express 4.2.6.00.03

    model application:

    https://Apex.Oracle.com/pls/Apex/f?p=82162:

    username: guest

    password: Peanut123

    Thank you

    Rachel

    ADD dynamic action

    After refresh of region

    Set value

    ELEMENT the VALUE to change

    check the fire on the load

    To source, use expression JavaScript

    If ($v ("P2_TEST_1")! = null & $v ("P2_TEST_2")! = null)

    {

    parseInt ($v ("P2_TEST_1")) + parseInt ($v ("P2_TEST_2"));

    }

    ElseIf ($v ("P2_TEST_1")! = null & $v ("P2_TEST_2") == null)

    {

    parseInt ($v ("P2_TEST_1"));

    }

    ElseIf ($v ("P2_TEST_1") == null & $v ("P2_TEST_2")! = null)

    {

    parseInt ($v ("P2_TEST_2"));

    }

    on the other

    { 0; }

    That add another dynamic action on change POINT P2_TEST_1 and set even with the same expression JavaScrit action. but NOT fire on the load
    Do the same for the ARTICLE P2_TEST_2

    And the same for A times B but change + to *.

    Here, I did samples for you with this code.

    https://apex.Oracle.com/pls/apex/f?p=83519 demo/demo

  • How to add the action button for each column in the interactive report

    Hi all

    I'm new in APEX, so pls forgive my question, if it's simple, but I am struggling with this problem for days now. I have interactive report and you want to add button in each row. What I want to do with this button is the following:

    1. to execute some stored procedure in need of that particular line item values

    2. returns a (id)

    3. go in another page in the application by passing the value out of the procedure (id).

    and I'm not find the way to do it. I tried now means:

    1. If I add the link of the column, so I can refer to the value of the current row, I don't know how to call the stored procedure and perform actions of rest I need

    2. If I add the button to the region, I do not know how to reference the values in column of a particular line of the interactive report...

    and I'm stuck...

    I just forms and global report and probably still think the "wrong" way .

    Any help would be appreciated!

    Thank you!!!


    user3253917 wrote:

    Please update your forum profile with a real handle instead of 'user3253917 '.

    I request of the company: there is a customer who always orders the same standard product orders (always order the same products, fair amount is different). I want to make it simple for the user: instead of retyping the command (master and few records details every time yet) I want to copy selected command (copy of the master record and record details) so that the user will only change date order (in master record) and amount fields in record details).

    So, in order to give him:

    1. the user must be able to choose the order in which I would copy (at page 4), select it,

    2. I need to make PL/SQL procedure to insert the new master record (order) and a few record details (order_items) (copy of the order/order_items chosen in step 1)

    3. navigate the user to page 29, where the master account at stage 2 insterted appears, so that the user can change the date and quantities.

    Any solution will be highly appreciated! Thank you very much!!!

    In simple terms:

    1. Add a link to column "Command copies" in the report on page 4, which sets the COPY request and passes the order ID on page 29.
    2. On page 29, create a process before header, sequenced to be the first process executed and conditional on REQUEST be EXEMPLARY, which creates a new order as a copy of the order with the ID from page 4 and returns the ID of the new order in the PK command ID of 29 page element.
  • How to increase the size of the column in the interactive report

    Hi, I use apex 4.2 and 25 theme...


    I found no option to increase the size of the column in the interactive report. When as usual report, I can do it,

    Please guide me to achieve.


    Thank you
    Nihar Narla

    Nihar Narla wrote:
    Hi, I use apex 4.2 and 25 theme...

    I found no option to increase the size of the column in the interactive report. When classic report, I can do

    This can be done using CSS. Create a rule like this in CSS Inline property page:

    .apexir_WORKSHEET_DATA td[headers="COLUMN_ALIAS"] {
      width: 10em;
    }
    

    where alias_de_colonne is the alias of the column in the report query and the width measurement, that's all you need.

  • By using the search field of the interactive report

    Hello

    I want to use the search field of the interactive report to set this value in a page item, use it to pass this value to another feature.

    How can I do this?

    Concerning

    Eve wrote:
    Hello

    I want to use the search field of the interactive report to set this value in a page item, use it to pass this value to another feature.

    How can I do this?

    Concerning

    Create a dynamic action as follows:

    Event: Before updating
    Selection type: Region
    Region:

    Real Action:

    Action: Run the JavaScript Code
    Code: $s ('PX_YOUR_ITEM_NAME', $v ('apexir_SEARCH'));

    Click on create

    When it is created, change the dynamic action and define the scope of the event on the dynamics

  • How to change the column ordering the interactive report?

    How to change the column ordering the interactive report?

    Hello

    Run the report as a developer, click on the "wonder wheel", click "Select columns" and reorder your columns in the box 'report '.
    Then click again on the "wonder wheel", click on save report and save the default state.

    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this response in marking it as useful or Correct ;-)

  • How to make added columns to be visible by default in the interactive report?

    Hello

    I added two columns of an interactive report.
    When I run the page, added columns are not visible.
    Then I made them visible through the option "select columns".
    But next time when I connect to those two columns are still invisible.
    How can I make either added columns visible by default in the interactive report?

    Thank you
    Guy

    I had this problem: you must run the report as a developer and include the option "actions." Then, when the report as you want (ie: you change when executing it) use the Action save to save the default layout. You then see this return in the development environment and that's what it's going by default for users.

    I hope at least that's the answer!

    Kind regards
    Steve

  • How to display data in the interactive report without colon (:)) column

    Dear gurus of the Apex,

    I am a beginner and you just create an application for the Apex of a worksheet. I created a list of named values and used in a box against a field in the page creation form default 3.

    When I selected several values in my box on the form, the data in the interactive report appear as a single line with a colon separating the values selected as follows: dog: Cat: bird

    What I would like is to have the data appear in the interactive report in a list like this multiline column:

    Dog
    CAT
    Bird

    I can work around this problem by modifying the SQL code in the Source region of the definition of the area of the report (interactive 1 Page by default) to replace the semicolon by < br >

    SELECT replace ("PETS_CHOSEN", ":","< br / > ')"PETS_CHOSEN", OF"MYAPP"Note: this is not format correctly in the display. I have replace the colon with a html br

    This works, but there seems to be a hack to me. I guess I missed an option simple setting somewhere, but I can't.

    The other problem with this solution is that when I export the report to Excel, that ship's dog < br > cat < br > Bird, which is seems worse than the colon.

    Thank you

    -Morgan

    Published by: mnrussel on February 16, 2009 04:13

    Hi Morgan,.

    I think you have at least two possibilities:

    1. replace the colon with "," (comma and space) - kind of reasonable on the screen and export

    2 create a second page that has the same report but use it "export: csv" model. Create a manual link to this page to replace the standard export binding. When these pages of the report are requested, they download immediately instead of display. So you can use commas in this one and < br > tags in the report to the screen version

    Andy

    ch - to display the tags in a post, use and lt; for < and & gt; for >

  • How can I rearrange the columns in the not displayed section of the interactive report.

    Hello

    My interactive report contains 185 columns and requieres users to build its reports with some columns, but he gets lost between this amount of columns, it would be easier if the columns in the do not display the interactive report section would be automatically sorted, is it possible?

    Thank you very much

    Hi Eva,

    A solution would be to order the column names in alphabetical order. You can create a dynamic JavaScript action to manage the sort.

    The shuttle of the attribute IR "Select columns" have the ID "apexir_SHUTTLE_LEFT" or hidden columns and 'apexir_SHUTTLE_RIGHT' to the displayed columns.

    The function that you create might look like:

    var options = $('select#apexir_SHUTTLE_LEFT option');
    var arr = options.map(function(_, o) { return { t: $(o).text(), v: o.value }; }).get();
    arr.sort(function(o1, o2) { return o1.t > o2.t ? 1 : o1.t < o2.t ? -1 : 0; });
    options.each(function(i, o) {
      o.value = arr[i].v;
      $(o).text(arr[i].t);
    });
    
    var options = $('select#apexir_SHUTTLE_RIGHT option');
    var arr = options.map(function(_, o) { return { t: $(o).text(), v: o.value }; }).get();
    arr.sort(function(o1, o2) { return o1.t > o2.t ? 1 : o1.t < o2.t ? -1 : 0; });
    options.each(function(i, o) {
      o.value = arr[i].v;
      $(o).text(arr[i].t);
    });
    

    You need to find the right timing for dynamic action to run, I suppose the click on the button "Select columns" would do the trick.

    Kind regards

    Vincent

    http://vincentdeelen.blogspot.com

Maybe you are looking for