Highlight column in report

How to highlight a particular column using a color in a report based on SQL query ?
Yogesh

Hi Yogesh,
The following thread might help:-
change background color for one column
Regards
Keith

Similar Messages

  • How to display top 2 countries in 2 columns in Report Designer

    Hello Gurus ,
    I have a requirement where top 2 countries has to be displayed in two different columns in Report Designer.
    is there are way to do that, i tried many differetn ways but was not successfull, apart from creating text variables and writing customer exit.
    I appreciate your help
    Thanks,
    Kumar

    Hi,
    I am not sure what version you are, from version 9.3 I think there is a "Top" function, just highlight the row, tick the option for "Top", set the number and the column
    Failing that if you need to use rank could you not hide the column.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to disable highlighting in Crystal Reports 2008

    Hi,
    does anyone know how I can disable highlighting of fields when using the .NET 2.0 CrystalReportViewer 2008?
    See as example: http://i31.tinypic.com/30ivshs.png
    The problem is, that the highlighting is meaningless and thus confusing, and additional to that it also leaves lightgray artifacts (background of the field9 on the screen after highlighting. The latter problem is not happening on every configuration though, probably related to color settings.
    Regards,
    Florian

    I do not see this highlighting in my reports, unless I design them to be as such. Questions and a suggestion:
    Do you see this highlighting in the CR designer?
    Is this a web or a win app?
    Download SP 2 for CR 2008 (12.x) and see if this helps. SP 2 is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    Ludek

  • Can we add a new column in report which is not in table.

    Hi All,
    Can we create a new column in report which is not in table.
    I have two columns in my table completion_date, manufacture_date. If the difference between the completion_date and manufacture_date is 0, -1, 1 then the new column of the report will say on time against each record or else will display late. Any suggestion how to proceed on this
    Regards
    Edited by: User_Apex on May 16, 2011 5:54 AM

    Standard report then, NOT an interactive report (which if you were using, you could build a computation and report on that)..
    Then the adding a column in the query would be your best best...
    Thank you,
    Tony Miller
    Webster, TX
    There are two kinds of pedestrians -- the quick and the dead.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • How to use the procedure column in reports

    Hi all
    How to call the procedure in reports as source.. If possible how to use columns of procedure in the layout column of report????

    Hi,
    Your query is not clear.
    1. In subject are you asking total column.
    A. Edit pivot view and go to Rows and click Total BY option here you can find option like (none,before,after) the you can select after it will display total all culms.
    2. I want use the columnC in columnD ? -- Am not understand.
    A. What my understand is you want to see the report only C and D values only.
    If it is correct we can apply filter in report level click column filed and apply not equal to A then it will show only C and D only.
    If it is wrong pleas post me correct one with example. Will try to help out this.
    I am not sure this is what your looking so far.
    Award points it is useful.
    Thanks,
    Satya

  • How to set value of a column in report region

    Hi,
    I have a report region based on a query.In this my first column is selectlist "select row" having to values "yes" & "No".
    I have two buttons on top of the region "Check all" and "uncheck all".
    My requirement is when I click check all button all rows corresponding to "select row" column gets selected to Yes and when I click No all rows gets selected to "No".
    Thanks
    Vikram

    Actully I want to set the value of a column in report region.
    There are replies in the forum but in those the item is in form but not in the report region.
    I am generating report region by using htmldb_item.selectlist and i dont know how to set value in these type of items.

  • How to include variable in the text column in report painter?

    Dear Expert,
    Would like to seek for your help to include How to include variable in the text column in report painter?Please advice.
    Thank you.
    Regards,
    Karen
    Edited by: Karen Swee Ping Ho on Jun 17, 2011 2:48 AM

    Hi,
    Thank you for the promt reply.
    1) How I include the variable in the column header to display fiscal year which I have selected from the selection screen?
    which variable should i use?
    2) Where can i find more information about the characteristic and which variable to be use base on the characteristic?
    For example: I would like to display the fiscal year from the selection screen/input screen when execute the report which also will reflected to the element definition and will display the fiscal year also in the column text?
    3) Kindly advise base on question 2, the variable that i use in element definition it will also display  in selection screen?
    4) When execute the report the first selection screen input parameter it obtain from where it is from element definition?
    5) Please advice how to be done when report execute with first screen input selection will also reflect the element definition of column and rom with the selection of the fiscal year?
    Please help.
    many thanks
    Edited by: KH on Jun 18, 2011 7:18 AM

  • How to add new column in report painter

    Hi Experts,
    I want to add new column in report painter which as to calculate the previous column . value in the new column should be the precentage of previous column existing on left side...

    HI  Pradeep,
    Goto the transaction code (Change Report) GR32.
    Give you library name and report name
    And click on the column (application tool bar or F7) button then place the curser on the screen where you want column (please note you have to keep curser on the header section u2013Red column text) right click and insert element. Then you select formula as selection element  and enter. You will get the enter formula box. Then you can type your formula and continue. This will add new column to the report.
    How to enter formula: you can see the formula components in that id and description.
    Id is columns that are present and description indicates explanation of that column.
    Enter formula according your requirement.
    Examples:
    Enter formula screen:
    ID :    des
    X001  amount
    X002  pt000
    X003  test
    1. Enter formula as: ( X001 u2013 X002)
    The above formula is for fist column u2013 second column.
    2. ( ( X001 u2013 X002) / X003) * 100
    First column u2013 second column and devide by third column after that multiple with 100.
    Hope this will help you
    Regards
    Manohar

  • Additional Lead Column in Report painter

    Hi Gurus
    Please guide me how to add an additional Lead column in Report painter
    Thanks
    Hiren

    Hi HIren,
    There can be only one lead column in report painter.
    However within the one lead column you can identify more than one characteristic - e.g. cost center and cost element. You can then identify that both characteristics should be exploded.
    If you go Edit > Rows > Explode, you have the opportunity of identifying which characteristic takes presidence over the other, and how they expand. So in this example, Cost center will be 1 and cost element will be 2.
    The output will be dependant upon your report layout, but you should have the layout so that you have:
    Cost Center A:
    - Cost Element A
    - Cost Element B:
    - Cost Element C:
    Cost Center B:
    - Cost Element A:
    - Cost Element B:
    - Cost Element C:
    And to distinguish the cost centers from the cost elements, you can format the cost center row "Color for Totals"
    Regards,
    Gaurav

  • I want to hide a column in report 6i

    hi
    I want to hide a column in report 6i,
    I used this code
    function F_col_qty3FormatTrigger return boolean is
    begin
    if :color3 is null then
         return (false);
         else
    return (TRUE);
    end if;
    end;
    plz note that COL_QTY3 and COLOR3 both are from different table
    and resulting gave this error
    REP-1314 Format trigger 'F_col_qty3' reference column 'color3' at wrong frequency.

    You can format fields from a lower level group using fields from an upper level field, but not vice versa. This is because for the same upper level field there may exist several values of the lower level field. If this can not happen in your situation, there is no reason to place the fields in different groups.

  • How do I set individual properties for a column in report layout at runtime

    How do I set individual properties for a column in report layout at runtime? I need to change this based on a user's input. This is for v10g.
    I need to change either the "Read from File" attribute or the "File Format" attribute for one column based on the user's input. IS this possible?
    Thanks in advance!

    Hi,
    define 2 columns and use format triggers to show the one or the other column.
    Regards
    Rainer

  • Sorting based on two columns in report

    Hi,
    we have one issue on sorting based on two columns in report.
    In the report we are doing sorting on two columns(week_id and stage_name). I have attached the screen shot for the same. The sorting is first done on the week_id and then on the stage_name. The issue comes when we have no data for the stage 1 - Prospect in W1. The stage goes to the second position.
    Please suggest if there is any work around to show the 1 - Prospect stage in W1.
    Regards,
    Ambika Nanda.

    what is w1? where is screenshot? and is stage seoncd sort? if so what is the issue?

  • Conditional display column in report

    Hi,
    If we have a single row report of 30 columns, and I want to display only the one with any values but null and hide the null ones, Is there a way to do it?
    It's the same issue discussed in this thread conditional display column in report
    thanks,
    Fadi.

    Samara - I suspect there are a few ways to do this, but none obvious or very easy as far as I can see.
    You can create dynamic SQL (as Arie and others have suggested) to only include the columns that are not null.
    You can build and output the HTML directly to the page, choosing only to include the values that are not null.
    You can create a set of conditions that you can apply to the report columns. A very crude example might be 30 hidden page items like 'SHOW_COL1' etc. (not great, I know), or perhaps you could set a hidden page item to a value like '01:02:03:'etc., with the number only being included if the value is not null (so that col3 being null gives you '01:02::04'etc.), so that the condition for each column is 'Text in expr 1 in contained in Item in expr 2', where expr 1 is '01' for column 1 etc.
    Sorry, that is a very contrived example, but it's just to illustrate that there's generally a way of doing pretty much anything in APEX. You might create your item containing the comparison expression by requerying the data in this kind of way:
    SELECT NVL2(column1, '01', '') || ':' || NVL2(column2, '02', '') || ':' etc.
    FROM table
    WHERE condition
    However, wanting to create a single-row report with nulls hidden makes we wonder what you're actually trying to achieve and whether there's a better way? Could you use a series of page items, for example?
    John.

  • Opening stock column in report

    Hi,
    I have a reporting requirement  report name is "Purchasing during the year" one of the column in report is Opening Stock so from where can get the opening stock in this column.

    Hui,
    kindly  use the report   MB5B
    Regards
    Damu

  • Promoted column in report

    Hi,
    Can we filter the data by using dashboard prompt in Dashboards Without a having Promoted column in report( Means Col as set as promted and not used in report).Please let me know.

    Hi,
    Yes, we do not need to always the dashboard prompt column in the report but still filter on it. Please follow steps below
    1. Create the report with the columns of choice.
    2. In the filters section, click on 'Add Filter (With Funnel and star') icon and choose the dashboard prompt column and set the filter as is-prompted.
    Hope this helps.
    Thank you,
    Dhar

Maybe you are looking for