Interactive Report column visible but cannot filter

I have a complex interactive report running on Oracle 10gR1 using Apex 3.1
When I display the report, all the desired columns are visible. However, when I try to do a filter on a particular column it does not appear in the column filter list even though it is visible in the Select Column list. All the other report columns are available in the filter list.
The specific column is the result of a join and a substitution within the SQL select. The problem column is 'file_nm'. I've bolded the line in the script below.
Any suggestions?
Thanks,
George
Here's the IR sql:
WITH joined_data AS
( SELECT a.fdno fdno
, a.site_abbrv_cd site
, a.season
, a.find_id
, a.dig_ctgy_cd dig_ctgy
, a.find_ctgy_cd find_ctgy
, a.materials_qstnbl_ind matl_qstnbl
, a.color
, a.field_obj_type_nbr field_type_nbr
, a.is_inscribed_ind is_inscribed
, a.display_seq_nbr seq_nbr
, n.img_file_nm file_nm
, h.material_descr
, g.general_matl_ind primary
, g.specific_matl_ind secondary
, i.keyword
, i.kw_cls
, i.lvl_nbr
, j.kw_descr
, b.site_subdiv_type_cd AS type
, b.site_subdiv_nm AS nm
, CONCAT(b.sq_h_coord, CONCAT(b.sq_v_coord,
CONCAT(':', b.locus_nbr))) AS locus
FROM find a
LEFT OUTER JOIN ref_item_assoc m ON a.find_id = m.obj_id
AND m.deflt_dsply_img_ind = 'Y'
LEFT OUTER JOIN digital_img n ON m.ref_item_id = n.ref_item_id
LEFT OUTER JOIN find_site_subdiv ab ON a.find_id = ab.find_id
LEFT OUTER JOIN site_subdiv b ON ab.site_subdiv_id = b.site_subdiv_id
LEFT OUTER JOIN keyword_assocn i ON a.find_id = i.obj_id
LEFT OUTER JOIN keyword j ON i.keyword = j.keyword
AND i.kw_cls = j.kw_cls
LEFT OUTER JOIN material_find g ON a.find_id = g.find_id
LEFT OUTER JOIN material h ON g.material_cd = h.material_cd
SELECT site
, find_id
, season
, fdno
, matl_qstnbl
, CASE WHEN color IS NOT NULL THEN color ELSE 'No entry' END AS color
, CASE WHEN field_type_nbr IS NOT NULL THEN field_type_nbr ELSE 'No entry' END As Field_type_nbr
, is_inscribed
, seq_nbr
*, MAX (CASE WHEN file_nm IS NOT NULL THEN 'Y' ELSE 'N' END) AS file_nm*
, MAX (CASE WHEN type = 'AR' THEN nm ELSE 'No entry' END) AS Area
, MAX (CASE WHEN type = 'AL' THEN nm ELSE 'No entry' END) AS A_Level
, MAX (CASE WHEN type = 'LO' THEN locus ELSE 'No entry' END) AS Locus
, MAX (CASE WHEN kw_cls = 'FI_CTGY' THEN kw_descr ELSE 'No entry' END) AS find_ctgy
, MAX (CASE WHEN kw_cls = 'FI_DIGCTGY' THEN kw_descr ELSE 'No entry' END) AS dig_ctgy
, MAX (CASE WHEN primary = 'Y' THEN material_descr END) AS Primary
, MAX (CASE WHEN secondary = 'Y' THEN material_descr END) AS Secondary
, MAX (CASE WHEN (kw_cls = 'FI_DESCR' AND lvl_nbr = 1) THEN keyword ELSE 'No entry' END) AS descr1
, MAX (CASE WHEN (kw_cls = 'FI_DESCR' AND lvl_nbr = 2) THEN keyword ELSE 'No entry' END) AS descr2
, MAX (CASE WHEN (kw_cls = 'FI_DESCR' AND lvl_nbr = 3) THEN keyword ELSE 'No entry' END) AS descr3
, MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 1) THEN keyword ELSE 'No entry' END) AS DescrN_1
, MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 2) THEN keyword ELSE 'No entry' END) AS DescrN_2
, MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 3) THEN keyword ELSE 'No entry' END) AS DescrN_3
, MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 4) THEN keyword ELSE 'No entry' END) AS DescrN_4
, MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 5) THEN keyword ELSE 'No entry' END) AS DescrN_5
, MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 6) THEN keyword ELSE 'No entry' END) AS DescrN_6
, MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 7) THEN keyword ELSE 'No entry' END) AS DescrN_7
, MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 8) THEN keyword ELSE 'No entry' END) AS DescrN_8
, MAX (CASE WHEN (kw_cls = 'ARCH_CNTXT' AND keyword IS NOT NULL) THEN keyword ELSE 'No entry' END) as arch_cntxt
FROM joined_data
GROUP BY site, find_id, season, fdno, matl_qstnbl, color, field_type_nbr, is_inscribed, seq_nbr
ORDER BY seq_nbr

