Can I change column headings dynamically based on report query conditions ?

Hi All,
Is there a possibility in OBIEE to change the headings of the column dynamically depending on the conditions that i keep on the report query ?
Assume that i am showing an emp table data of one department at a time.
The column heading of employee name should be like <DEPT>_EMP,  Where <DEPT> is the department on which i was reporting..
Example:
Report query : Select * from emp where dept = 'PHYSICS'
The column heading of employee name should be PHYSICS_EMP.
Thanks in advance.

Hello,
did you try to create a column with the data of dept and put it in a column level of a pivot table?
In the example that you gave, the column head would show 'PHYSICS' because it's the data filtered at your query. Them, you just edit this column and concatenate the '_EMP' string.

Similar Messages

  • Change Column Heading dynamically in ABAP report

    Hi,
    is it possible to have the selection screen values in the column heading of the result screen in a report?
    Currently list heading / column heading values are maintained in a Goto-> Text elements -> List headings
    but I would like to have values there that are entered by user, is it possible?
    Regards,
    Mindaugas

    Hi,
    User can Maintain the Column Heading's, by the way you mentioned....
    Else you can use TOP-OF-PAGE event to build Dynamic Coulmn Headers.

  • How change the graph dynamically based on pivot table.

    Hi,
    My Report having pivot table and bar chart. Organization Name column set as pivot table prompts in pivot table.So Organization Name is appear as dropdown list.If i choose the diffrent Organization Names the pivot table data is according to the Organization Name but no changes in chart.How change the Graph dynamically based on pivot table.
    Please help on this.

    ok.I created pivot table with 4 columns and created chart using pivot table chart options but all 4 columns are displaying chart.But I need only 2 column in chart ..unable to edit the only chart in pivot table.Please help on this.Thank you..

  • Change column header dynamically at report run time

    how to use LOV In report column definition under column attributes for display..
    If it suceeded will it dynamicaly change header name at time of running report
    my requirement is actually to change column header dynamically at time of run report
    is it possible with above mentioned way?
    Apex 4.1, Oracle 11g, PL/SQL Gateway configuration
    Please help me on this
    Thanks

    Hi,
    by making use of specific report column templates and column template conditions you can change the headers dynamically.
    See this http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/ui_templt.htm#HTMDB25708 for more info.
    regards,
    Erik-jan

  • How can i change column header value dynamically in IR report

    HI,
    I have created report with the help of collections. Report query has been changing dynamically but i got problem with report header names and headers names has not been changing dynamically it is always showing like c001,c002....etc so, i have created global item(G_ITEM) in shared components--->Applications items after that
    I have created process(before headers) and assigning some value to G_ITEM and used &G_ITEM to column headres in IR Report but here &G_ITEM is not showing any value.
    How can i achieve dynamic headers names by using *&G_ITEM(global items)* Please guide me to achieve this.
    Thanks in advance.
    Regards
    Narender B

    Narender wrote:
    HI,
    I have created report with the help of collections. Report query has been changing dynamically but i got problem with report header names and headers names has not been changing dynamically it is always showing like c001,c002....etc so, i have created global item(G_ITEM) in shared components--->Applications items after thatWhy didn't you answer the questions in the other thread to see if there was a better approach than this?
    I have created process(before headers) and assigning some value to G_ITEM and used &G_ITEM to column headres in IR Report but here &G_ITEM is not showing any value.
    How can i achieve dynamic headers names by using *&G_ITEM(global items)* Please guide me to achieve this.The static text exact substitution method of referencing the value of an APEX item requires a terminating dot ("."):
    &G_ITEM.

  • Indenting Column Headings for a Vertical Report - Carl, can you help pls.

    Hi,
    For a SQL Query region, under Report Attributes, is it possible to indent certain Column Headings somehow in order to achieve the following result:
    Test1 : A
    --------Sub Test1a : A1
    Test2 : B
    Test3 : C
    --------Sub Test3a : C1
    --------Sub Test3b : C2
    Test4 : D
    etc...
    So based on the above, I would like to be able to indent 'Sub Test1a', 'Sub Test3a' and 'Sub Test3b'. I have tried ' '  as well as <pre> Sub Test1a</pre> but unfortunately no go.
    Can anyone pls assist.
    Thanks.
    Tony.
    Message was edited by:
    tfatouro

    Try setting the column heading alignment to "Left" and then
    Test 1 : A&lt;BR/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Sub Test 1a : A1
    Message was edited by:
    amaline

  • HTML DB Chang column name dynamically

    Can I change the column name dynamically. for instance
    Today run my apply it will display the title of the columns this
    Column title: Wed Thu Fri
    04/22/05 04/23/05 04/24/05
    Data 45 34 34
    54 56 23
    Next week
    Column title: Wed Thu Fri
    05/03/05 05/04/05 05/05/05
    45 34 34
    54 56 23
    The date Change Dynamically?

    Go to your report and open report atributes. There you can choose the options for column names. Click on the pl/sql function and type this in:
    DECLARE v varchar2(20);
    begin
    v := to_char(SYSDATE, 'dd.mm.yy')||':'||to_char(SYSDATE+1, 'dd.mm.yy');
    RETURN v;
    END;
    This will set the first two columns to the specified dates. You can use this as one option.
    If the case is more complicated than you can do the following:
    1. create a number of items on your page - hidden
    2. compute the items with values once the page is loaded
    3. use item substitute string &ITEM. in the column name, which will use the item value as a name for the column.
    This way you are more flexible since you can use the item values for some columns only and have the other columns hardcoded.
    Denes Kubicek

  • Change column headers dynamically in OBIEE

    hey guys.
    We are working on a BI module for Finance. The data mart captures data for Actuals/Forecasts and Budgets for entire year by months (for example Jan2008 will have Actual/Forecast value and Budget value & similarly for other months of the year) .
    Now while displaying on the dashboard reports the column header for the current month should read as Actual and for coming months it should read as Forecast.
    Any suggestions as to where we can implement this business rule so as to make the column header dynamic.
    Thanks
    OBIEE_user

    Seems like you don't know Venkat yet...
    http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting/

  • How can I change column name in ALV table in WebDynpro ABAP?

    Hi Everyone,
    I have created an ALV table in WebDynpro ABAP. I have created a context node and added the required attributes there - for the ALV display.
    Now I want to change one columnn name of the ALV table.... Currently it is showing the description of the data element, which I don't want to show. I cannot create a new DE only for this purpose.
    Please let me know how can I change the name of the column.
    Regards

    Hi,
    This may help you to define your own column text in the ALV Table of webdynpro.
    see the below code.
    Here 'STATUS_ICON' is the column of the the output display of the ALV Table of webdynpro.
    "change the label of the report.
    DATA: lr_weeknum TYPE REF TO cl_salv_wd_column.
    CALL METHOD l_value->if_salv_wd_column_settings~get_column
    EXPORTING
    id = 'STATUS_ICON'
    RECEIVING
    value = lr_weeknum.
    SET THE LABEL OF THE COLUMN
    DATA: hr_weeknum TYPE REF TO cl_salv_wd_column_header.
    CALL METHOD lr_weeknum->get_header
    RECEIVING
    value = hr_weeknum.
    CALL METHOD lr_weeknum->set_resizable
    EXPORTING
    value = abap_false.
    hr_weeknum->set_prop_ddic_binding_field(
    property = if_salv_wd_c_ddic_binding=>bind_prop_text
    value = if_salv_wd_c_ddic_binding=>ddic_bind_none ).
    set the text of the column
    CALL METHOD hr_weeknum->set_text
    EXPORTING
    value = 'C Form'.
    regarads,
    balu

  • Can't change column width

    Hi
    I'm working on an existing site (and learning as I go). I was
    just trying to get some boxes to line up in the navigation bar and
    pulled it too wide to see if my adjustements were appearing in the
    browser. Now I can't change it back to the proper size. I've tried
    changing it in the HTML, the properties, the CSS, by manually
    pulling on the box handle (it lets me go wider, but not narrower)
    and it always reverts back to the wide size.
    You can see from the screen shot that the proper width is
    showing, but the actual column width is in parenthesis. This is the
    width that I can't seem to get rid of. OK, never mind about the
    screen shot - I can't post one here, crap.
    This is what the column width looks like 147 (196). I cannot
    get rid of the 196 and when I pull the image narrower, all my code
    bounces back to 196 even though I've changed it to 147.
    I've attached the code, but I don't see what anyone can do -
    code says 147 - column width remains 196. Please help me change it!
    Also, I just saw the posting that appeared right before me on
    the same topic. My site is not live yet so I'm sorry that you can't
    look directly at the source - the old site is www.breadandlife.org
    if that helps - at least it's showing the correct navbar width.
    And padding is not the problem, already looked at that.
    Just looked at the existing site in Dreamweaver and the
    navbar is also stretching out to 196! Did I do something to change
    defaults in the navbar that is applying to all files I open? I'm
    going to close it and make sure I don't save it...
    I hope this will be a quick and easy answer for someone...

    can you try edit view--> view properties --> Text and Align tab--> select field you want to change --> check width and give number of pixels.
    HTH,
    Suma

  • Unable to change column width dynamically in cross tab report.

    Hi,
    We have developed cross tab layout using template builder v.10.1.3.2.1 in EBS.I am trying to increase column width dynamically and the width is coming xml.
    i looked at document and found one command <?split-column-width:name?> for the same.i tried but it is not increasing the size of one column.
    Output
    column1 column2 column3 .......
    Row text1 10 20 30
    Row text2 40 50 60
    I want to inrease the size of column for row text1 and row text2.
    Need help in this.
    Thanks,
    Mahesh

    Is the field that holds your width value called "name"?
    Can you send me the xml and RTF template to [email protected] and I can take a look.
    Thanks,
    Bipuser

  • Change column headings

    I am using BC4J objects with the uiXML interface and need to know how do you change the column heading.
    I found one place where you can <bc4j:sortableHeader text = "new name"/>
    but what I really want is to use the control hints on my BC4J object.
    how do you do this?
    thanks

    From your description, I'm not sure if you are using the 9.0.3 BC4J UIX components or the 10g ADF Model bindings.
    Since you mentioned bc4j:table, I'll assume the former.
    The previous post is correct that you can simply change the text on the sortableHeader in the column element.
    However, if you want to bind the text attribute to a BC4J UI Hint, you can do that as well. There is special bound value for accessing attribute ui hints. You can use this bound value inside of the boundAttribute element like so:
    <sortableHeader>
    <boundAttribute name="text">
    <bc4j:attrHints name="label"/>
    </boundAttribute>
    </sortableHeader>
    In 10g Preview, you can just set the text directly to whatever you want. In the 10g production release, it will be automatically bound to the label from the model.

  • Can't change column data type

    Hi, i am using Sybase IQ 16.0
    I have created a table, when I want to change one of the data type for a column for example from char to varchar, the list box is grey color and not allow me to change.
    Right click table > Properties > Columns > Data Type
    I have granted all permission for dba, but still not able to edit. (please see the attached file)
    Any help?
    Thanks.

    Hi Nelson.
    You can not change the datatype of an existing column.
    The doc reference is here: Altering Tables
    "After you create a column, you cannot modify the column data type. To change a data type, drop the column and recreate it with the correct data type."
    If you already have data in the column, you can try this:
    create the new column with a slightly different name
    copy the data in to the new column
    drop the original column
    rename the new column to the old column's name.
    --Kirby

  • Can we change the partner number based on the reason in CIC0 in CRM ?

    Dear Experts,
            Can we change the responsible partner number based on the reason in CIC0 in CRM ?
    regards,
    Abhijit G. Borkar
    Edited by: Abhijit Borkar on Jul 10, 2009 6:46 AM
    Can it be done by using 'Actions' ?

    Hi Abhijit,
    Yes you can do this a number of ways:
    action
    badi - partner or order
    event - custom function module
    Remember that the partner determination must allow for this partner to be changed.
    Cheers
    Andrew

  • How to change column heading in line item report

    Hello Experts,
    How to change the column heading in the line item report CJI4 or CJI3  ?
    for eg: The field WBS will show as Object in the heading. Here  I would like to change to WBS.
    Is there a way to do this without changing ABAP code
    FATMAN

    Not possible through standard I guess.
    Enhancement you should be looking is COOMEP01 which includes the component EXIT_SAPLKAEP_009
    i.e., Line Item Reports: Customer-specific Formatting of the Lists.You use this enhancement to modify column headings.
    Regards
    Sreenivas

Maybe you are looking for