Breaking a column header in OBIEE

Hi All,
I have a very simple issue and I thought I had the work around but not really
I have a column that reads
Amount sold and I want to break it as
Amount
Sold
solely because when the reports are downloaded to excel or other formats it makes it easier to read the column names
I have tried the following
1.HTML TAG /BR HTML TAG does not work.
2.Can not use the HARDEN XSS config parameter because of security issues.
Any tips on how to go about doing this.
Regards,

When it comes to exporting OBIEE reports to Excel, there is a very limited amount that you can do. You are not going to find much you can do configuring the OBIEE report to come out the way you want it to in Excel, especially when it comes to formatting. It would be best to simply highlight the row in Excel after download, and turn on "wrap text."
As you might know, if you "download to Excel" via the Report Links from the dashboard, the actual file will be in mhtml format, not xls. It will open in Excel, but you have to convert it to Excel to make it a true Excel file.
There are other ways to get an OBI file to Excel.
Another way is to click on the Advanced tab of the request. Click on the second link from the top and select "Open" in the next pop-up window. After requesting OBIEE credentials (your login and password), it will open up Excel and this time actually produce an Excel file.
The third way to get an Excel file from OBIEE is to first open Excel. Then click on the "Get External Data from Web." (I'm using Excel 2007 -- you will have to search for this command as Excel doesn't default this option from showing up in the ribbon or menus. I created a shortcut.) When the pop-up window comes up, paste the URL from of the answers report and at the very end, add &Format=Excel to the end. The OBI login screen will appear. Log in. The next window will display your report with a whole bunch of yellow arrows. Select the proper yellow arrow (you'll know what I'm talking about once you try it), and voila, the report will pop in Excel.
That's about all the (easy) options you have to work with.
Edited by: David_T on Aug 24, 2010 7:25 AM
Edited by: David_T on Aug 24, 2010 1:34 PM