Look at the interactive report Column Attribute, Allow Users to Filter check box might not be checked for this column. Thanks.
--Manish                                                                                                                                                                                                                                                                                       

Similar Messages

  • 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

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

    Dear Apex gurus,
    I'm a newbie and have just created an Apex application from a spreadsheet. I've created a named list of values and used it in a checkbox against a field in the default page 3 Create form.
    When I've selected multiple values in my check box in the form, the data in the interactive report appears as one line with colons separating the selected values like this: Dog:Cat:Bird
    What I would like is to have the data appear in the interactive report column as a multi-line list like this:
    Dog
    Cat
    Bird
    I can work around this by modifying the SQL code in the Region Source of the Region Definition of the report (Default Page 1 interactive report) to replace the colons with <br>
    SELECT replace("PETS_CHOSEN",':','<br>') "PETS_CHOSEN", FROM "MYAPP" Note: this doesn't format properly in the posting. I replace the colon with a html br
    This works, but seems to be a hack to me. I am guessing that I've missed a simple option setting somewhere, but I can't find it.
    The other problem with this solution is that when I export the report to Excel, what is exported is Dog<br>Cat<br>Bird, which is seems worse than colons.
    Thanks,
    - Morgan
    Edited by: mnrussel on 16-Feb-2009 04:13

    Hi Morgan,
    I think you have at least two choices:
    1 - Replace the colons with ', ' (comma and space) - sort of reasonable on screen and in an export
    2 - Create a second page that has the same report but uses the "export: csv" template. Create a manual link to this page to replace the standard Export link. When such report pages are requested, they download immediately instead of displaying. You can, therefore, use commas in this one and &lt;br&gt; tags in the on-screen report version
    Andy
    ps - To display tags in a post, use &amp;lt; for &lt; and &amp;gt; for &gt;

  • Interactive Report Column Headings and Row Height

    I am using the div style="width:350px;" method to control the width of columns in various interactive reports. That works fine except for the following:
    1. When creating filters, the <div...> stuff shows up along with the actual column heading, thus confusing some end users
    2. Even when I uncheck the "Use same text for single row view" checkbox and then provide a simple single row view label, the <div> stuff still shows up on the single row view
    Does anyone have a better solution?
    Also, does anyone know of a way to limit the row height within an interactive report row? I have some columns of data that contain a large amount of HTML data and I'd like to be able to limit the number of rows that show on the report.
    Is Oracle planning to provide some better control over the Interactive Report columns in another version? The Interactive Report is such a huge improvement in usability in APEX - it would be great to take it to another level by providing some better control over column width and row height.
    Edited by: DaleB on Jun 18, 2009 8:54 AM
    Edited by: DaleB on Jun 18, 2009 8:54 AM

    Dale,
    Unfortunately we don't have much we can use to do what you would like. I would have said it's impossible until version 4 but you could actually do something similar to what Roel has done. His trick is in the edit button. He changed the edit button to use an "onload" call to a JavaScript process. You could do the same but call a process that goes across the rows and styles each column. Now because you don't have a way to identify the column (can't use the order because the end user could change it) you'll have to write the code to look at the top row first and then style the appropriate column. As far as I can tell, this would be quite difficult and inefficient. Having said that if you need it that bad and would like some help with it, put up an example application on apex.oracle.com and provide the workspace/username/password and I'll take a look.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Make interactive report column nowrap

    How do I make one of the interactive report column nowrap? In the standard report, I can add "white-space:nowrap" to column formatting, but IR does not have this option.

    Hi,
    Regular reports typically use different class name and other attributes for headings/data cells.
    In some cases, the TD tag that contains the data uses the "headers" attribute containing the column name or alias. Many browsers can use this for styling.
    For example: [http://apex.oracle.com/pls/otn/f?p=267:114]
    In the region's Region Header, I have:
    &lt;style type="text/css"&gt;
    td[headers=ENAME] {background-color:red}
    #ENAME {background-color:yellow}
    &lt;/style&gt;I've used the background-color style to make it obvious, but other styling can be used if required. On this report, the column heading uses the column name/alias for the ID, so I've also used #ENAME to style that as well.
    Andy

  • Passing parameter from interactive report column link to new page

    I'm very simply trying to pass the value of the column link to the where clause on the next page.
    Interactive Report on P2 has column link fid alias in sql query.
    I read somewhere to refer prefix the interactive report column with IR ??
    So I have item name P2_FID, value #FID#. Anyway, I've tried a kazillion things.
    Created a hidden item with same source value... sigh.
    Is there a syntax to refer to a report column link, rather than an item_id in a region where clause?
    Is there a simple direct way to do this?
    Thanks,
    Pamela
    -----pls/apex/f?p=163:1:2746459963336955::NO::P2_FID:119

    Thank you Varad...
    Unfortunately, I am still getting no data found. (and there IS data).
    a) Do you mean in the link column section of the report attributes? that is done: item 1 name= IR_P2_FID, value = #FID#
    b) Do you mean my changing my hidden page item to ir_p2_fid with its source value as #FID# ? also done.
    Do I need this hidden item?, and if not how do I refer to link in the where clause of the called page's sql region?
    3) Where Fishery_id = :IR_P2_FID
    Where Fishery_id = &IR_P2_FID
    Thanks again!
    Pamela

  • Incomplete List of Values in Interactive Report Column Headers

    Oracle Database 11g 64-bit
    Apex 3.1.1.00.09
    I created an interactive report that results in over 10,000 records, and several of the columns have incomplete filter values when you click on the column header. It's not even close in some instances. It's not even showing the values that are loaded in the visible page.
    I have tried recreating the report on a new page, as well as creating a database view with the query and then just querying the view (in case there was a problem with query complexity).
    I'm at my wits end as to why this is happening. Have any of you seen this happen, and is there any way to get around it? I know I can write my own LOV query for the column headers, but those won't be dynamic like they are supposed to be out of the box taking applied filters into account.
    Thanks in advance.

    Tim,
    Did you find a solution to this. I have the same problem.
    Cheers
    Yog

  • 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..*                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • APEX: Show description in Interactive Report column

    Hi experts!
    I need to show title and description in the headings of an interactive report in APEX. So when the user places the mouse on the heading of the column, a description message is displayed.
    In the heading field, I have introduced this string:
    <SPAN TITLE = "Secció Numèrica">SC.N.</SPAN>
    Where "Secció Numèrica" is the description and SC.N. is the title.
    This works fine in the report and the description is shown, but the problem is:
    When the user click on the 'select columns to display' action, the displayed label is
    <SPAN TITLE = "Secció Numèrica">SC.N.</SPAN>
    instead of "SC.N." or "Secció Numèrica".
    Obviously the customer does not want to see that string. I have been looking for any solution in manuals and forums but with no results.
    Thanks in advance for your help!
    Javier

    It is solved.
    The customer is happy having the description displayed in the Help Text section, so it is shown with the info tag.
    Regards
    Javier

  • Make interactive report column uppercase

    Hi All,
    I have an interactive report in which I have a field which has a column link defined on it. Clicking this link allows me to go to the next interactive report.
    I would like to display the data in this column as UPPERCASE. I have tried modifying the report query by applying the
    UPPER function to the column. (i.e. select column a, column b, UPPER (column c)) but it broke the links in my report. I had to recreate this link manually after and was afraid i had broken my application. I was able to fix this.
    I know that this can be done through modifying the CSS template for the report region, but my HTML and CSS skills are pretty basic. So far, the only way i am able to make the data in this column appear uppercase is to have all the data in this column uppercase in the database table itself. If data is entered in this column in lowercase, the problem will resurface and my data will not appear as uppercase.
    Any suggestions as to what modification i would have to make and where in order to make this column display its data UPPERCASE?
    Thanks,
    Tim

    In general, changing the query shouldn't break things. Perhaps Apex saw the modification as changing the column name. A quick check would be to try SQL like:
    select column1, column2, Upper(column3) as column3, ...If that doesn't work, we may need more info on how this report is set up and how the links are working.

  • Possible to exclude interactive report column from single row display?

    hi -- I have an interactive report that I've added a column to (in addition to the table columns that are selected).
    The added column is a link to a form for editing a single row. This column/link is in addition to the default link
    that goes to a single row view. So, a row of the report has 1) the single row view link, 2) the Edit link,
    3) the columns in the table.
    The edit link column is named "Edit" (so Edit appears above the "pencil" link icon). Problem is that when the
    user goes to the single row view, the Edit column is displayed. (I've set the label in the view to a blank space,
    and the value is null (displayed as "-" in the single row view)... but it's generally ugly, and adds that nonsensical
    line to the single row view.
    Is there any way to never display that column in the single row view, but always display it in the report?
    I've considered putting the edit link on the first column of the table... but I don't like that the link will move
    if the user changes the column order. It seems it should always be at the left of the row, like the single row view
    link.
    Thanks,
    Carol

    Please disregard this thread. I see a flaw in the design of what I was attempting to do! Creating the link for Editing as a column means the user could inadvertently not display it, or move it, or... any number of problematic scenarios.
    Thanks,
    Carol

  • Interactive Report Column Heading Filters using LIKE instead of =

    Still on APEX 3.1
    I have an inter active report with a column Like Below
    select case when trunc(c.resp_contact_dt, 'MM') = trunc(sysdate, 'MM') or trunc(c.oth_contact_dt, 'MM') = trunc(sysdate, 'MM') then '<img src="/i/contact_2_green.png" alt="RESP A: ' || to_char(c.resp_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.resp_contact_dt, 'MM/DD/YYYY') ||'
    ' || 'OTH A: ' || to_char(c.oth_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.oth_contact_dt, 'MM/DD/YYYY') || '">'
    when trunc(c.resp_attempt_dt, 'MM') = trunc(sysdate, 'MM') or trunc(c.oth_attempt_dt, 'MM') = trunc(sysdate, 'MM') then '<img src="/i/contact_2_yellow.png" alt="RESP A: ' || to_char(c.resp_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.resp_contact_dt, 'MM/DD/YYYY') ||'
    ' || 'OTH A: ' || to_char(c.oth_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.oth_contact_dt, 'MM/DD/YYYY') || '">'
    else '<img src="/i/contact_1_red.png" alt="RESP A: ' || to_char(c.resp_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.resp_contact_dt, 'MM/DD/YYYY') ||'
    ' || 'OTH A: ' || to_char(c.oth_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.oth_contact_dt, 'MM/DD/YYYY') || '">' end as Contact,
    This column header has an User defined LOV
    select '%green%' d,
    '<img src="/i/contact_2_green.png">' r from dual
    Union select '%red%' d,
    '<img src="/i/contact_1_red.png">' r from dual
    union select '%yellow%' d,
    '<img src="/i/contact_2_yellow.png">' r from dual
    When user select my Red image from the column header link
    the filter generates where contact = '%red%' This fails
    Is there a way to generate the filter contact like '%red%' without the user having to change it to like.
    Is this possible in 4.0?

    I am assuming Because of the crickets either I am doing my SQL to incorrectly and there is a better way to return get a popup with a changing image into an interactive report
    or
    There is no way to do what I am trying

  • Interactive report column order not working properly

    Hi All,
    Can anyone help me with this situation:
    Example:
    1)
    First of all I created a interactive report with this simple query
    Select 1 col_A, 2 Col_D from dual
    2)Later I modified the query like this
    Select 1 col_A, 1 col_C, 2 Col_D from dual
    But when I run the report the new column added appear in the end?
    I already tryed to reorganize the column order in the navigator menu, but the issue remains.
    Any ideas?
    Thanks

    Hi,
    Login to APEX builder. Run your page.
    Select columns from report action menu and save default layout.
    Regards,
    Jari

  • Interactive Reports: Can values for 2nd filter be limited by first filter?

    Hi,
    I have a question for the inbuilt filter tool of interactive reports in apex 4.0.2.00.07. Let's assume my IR data looks like:
    Col1:*Col2*
    A:1
    A:2
    B:3
    If I click on the header of Col1 I will be presented with filter possibilities "A" and "B" and can e.g. set a filter to Col1=A which leaves me with the following view
    Col1:*Col2*
    A:1
    A:2
    Now, if I click on the heading of Col2 to set another filter, I can still select value "3" as well.
    In some cases it would be nice if for any additional filter only those filter values were presented which are still relevant and allow further narrowing of results (like something in the way of LOV cascading). I.e. in our example only "1" and "2", omitting "3". Is there a way to do this?
    Best regards,
    Martin
    Edited by: MBK on Sep 27, 2011 5:35 PM
    Edited by: MBK on Sep 27, 2011 5:37 PM

    Praise goes to Anthony Rayner_ (http://anthonyrayner.blogspot.com/) for a very instructive blog and smooth example applications.
    Anyway, found out what the problem is: Some of my columns are derived from LOVs. In the column 'Report properties > List of Values > Column filter type' my default was 'Use defined list of values to filter exact match', so always all lov entries are available as filters. With e.g. 'Default based on Column type', the application now actually only states values present in the current (potentially pre-filtered) view.
    I guess sometimes it is easy... :-/
    Thanks for the help offered. Nice to see this forum working so smoothly
    BR,
    Martin

  • Remove interactive report column heading underline

    Dear
    while developing the interactive report, all the column headings are underline in default. it is possible to just remove the underline and all the remaining functionality (sorting and braking) remain the same.
    i have also tried
    <style type="text/css">
    .apexir_WORKSHEET_DATA th div {text-decoration:none}
    </style>
    in the page HTML header, but got no result.
    kindly guide.
    Regards,
    Muhammad Usman

    Hi,
    Try add to page HTML header
    &lt;style type="text/css">
    table.apexir_WORKSHEET_DATA th div {text-decoration:none!important}
    &lt;/style>Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

Maybe you are looking for

  • Just upgraded to iTunes 10.6 and now it says it does not support Quicktime

    Just upgraded to iTunes 10.6 and now it says it does not support Quicktime.  Not much more to add.  It's a MacPro running Lion.

  • ADF Create form

    hai , i have one master detials form . i hve to insert in to three tables say cutomer master , customer personal details , Customer contact i have created entities ,associations and view objects , View Links for 3 tables and added to app module I jus

  • Attn: Sun. Can we distribute the JRE with a program we write?

    I'm trying to find out whether it's legal to distribute the JRE with a program I write. If you look at the license agreement when you download the JRE, first it has the regular license agreement, which says that you can't. But then it has the "supple

  • Create AD group using powershell

    foreach ($item in $list) {  If ($item.GroupName -eq "") {         Write-Host "[ERROR]`t Please provide valid group details in spreadsheet."  -ForegroundColor Red       } Else {       $item.ID = $ou     New-ADGroup -Name $item.GroupName –path "OU=$ou,

  • 10.4.9 Destroyed my external drive?

    Ok.. taking a deep breath. My new 802.11n apple extreme base station could no longer recognize my external drive. (post 10.4.9 install). I am not sure if the new aebs killed it or 10.4.9 or a combination of both. Note I've had it this drive for about