Interactive Report Column Formating '%' symbol

Hi,
I have an intercative report that shows a column displaying a number and and the sysmbol %. The source query is similar to:
SELECT my_number||'%' as display_percentile
FROM dual;
Because of this the interactive report will only show this column as a string type and not number type, therefore my math filtering options are not available. Is there a way that I can display the column as a number type and still have it display as 50%
I am using Application Express 4.1.0.00.32
Thanks in advance.
Edited by: 968358 on 05-Dec-2012 02:09
Edited by: 968358 on 05-Dec-2012 02:10

968358 wrote:
Thank you fac586,
Forgive me, I am a newbie at this and I am still at a loss. Where can I change the report column attributes to reflect css and alike. Do I need to do this on the report template or in the column attributes. When I have looked in the column attributes I cant see anywhere other than on the column link.Add a style sheet using the page HTML Header property attribute:
<style>
/* Replace COLUMN_ALIAS with the alias of the % column in your report */
td[headers="COLUMN_ALIAS"]:after {
  content: "%";
</style>

Similar Messages

  • Interactive report column formatting

    When control break is applied for any column in interactive report then the color applied to any column does not get applied.
    .apexir_WORKSHEET_DATA td[headers="ABC"] {color: RED;}Sanjay

    user12957777 wrote:
    When control break is applied for any column in interactive report then the color applied to any column does not get applied.
    .apexir_WORKSHEET_DATA td[headers="ABC"] {color: RED;}
    With the control break the IR generates different mark-up, so you need to add another selector to the rules so there's a match on the column cells in both the standard and break report views.
    See +{message:id=9208685}+
    (Please update your forum profile with a real handle instead of "user12957777".)

  • 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 - Break formatting style

    Hi All,
    Is there a way to make Interactive reports break format work/look like classic reports break format? i.e.1st,2nd,3rd column option. The way IR breaks is that is reserves a whole row for the column used in the break, which is not what I want, I want the report to look like the following:
    city               emp           sal
    Chicago     John Miller  1500
                     Mark Horton 2000
    Denver       Rob Martino 1200
    I tried to use rollup queries which work fine except that it does not do exactly what I want when I sort columns through the front end , I am basically displaying a check box for grouped records ( and I want it to display at the first record of each group), so the order is important. for example:
    checkbox   City               emp           sal
    [ ]               Chicago     John Miller    1500
                                      Mark Horton  2000
    [ ]              Denver       Rob Martino  1200
    Thanks,
    Sam

    would someone please confirm if this is doable/undoable at least? I've spend a lot of time exploring possible options (none worked) and it would really help if someone can help me saving some time.
    Thanks in advance.

  • 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

  • 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

  • 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

  • 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 ;-)

  • 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                                                                                                                                                                                                                                                                                       

  • Report column format

    What are valid values for the reports column format field?
    Can't find it in the help, searched the forum and looked in a selection of the pre-defined reports. Very few of the reports seem to have columns defined, and the one I did find was something like {0,date,medium}.
    It would make more sense to use something like SQL*Plus column formats,

    I am familiar with the to_char(number) function. I just tried it in the report as suggested. It does not format the columns in the user defined report. I tryed the same statement using a number in sqlplus and it worked fine.
    This is what I'm trying to do, I copied the free space report so I could get a %free and i'm trying to format the numbers.
    to_char(kbytes_alloc,'999G999G999G999D99) "Allocated MB".
    I want the numbers to have 2 decimal places.
    There is a column tab when creating a user defined report that would imply it formats that column.
    Thank you in advance for help. By the way, I'm using the 1.1.0.21 build MAIN 21.7

  • Non-Interactive Report Break Formatting

    I have a non-interactive report that is very large and I am trying to use break formatting to provide subtotals. It works, but is quite ugly. Can anyone tell me where I might find a list of the various substitution strings that can be used for controlling the appearance of the breaks? For example, right now when it breaks for a change in "Payor Name", the subtotal row is labeled "Total for Payor Name". It would be much friendlier if the row label said "Total for Aetna" when Aetna is the Payor Name and "Total for Cigna" when the Payor Name is Cigna, etc. For example
    [Parent Name|http://ndhoast.tsh.mis.mckesson.com:7778/pls/apex/f?p=123:75:720425469268847:fsp_sort_1_desc::RP&fsp_region_id=27444927281350588|Sort by this column] [Payor Name|http://ndhoast.tsh.mis.mckesson.com:7778/pls/apex/f?p=123:75:720425469268847:fsp_sort_2::RP&fsp_region_id=27444927281350588|Sort by this column] ClaimType ST [RH Payor ID|http://ndhoast.tsh.mis.mckesson.com:7778/pls/apex/f?p=123:75:720425469268847:fsp_sort_5::RP&fsp_region_id=27444927281350588|Sort by this column] [Naic/EmdPayor Id|http://ndhoast.tsh.mis.mckesson.com:7778/pls/apex/f?p=123:75:720425469268847:fsp_sort_6::RP&fsp_region_id=27444927281350588|Sort by this column] LOC TRX [TRX Count|http://ndhoast.tsh.mis.mckesson.com:7778/pls/apex/f?p=123:75:720425469268847:fsp_sort_9::RP&fsp_region_id=27444927281350588|Sort by this column] [TRX Dollar Amt|http://ndhoast.tsh.mis.mckesson.com:7778/pls/apex/f?p=123:75:720425469268847:fsp_sort_10::RP&fsp_region_id=27444927281350588|Sort by this column]
    World Insurance Company World Insurance Company I - COMM085001 75276 DBQ CLM 18 $40,679.82
    Total for: ClaimType *18* *$40,679.82*
    P - COMM098401 75276 DBQ CLM 457 $129,959.38
    Total for: Payor Name *475* *$170,639.20*
    Total for: Parent Name *475* *$170,639.20*

    This has been an area in need of some attention for quite a while, in my opinion.
    Re: Formatting of Reporting Totals
    Re: Report Break Formatting
    I've just looked at 3.2, and the help messages are the same &ndash; not at all helpful &ndash; ones I remember from 1.6.
    I'm seem to recall this was raised on one of the enhancement request threads, but it doesn't seem to have been touched...

  • Interactive reports - Number formats

    Hi Guys,
    I am new to Interactive Reports. I have a number column that I want to but a format on and have a total which I also want to format. Any ideas. TO_CHAR means I cannot apply an aggregate.
    Thanks

    Go to Report Attributes tab, and click on the Edit icon in the Column Attributes area. In Column Definition, you will see Number/Date Format option.
    Hope it helps.
    Ravi

  • Mouseover / hover functionlity on Interactive Report  column

    Hi,
    I have an Interactive Report and having 2 columns say BATCH_NUM, BATCH_DESC.
    only BATCH_NUM is displayed on the IR.
    I want something like mouseover / hover functionlity on BATCH_NUM field, so that if user is over BATCH_NUM field it should display the BATCH_DESC for that record.
    Any idea how can I do that.
    Thanks,
    Deepak

    Take a look at this list of threads (You may find something that helps..) : Oracle Application Express (APEX)
    Thank you,
    Tony Miller
    Webster, TX

  • Background image on Interactive report column

    Hi,
    I have had a request from a customer with regards to displaying a background image behind a column on an interactive report.
    The interactive report is used to show notes added for an individual in the application.
    They want to display a note image behind the text to make the note stand out better.
    Is it possible to add a background image to the each cell in the interactive report
    Thanks
    Kevin
    Edited by: Cod'ead on Nov 30, 2009 3:43 PM

    Take a look at this list of threads (You may find something that helps..) : Oracle Application Express (APEX)
    Thank you,
    Tony Miller
    Webster, TX

  • 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

Maybe you are looking for

  • The picture do not save anywhere when I take them

    Hi When I take a picture, it shows that its taking the picture I can even view it for a while on the screen, but once it goes away and I try to find it, its not there. I have tried checking my media card and found nothing. When I go to pictures where

  • JFileChooser incredibly slow both to initialize and to change directories

    I have searched the forums for this and haven't found anything useful. I have the following code running in jre1.6.0_07: JFileChooser objFileChooser = new JFileChooser(); objFileChooser.setAcceptAllFileFilterUsed(true); objFileChooser.addChoosableFil

  • Reg. not allowing customer clearing

    Dear all ,                 how we can not allowing system for clearing customer open items through Tcode F-32 ? please provide some inputs Thks & Regards shailesh

  • How to add a tone from computer

    how to add a tone from computer

  • Web Dynpro For ABAP Question

    Hi all, I'm creating Adobe Interactive forms in Web Dynpro for ABAP. <b>Problem:</b> <b>Context defined in the created "View" is not displayed in the 'templates' (Adobe Interactive Form in the "Data View" tab.</b> I'm following the exact steps used i