Similar Messages

  • Dyanmic Column Heading in OBIEE

    Hi Experts,
    Can we changes the column heading dynamically.
    We are using OBIEE 10G
    Thanks,

    Hi user,
    Here is the link,might be access is denied in your system check on other system
    http://total-bi.com/2011/03/obiee-dynamic-column-headings/
    Anyways here it is
    2.Use a session variable to dynamically set the column name in the presentation layer of the RPD. E.g.
    3. Use a presentation variable as the column name.
    This is probably the better of the techniques but it is still far from ideal. Simply edit the column properties and put the name as @{variable_name}{default_value}.
    But we still have the problem of how to make this dynamic. Well, we can set a presentation variable using a dashboard prompt so we need to create a prompt and force it to a default value. Note that the prompt will need to be added to the dashboard but can be hidden by setting the CSS style to display:none on the dashboard section.
    Cheers,
    KK

  • Line break on column header

    after you run your sql statement, let us say that your column header looks like this companName(Main Head Quarter) will it possible to have a line break after the companyName in your sql statement and make the out put for the sql statement look like this.
    companyName                    companyAddress          Zipcode
    (Main Head quarter)   

    I know I can do this in sql plus. example COLUMN SALARY HEADING 'MONTHLY|SALARY'
    but I am using toad and wondering if there is an option that I can turn on to display the header in two lines. thank you

  • Showing column header in obiee pivot view

    Hi,
    I have a requirment where I need to display column heading in pivot view.
    Some thing like below;
    *(col Head)* AUD GBP
    *(Col Head)* 16/12/2011 16/12/2011
    Open Bal 230 450
    Close Bal 300 800
    xxxx xx ..
    yyy
    dd
    In the Place of (col Head) I need to get column heading of(AUD and Date) in pivot view.
    Can anyone please help with it.
    Thanks,
    Ash

    my report looks like below:
    _(col name of AUD)_________________|_______AUD______________|________USD_______
    _(Col Name of 18/12/2011)__________ |_____18/12/2011__________|______18/12/2011____
    Open Bal 130 180
    Close Bal 140 190
    in the pivot view:
    Row Section: Measure Labels
    Columns Section: Currency, Date
    Measures: Open Bal, Close Bal etc... Columns

  • Breaking line in column header

    Hi,everybody
    How can I break the line in column header for two lines?
    Regards,
    Michael

    Hi michael,
    As per my knowledge the webdynpro accomodates the text you given as column header.I did so many experiments on this in my previous developement.There is no option to break the column header.See one thing if the number of columns are more in your table and the headers are too large and if you restrict the table size then this might will break the column header because of  table width.I am not sure.But there is no options to control this by the developer.This is totally the results of my experiments.If you acheive this please give me the procedure.
    Thanks and regards
    venkatakalyan K

  • Row break + column header Question

    I've got two question i can't find out by myself.
    Question 1:
    I use a row break on the first column of my report. That workd correctly. But how do i get a line or a empety row after the break? I prefer a line...
    Question 2:
    I want to have an extra header above some columns. how to create that. A example:
    extra header 1 extra header 2
    column1 column2 column3 column4 column5 column6 column7
    hope someone can help me with this... tnx in advanced

    Hi,
    For your second question, you could create a custom template and put in the additional headers in there, under the 'Before Column Heading' section. I have done this with one of my reports where I simply copied the standard template and changed it to include the header information. This is an example of what I have in the Before Column Heading section for my custom template.
    <tr><th class="t18ReportHeader"#ALIGNMENT# colspan="4" style="font-weight:bold;text-align:center;">Progress Data </th></tr>
    <tr><th class="t18ReportHeader"#ALIGNMENT#> </th>
    <th class="t18ReportHeader"#ALIGNMENT# style="font-weight:bold;text-align:center;" colspan="4"> Header 1 </th>
    <th class="t18ReportHeader"#ALIGNMENT# colspan="5" style="font-weight:bold;text-align:center"> Header 2 </th>
    <th class="t18ReportHeader"#ALIGNMENT# colspan="4" style="font-weight:bold; text-align:center"> Header 3</th>
    HTH,
    Chandini

  • Column Header Wrapping Issue in OBIEE

    Hi All,
    We are facing issue with the Column Header Wrapping . Our requirement is to wrap the column header to three lines. Few users are able to see the wrapped header in three lines, few are able to see it in two lines . Even though the Browser is same and the screen size (of laptop / desktop) is same we are facing issue with few users. It is also different in different instances . For ex, In DEV instance it is wrapped in three lines but for the same user with same laptop same browser , it is not wrapped in TEST instance.
    Options tried :
    Reducing the width in the additional column properties wraps the header in four line
    CSS Styling : word-wrap:break-word
    Why is there difference in wrapping between the instance for the same user ? Any help , would be appreciated.

    My dear,
    All blogs and sites are teaches about the ways to implement/create a specific functionality.
    Let me go to bed to dream your issue and share that with blog owner so that he can put your issue ;)
    stay tune
    thanks

  • OBIEE 11g:  Use presentation variable in Column Heading

    Hi everyone,
    I was playing around with sample app dashboards and I saw a dashboard prompt that they converted into a column selector. I liked it and reproduced it in my own sandbox.
    I like the results, however, I would also like to change the column heading to clearly reflect which measure was selected. It's pretty clear when you are looking in the dashboard, but once you export the data, it can be confusing which measure was selected.
    That is why I would like to use a presentation variable in the column heading section. I tried to do this but it interpreted it as a literal instead of evaluating the statement.
    Is there anyway to get a variable in the column heading?
    Thanks!
    -Joe

    Hi,
    Have a look at the following links:
    http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting/
    show the presentation variable on table column header
    Define presentation variable in column header
    hope it helps.
    Regards,
    Kalyan Chukkapalli
    http://123obi.com

  • Report Painter Column Header to display on continuing page

    Gods of FICO,
    I've report painter issue. When out of a report is printed, and when it is longer than one page..... the column header description is not getting displayed on second page.
    how can i show column header description on subsequent pages?
    thanks

    Hi,
    I have the same issue. I have also de-selected the 'Allow row to break across pages' for the whole table but still the table breaks and continues on the next page.
    I see that the question has been answers correct but no solution provided. I would appreciate if you could post the solution.
    Regards,
    Hakan
    Edited by: HakanB on 2011-maj-04 00:05

  • Exporting to Excel - How to control Column Heading?

    I'm working in SSRS 2012.  I have one tablix in the report body.  The tablix has both Row and Column Groups.
    When rendering in the web browser the report page breaks on a row group.  The Repeat Column Headers property is set to "True" so it shows the column headings from page to page.
    When rendering in Excel, I want one worksheet and not separate worksheets so the page break is disabled via the Page Break->Disabled property expression "=IIf(Globals!RenderFormat.Name="EXCELOPENXML", True, False)".
    This is all good but the Column Headings only show up once at the very top in the excel worksheet. 
    Is it possible to make the Column Headings repeat with each tablix data region as it is rendered vertically down the worksheet?
    OR is there a way from SSRS to set the Excel property "Rows to Repeat at top" to include Column Heading; by default the SSRS Report's header is repeated in Excel, but can the number of rows be changed to include the Column Heading?
    OR is there some other work around?
    Thanks for your help.
    Mark

    Thanks for the reply Wendy.
    You addressed my second question ... "is there a way from SSRS to set the Excel property "Rows to Repeat at top" to include Column Heading; by default the SSRS Report's header is repeated in Excel, but can it be changed to include the Column Heading? 
    Based on your response, the only way to freeze the column header in excel is to freeze or split panes AFTER export to excel.  well booo but I have to accept that I guess.
    My first question is what I really want to do, which is to physically repeat the Column Heading in the excel rendering. I included two pictures demonstrate what I want ...
    1) the standard SSRS report rendered in Excel ... Column Headings are shown once:
    Standard Export to Excel
                           Year
    Region
    Category
    2011
    2012
    2013
            Total
    East
    Sales
    10
    20
    30
    60
    Expenses
    8
    20
    10
    38
    Profit
    2
    0
    20
    22
    West
    Sales
    8
    16
    24
    48
    Expenses
    6
    16
    8
    30
    Profit
    2
    0
    16
    18
    2) what I'd like to see rendered in Excel ... which is to repeat the headers as you scroll down the page
    Desired Export to Excel
                          Year
    Region
    Category
    2011
    2012
    2013
            Total
    East
    Sales
    10
    20
    30
    60
    Expenses
    8
    20
    10
    38
    Profit
    2
    0
    20
    22
                           Year
    Region
    Category
    2011
    2012
    2013
            Total
    West
    Sales
    8
    16
    24
    48
    Expenses
    6
    16
    8
    30
    Profit
    2
    0
    16
    18
    Thanks again for your help,
    Mark

  • Adding Date to Column Header

    Hi
    I'm having some issues getting a date into a column header for a tab report I am creating.
    this thread
    Re: sysdate in region header
    suggested using a hidden item and having a pl/sql function body and including the item in the header.
    So I set the Column title up with "Outdoors <br> &P1120_DISPLAY_DATE"
    In the item source I set
    begin
    :P1120_DISPLAY_DATE := sysdate;
    end;
    However I end up with a syntax error message when the page starts to draw ...
    ORA-06550: line 1, column 27: PLS-00103: Encountered the symbol "BEGIN" when expecting one of the following: ( - + case mod new not null avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date pipe
         Error      ERR-1020 Error in PLSQL item processing (function).
    When I just use sysdate as a test method ( no additional pl/sql) the error goes but the item does not appear to be set. In the Column title I get the item name not the value.
    I wanted to have the column set to Outdoors <br> 12-Mar-05
    Appreciate some guidance on this one.
    Stephen

    Thanks Denes
    That sorts the item out but I can't get it into the column header.
    My item is called P1120_Display_date.
    I have the report column header set to Custom , and the code in the header is
    Col1 < b r > &P1120_Display_date
    and apart for doing the line break thats how it displays. I'm sure its possible I just can't seem to get it.
    Cheers
    Stephen
    Message was edited by:
    StephenP

  • Dynamic Header  in obiee

    Hi Experts,
    I have date prompt where i have value like
    3/31/2012
    4/30/2012
    When i cilcik 4/30/2012(april month) ,i should get result of april and march month
    Report i have 3 columns,
    company ,Current month sales,previous month sales
    i have used combine requiest in my report,so i can use only column Format for my report column header
    Here as per my selection my header should change,i shuold display April instead of current month and MArch for previous ,
    So my result should look like below
    company,April Sales,March sales
    I can take month value from prompt and give case statement,but how to give in column header,how this can be achieved?

    944346 wrote:
    Hi Experts,
    I have date prompt where i have value like
    3/31/2012
    4/30/2012
    When i cilcik 4/30/2012(april month) ,i should get result of april and march month
    Report i have 3 columns,
    company ,Current month sales,previous month sales
    i have used combine requiest in my report,so i can use only column Format for my report column header
    Here as per my selection my header should change,i shuold display April instead of current month and MArch for previous ,
    So my result should look like below
    company,April Sales,March sales
    I can take month value from prompt and give case statement,but how to give in column header,how this can be achieved?What version of OBIEE are you using? Try populating the selection of the prompt into a presentation variable, and in the column headings, use presentation varaibles.
    For Column 1: @{variable_name} Sales
    For Column 2: @{variable_name - 1} Sales
    The above functionality worked in .3 version of 11g but didnt work in .5. Test on your end and let us know the results.

  • JTable not displaying column Heads

    The following JPanel was constructed using JBuilder 7 (a horrendous piece of software) and is in GridBagLayout. I'm attempting to display the contents of a table using JTable, and whilst it displays the rows it doesn't display the columnHeads! What am I doing wrong?
    import java.sql.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    import java.text.*;
    public class BeginTask extends JPanel implements ActionListener{
    private boolean dbupdated;
    private MainFrame main;
    private JLabel jLabel1 = new JLabel();
    private JLabel jLabel2 = new JLabel();
    private JTable jTable1 = new JTable();
    private JButton jButton1 = new JButton();
    private JButton jButton2 = new JButton();
    private GridBagLayout gridBagLayout1 = new GridBagLayout();
    private Connection connection;
    private String url = "jdbc:odbc:bapers";
    private String username = "";
    private String password = "";
    public BeginTask(MainFrame ma) throws SQLException{
    main = ma;
    logon();
    drawTable();
    try {
    jbInit();
    catch(Exception ex) {
    ex.printStackTrace();
    void jbInit() throws Exception {
    jLabel1.setFont(new java.awt.Font("Dialog", 1, 18));
    jLabel1.setText("Begin Task");
    this.setLayout(gridBagLayout1);
    jLabel2.setText("Select Task, and press OK.");
    jButton1.setText("OK");
    jButton2.setText("CANCEL");
    jButton1.addActionListener(this);
    jButton2.addActionListener(this);
    this.add(jButton1, new GridBagConstraints(0, 3, 1, 1, 0.0, 0.0
    ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(12, 117, 14, 0), 94, 8));
    this.add(jButton2, new GridBagConstraints(1, 3, 1, 1, 0.0, 0.0
    ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(19, 43, 7, 119), 62, 8));
    this.add(jTable1, new GridBagConstraints(0, 2, 2, 1, 1.0, 1.0
    ,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(12, 25, 0, 22), 522, 281));
    this.add(jLabel2, new GridBagConstraints(0, 1, 2, 1, 0.0, 0.0
    ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 181, 0, 226), 13, 6));
    this.add(jLabel1, new GridBagConstraints(0, 0, 2, 1, 0.0, 0.0
    ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(29, 202, 0, 251), 19, 17));
    public void actionPerformed(ActionEvent e) {
    if (e.getSource() == jButton1) {
    if (dbupdated == true)
    JOptionPane.showMessageDialog(null, "The database has been updated to show that the user has begun the task selected.");
    else if (dbupdated == false)
    JOptionPane.showMessageDialog(null, "The database has not been updated.");
    else if (e.getSource() == jButton2) {
    BapProcMain bpm = new BapProcMain(main);
    main.redisplay(bpm);
    public void logon() {
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    connection = DriverManager.getConnection(url, username, password);
    catch (ClassNotFoundException cnfex) {
    System.err.println("Failed to load the JDBC/ODBC driver.");
    cnfex.printStackTrace();
    System.exit(1);
    catch (SQLException sqlex) {
    System.err.println("Unable to connect (SQL error)");
    sqlex.printStackTrace();
    public void logoff() {
    if (connection == null) return;
    try { connection.close(); }
    catch (SQLException sqlex) {
    System.err.println("Unable to disconnect (SQL error)");
    public void drawTable() {
    Statement stmt;
    ResultSet rset;
    try {
    String query = "SELECT * FROM SpecificTask";
    stmt = connection.createStatement();
    rset = stmt.executeQuery(query);
    displayResultSet(rset);
    stmt.close();
    catch (SQLException sqlex) {
    sqlex.printStackTrace();
    private void displayResultSet(ResultSet rs) throws SQLException {
    // position to first record
    boolean moreRecords = rs.next();
    // if there are no records, display a message
    if (! moreRecords){
    JOptionPane.showMessageDialog (this, "No Specific Tasks to begin.");
    return;
    Vector columnHeads = new Vector();
    Vector rows = new Vector();
    try {
    // get column heads
    ResultSetMetaData rsmd = rs.getMetaData();
    for (int i = 1; i <= rsmd.getColumnCount(); ++i)
    columnHeads.addElement (rsmd.getColumnName(i));
    //get row data
    // System.out.println("Got this far. Check getNextRow(...)");
    do { rows.addElement(getNextRow(rs, rsmd)); }
    while (rs.next());
    // display table with ResultSet contents
    jTable1 = new JTable (rows, columnHeads);
    JScrollPane scroller = new JScrollPane(jTable1);
    // validate();
    catch (SQLException sqlex) {
    sqlex.printStackTrace();
    private Vector getNextRow (ResultSet rs, ResultSetMetaData rsmd) throws SQLException {
    Vector currentRow = new Vector();
    for (int i = 1; i <= rsmd.getColumnCount(); ++ i)
    switch (rsmd.getColumnType(i)) {
    case Types.VARCHAR:
    currentRow.addElement(rs.getString(i));
    break;
    case Types.INTEGER:
    currentRow.addElement(new Long (rs.getLong(i) ) );
    break;
    default: System.out.println ("Type was: " +
    rsmd.getColumnTypeName(i));
    return currentRow;
    }

    The table header is shown automatically when you add the table to a scrollpane and then display the scrollpane in a panel. You use the following code to build the table/scrollpane:
    // display table with ResultSet contents
    jTable1 = new JTable (rows, columnHeads);
    JScrollPane scroller = new JScrollPane(jTable1);
    but, you add the table to your panel NOT the scrollpane:
    this.add(jTable1, new GridBagConstraints(0, 2, 2, 1, 1.0, 1.0
    ,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(12, 25, 0, 22), 522, 281));
    You should be adding the scrollpane to you panel.

  • Interactive Report, issue with backgroud color of Column Heading.

    Hi,
    I am using Theme -16
    and there is a Interactive Report with the following columns Headings
    Employee Name   Employee No  DOB
    Now, the label of the first column is changed from Employee Name to Employee<br>name.
    The column heading is now displayed as follows.
    Employee   Employee No   DOB
    Name         problem is when I add a break in any of the column heading..the background color of the column headings is different than the first one (little bit darker).
    Why the background ground of the column heading is different in both these cases??.
    Thanks,
    Deepak

    Why the background ground of the column heading is different in both these cases??.The report heading background is controlled by the CSS rule
    .apexir_WORKSHEET_DATA th {
      background: #4e4e4e;
      font-weight: bold;
      color: #fff;
      border-top: 1px #ccc solid;
      border-bottom: 1px #aaa solid;
      white-space: nowrap;
      vertical-align: center;
      letter-spacing: 1;
      font-size: 8pt;
      background-image: url(../ws/report_bg.gif);
      background-repeat: repeat-x;
    }This uses a [gradient image|http://apex.oracle.com/i/ws/report_bg.gif] that is repeated horizontally to provide a shaded background from light to dark grey. As the background image doesn't repeat vertically, when the height of the heading is more than the height of the image the gradient is replaced by the underlying background colour (#4e4e4e). This is what's happening when the break is inserted into the header text: the height of the heading increases, causing more of the darker area of the background image/underlying colour to be visible.

  • Changing the Column Header and Hiding the Column dynamically???

    Hi friends..
    I'm new to OBIEE field. I'm working in a OBIEE project that requires to dynamically change the column header, and dynamically hide the column depending on the prompt value.
    I know we can dynamically change the table header using the presentation variable but I couldn't do that same thing with column header.
    I searched some forums that suggest to use java script for this purpose but I'm not able to do the same also. If anyone had same issue before please help.

    toony, I'm not sure it's possible to do all that you want exactly the way you want, but here are some ideas you can pursue.
    To dynamically change column headers without javascript, check this blog out...
    http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting/
    As far as dynamically hiding a column, I don't think you can do this, but since you don't provide any details on how the PV is supposed to hide a column based on the value, are you talking about hiding a column for one PV value and another (different) column for a different PV value? Or are you talking about hiding one column when a PV has certain values and displaying it when the PV has a different set of values?
    I have managed to create both scenarios via a work-around, but the procedures require some writing so I don't want to put both. Please detail how you want your PV to "hide" a column or columns.
    P.S. I don't think column selectors will do the trick for you. Basically column selectors work like this: Say you have a report using Sales Region ID, Region Name, and Sales. Now let's say you want the user to choose if he/she wants to see annual sales, or quarter sales or weekly sales, etc. The column selector view would allow you to put the various columns (Year Sales, Quarter Sales, Weekly Sales) as an option the user can select. Once selected, the sales figure will change for the time period selected. For an example of how this is done, check out the section in this "Oracle by Example" link.
    Waited too long to publish this... Madan beat me to it, so there is some overlap here...
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/saw/saw.html
    Edited by: LC143 on Oct 27, 2008 9:21 AM

Maybe you are looking for