How to display a horizontal table in OBIEE Answers?

Hi All,
In one of my Client's report the table was aligned in Horizontal manner. I tried all the options in OBIEE Answers and found no option to convert the vertical table to horizontal table in OBIEE Answers. Is there any way to convert the vertical table to horizontal table. If so, please tell me in a step wise manner as i am new to OBIEE Answers it will be easy for me to create my report.
Thanks in Advance,
Thenmozhi

Hi Deva,
As you said, I tried creating my table in Pivot view. But the only the measure columns are only retrieving values if the column is a CHARACTER column then no value is retrieved. In that column's aggregation rule only the first and last options are working. What to do to retrieve the values of a character column if it is placed in measure section of pivot table.
Thanks in Advance
Thenmozhi

Similar Messages

  • How to display a oracle table from a java program?

    How to display a oracle table from a java program.
    Hello friends, I have written a Java program, using oracle 10g as backend.
    I want to display a oracle table as output. Im not getting how to display oracle table as a output table.. Pls help me
    Thank you

    jayanthds, you're not going to get a satisfactory
    answer to this here. it's too big a task to justbe
    quickly outlined in a forum - the reply "all youneed
    to do is to query you table and return it asJTable"
    is worthless, for example, since the solution to
    any problem can be distilled to such a
    soundbite, if need be. doesn't make the solutionany
    simpler
    essentially you're asking "how do I write adatabase
    application?". all you'll get is snippets of code
    that, when fitted together, will eventually helpyou
    do this, but you'll spend days and days comingback
    saying "right, I've done that, now what?" until
    either you or the forum gets frustrated with the
    whole affair and the process stops
    there are entire books written about this subject,
    and countless tutorials and guides on theinternet.
    you're better off going down that routehehehe.well, it's true! I used to have a manager that would outline the solution to a problem in a few lines of pseudocode, and then firmly believe that the actual solution would be just as brief and simple. shame his pseudocode included such lofty abstractions as "reformat all data"

  • How to display Date Calendar in Oracle BI Answers Prompts (parameter)

    I'm still new to OBIEE.
    How to display Date Calendar in Oracle BI Answers Prompts (parameter)?
    Thanks.

    Hi,
    While creating Dash Board prompt choose the control to 'Calendar'.
    I think it is not possible to provide 'Calendar' control using Prompts tab while creating request.
    It is possible to write Java Script for a Column of data type 'char'. So, cast the date data type to char.
    Go to: Column Properties --> Data Format
    Choose override default data format to view the available options in the drop down list.
    I would be very happy if anybody acknowledge me that I am wrong.
    -Vency

  • How to display data in table

    Hi all,
    can any one tell me how to display data in a table when user click on a button. i have created a node with a set of fields from different tables now how to write the logic to display data in that table.
    Thanks & Regards,
    Naveen

    DATA lo_nd_professionaltable TYPE REF TO if_wd_context_node.
      DATA lo_el_professionaltable TYPE REF TO if_wd_context_element.
      DATA ls_professionaltable TYPE wd_this->ElementS_professionaltable. "internaltable
    TYPES: BEGIN OF TY_PFTAB,
           RATEGROUP TYPE /BIC/OIWRATEGRP,
           LEVEL TYPE /BIC/OIWPCSLEVEL,
           FROMDATE TYPE /BI0/OIDATEFROM,
           FROMTO TYPE /BI0/OIDATETO,
           STANDARD TYPE /BIC/OIWSTRATE,
           OVERHEAD1 TYPE /BIC/OIWOHRTE1,
           OVERHEAD2 TYPE /BIC/OIWOHRTE2,
           OVERHEAD3 TYPE /BIC/OIWOHRTE3,
           EXCEPTIONFLAG TYPE /BIC/OIMSECFILER,
           END OF TY_PFTAB.
    DATA : IT_PFTABLE TYPE STANDARD TABLE OF TY_PFTAB,
           WA_PFTAB TYPE TY_PFTAB.
    SELECT /BIC/WRATEGRP /BIC/WPCSLEVEL DATEFROM DATETO /BIC/WSTRATE /BIC/WOHRTE1 /BIC/WOHRTE2 /BIC/WOHRTE3
    FROM /BIC/AGLDCPRTS00 INTO TABLE IT_PFTABLE.
    *TYPES : BEGIN OF TY_EXCEPTION,
           EXCEPTIONFLAG TYPE /BIC/OIMSECFILER,
           END OF TY_EXCEPTION.
    *DATA : IT_EXTABLE TYPE STANDARD TABLE OF TY_EXCEPTION,
          WA_EXTABLE TYPE IT_EXTABLE.
    *SELECT /BIC/MSECFILER FROM /BIC/AGLDCLMLT00 INTO TABLE IT_EXTABLE.
    navigate from <CONTEXT> to <PROFESSIONALTABLE> via lead selection
      lo_nd_professionaltable = wd_context->get_child_node( name = wd_this->wdctx_professionaltable ).
    get element via lead selection
      lo_el_professionaltable = lo_nd_professionaltable->get_element( ).
    @TODO handle not set lead selection
    IF lo_el_professionaltable IS INITIAL.
    ENDIF.
    get all declared attributes
    lo_el_professionaltable->get_static_attributes(
       IMPORTING
         static_attributes = ls_professionaltable ).
    lo_nd_professionaltable->bind_table( new_items = IT_PFTABLE set_initial_elements = abap_false ).

  • How to display data in Table control?

    Hi Experts,
    Can anyone please explain me how to display the data from two different tables(those two table is related with 1 field) into a single table control?
    For Example: T1 has fields (F1,F2) and
                         T2 has fields (F3,F4) --> here F3 is foreign key for F1
    I need to display the data F1,F2,F3,F4 into the table control.
    Can anyone explain me?
    Thanks in Advance,
    Regards,
    Raghu

    Hi,
    If F3 is foreign key for F1, then both fields will have same values.  Then why do you need to display both F1 and F3?  Either one of them is enough.  Try the following code.
    types: begin of t_table,
                 F1 type T1-F1,
                 F2 type T1-F2,
                 F4 type T2-F4,
              end of t_table.
    data: i_table type standard table of t_table with header line.
    select F1 F2 F4 into table i_table from T1 inner join T2 on T1F1 = T2F3.
    You should create three columns in the table control with names i_table-F1, i_table-F2, i_table-F3.
    After populating the internal table, refresh the control with the following statement.
    REFRESH CONTROL <NAME> FROM SCREEN <SCREEN_NO>.
    All the above statements should be in your PBO Module.
    Regards,
    Hema
    Message was edited by:
    Sorry, Declarations can be in the common include.  Select statement and refresh statement should be in PBO.
            Hema Nagarajan

  • How to display data in table *urgent*

    //this is the latest code that i have in client app:
    try{
         InitialContext initialContext = new InitialContext();
         Object objref = initialContext.lookup("ejb/CustomerController");
         customerControllerHome = (CustomerControllerHome)        PortableRemoteObject.narrow(objref,  CustomerControllerHome.class);
         CustomerControllerHome home = this.getHome();
         Collection c =  home.findAllCustomers(custName);
         // how to display the objects into the table
    }catch (Exception e){
            e.printStackTrace();
    // did i do this wrongly ??
    //home interface
    public Collection findAllCustomers(String custName)
               throws FinderException, RemoteException;
    //session bean
       public Collection findAllCustomers(String custName)throws FinderException{
            System.out.println("CustomerBean findAllCustomers");
            Collection cust;
            CustomerDetails custDetails;
            try{
              cust = selectAllCust(custName);
              Iterator i = cust.iterator();
              while (i.hasNext()) {
                Customer c = (Customer) i.next();
                CustomerDetails cd = c.getDetails();
            } catch(Exception fe){
            throw new EJBException ("findAllCustomers " + fe.getMessage());
            return cust;
    private Collection selectAllCust(String custName) throws SQLException{
        System.out.println("CustomerBean SelectByAllCustomers");
        makeConnection();
        String selectStatement = "Select * FROM customer ";
        PreparedStatement prepStmt =
            con.prepareStatement(selectStatement);
        prepStmt.setString(1, custName);
        prepStmt.setString(2, custPhoneNo);
        prepStmt.setString(3, custEmail);
        ResultSet rs = prepStmt.executeQuery();
        ArrayList a = new ArrayList();
        while (rs.next()) {
              a.add(rs.getString(1));
              a.add(rs.getString(2));
              a.add(rs.getString(3));
        prepStmt.close();
        releaseConnection();
        return a;
    can anybody provide some example code or tutorial.
    thank you very much ! =)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    i am developing a three tier application
    client application (GUI suses Swing )
    application server
    database server

  • How to display a horizontal list of images

    Hello everyone,
    I am new to Flash Builder 4 and I am looking to display a horizontal list of images on my Flex Mobile Project (using Burrito Flash Builder). Can anyone recommend me what component that I should use?
    I know the <s:List /> will display a Vertical list of items, but I am not sure what component to display a horizontal list of items.
    Thanks in advance for any help,

    Have you tried using HorizontalList?
    Here is an example:
    http://flex4fun.com/2010/11/30/flex4-horizontallist-example/

  • How To Give a Validation In Prompt(OBIEE Answers)

    Hi,
    I ahve the promt like
    Name----------------<text box> Go
    if i enter the name then the prompt will effect on the data.
    if i didn't enter tha data in name textbox it should dispaly a meassge like:please enter a valid name:
    here name comling from backend database to obiee answers
    can u please tell me how to sort out this-----------------

    Check this MOS note:
    OA Framework Personalization and Extensibility Guide: Version 5.7+ (Doc ID 236618.1)
    thanks

  • How to display data in table with specified format?

    Hi,
    Jdev 11.1.1.4, ADF BC and ADF Faces
    In my application I have created a EO based view object which will return data as below.
    Deptid       Loc          seq
       1            Loc1         1
       1            Loc2         2
       2            Loc1         3
       2            Loc2         4
       3            Loc1         5
       3            Loc2         6Now I have to display the data in table like below
                     Loc1
       1                              1st row
                     Loc2                  Loc1
       2                              2nd row
                     Loc2                  Loc1
       3                             3rdrow
                     Loc2 How can I do that? Any help will be appreciated.
    ~Abhijit
    Edited by: Abhijit Dutta on Nov 5, 2011 6:18 PM

    check this thread...
    display the data in chart format

  • How to display images horizontally

    Hi all,
    I have a table(item, pic_id, pic). When I create a report to display pictures, they show vertically. Below is the table.
    item pic_id pic
    1 1 pic101
    1 2 pic102
    1 3 pic103
    2 1 pic201
    2 2 pic202
    3 1 pic301
    4 1 pic401
    4 2 pic402
    I want to them showing up in a report horizontally as the following
    pic101 pic102 pic103 pic201 pic202 pic301 pic401 pic402 ........
    Can someone help me out?
    Thanks!

    Here is a (hopefully) self-explanatory example. (Although it probably needs updated to take account of declarative BLOB support in reports...)

  • How to display data horizontally

    Hi,
    I have to display data the following format.
    sales order item description 01/09/2010 02/09/2010 03/09/2010
    100              1         test         3                     4                6
    in currently i am displaying the following format.
    sales order  date1 date2 date3
    item
    description
    1.how to fill field catelog.
    2. i have written code like below,
    wa_lvc_cat-fieldname = 'COLUMNTEXT'.
      wa_lvc_cat-ref_table = 'LVC_S_DETA'.
      APPEND wa_lvc_cat TO lt_lvc_cat.
      wa_fieldcat-fieldname = 'COLUMNTEXT'.
      wa_fieldcat-ref_tabname = 'LVC_S_DETA'.
      wa_fieldcat-key  = 'X'.
      APPEND wa_fieldcat TO lt_fieldcat.
      DESCRIBE TABLE i_final.
      DO sy-tfill TIMES.
      For each line, a column 'VALUEx' is created in the fieldcatalog
      Build Fieldcatalog
        WRITE sy-index TO wa_lvc_cat-fieldname LEFT-JUSTIFIED.
        CONCATENATE 'VALUE' wa_lvc_cat-fieldname
               INTO wa_lvc_cat-fieldname.
        wa_lvc_cat-ref_field = 'VALUE'.
        wa_lvc_cat-ref_table = 'LVC_S_DETA'.
        APPEND wa_lvc_cat TO lt_lvc_cat.
      Build Fieldcatalog
        CLEAR wa_fieldcat.
        wa_fieldcat-fieldname = wa_lvc_cat-fieldname.
        wa_fieldcat-ref_fieldname = 'VALUE'.
        wa_fieldcat-ref_tabname = 'LVC_S_DETA'.
        APPEND wa_fieldcat TO lt_fieldcat.
      ENDDO.
    create dynamic internal table
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
                it_fieldcatalog = lt_lvc_cat
        IMPORTING
          ep_table        = l_dyntable.
      ASSIGN l_dyntable->* TO <dynamictable>.
    create structure as structure of the internal table
      CREATE DATA l_structure LIKE LINE OF <dynamictable>.
      ASSIGN l_structure->* TO <header>.
    create structure = structure of the internal table
      CREATE DATA l_structure LIKE i_final.
      ASSIGN l_structure->* TO <ls_table>.
    create field catalog from our table structure
    wa_fieldcat-fieldname = 'DATE'.
    wa_fieldcat-tabname = 'I_FINAL'.
    APPEND wa_fieldcat TO lt_fieldcatalogue.
    wa_fieldcat-fieldname = 'CNT'.
    wa_fieldcat-tabname = 'I_FINAL'.
    APPEND wa_fieldcat TO lt_fieldcatalogue.
    wa_fieldcat-fieldname = 'FUNCT'.
    wa_fieldcat-tabname = 'I_FINAL'.
    APPEND wa_fieldcat TO lt_fieldcatalogue.
      wa_fieldcat-fieldname = 'ITEM'.
      wa_fieldcat-tabname = 'I_FINAL'.
      APPEND wa_fieldcat TO lt_fieldcatalogue.
      wa_fieldcat-fieldname = 'TRANS'.
      wa_fieldcat-tabname = 'I_FINAL'.
      APPEND wa_fieldcat TO lt_fieldcatalogue.
    *call function 'REUSE_ALV_FIELDCATALOG_MERGE'
    exporting
       i_structure_name       = <LS_TABLE>
    changing
       ct_fieldcat            = lt_fieldcatalogue
    exceptions
       inconsistent_interface = 1
       program_error          = 2
       others                 = 3.
    *IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
             WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    *ENDIF.
      DESCRIBE TABLE lt_fieldcatalogue.
    fill the internal to display <dynamictable>
      DO sy-tfill TIMES.
        IF sy-index = 1.
          READ TABLE lt_fieldcatalogue INTO wa_fieldcat INDEX 1.
        ENDIF.
      For each field of it_table
        ASSIGN COMPONENT 1 OF STRUCTURE <header> TO <dynheader>.
        IF sy-subrc NE 0. EXIT .ENDIF.
        READ TABLE lt_fieldcatalogue INTO wa_fieldcat INDEX sy-index.
      Fill 1st column
        <dynheader> = wa_fieldcat-seltext_m.
        IF <dynheader> IS INITIAL.
          <dynheader> = wa_fieldcat-fieldname.
        ENDIF.
    *filling the other columns
        LOOP AT i_final INTO  <ls_table>.
          l_col = sy-tabix + 1.
          ASSIGN COMPONENT sy-index OF STRUCTURE <ls_table> TO <dyndata>.
          IF sy-subrc NE 0. EXIT .ENDIF.
          ASSIGN COMPONENT l_col OF STRUCTURE <header> TO
          <dynheader>.
          IF sy-subrc NE 0. EXIT .ENDIF.
          WRITE <dyndata> TO <dynheader> LEFT-JUSTIFIED.
        ENDLOOP.
        APPEND <header> TO <dynamictable>.
      ENDDO.
    *layout for alv output
      lt_layout-zebra = 'X'.
      lt_layout-no_colhead = 'X'..
      lt_layout-colwidth_optimize ='X'.
      lt_layout-window_titlebar = 'ALV GRID TRANSPOSED'.
    *alv grid output for display
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          is_layout   = lt_layout
          it_fieldcat = lt_fieldcat
        TABLES
          t_outtab    = <dynamictable>.
    Plz correct me code.

    here's a sample to prepare a alv-fieldcatalog with many similar value-fields:
    *get metadata of itab
    DESCRIBE FIELD itab INTO td.
      LOOP AT td-types INTO watypes.
        READ TABLE td-names INTO wanames INDEX  watypes-idx_name.
        CHECK sy-subrc = 0.
        MOVE wanames-name TO fld-name.
        READ TABLE td-names INTO wanames INDEX  watypes-idx_help_id .
        MOVE wanames-name TO fld-def.
        WHILE wanames-continue = '*'.
          hindex = watypes-idx_help_id + 1.
          READ TABLE td-names INTO wanames INDEX  hindex.
          CONCATENATE fld-def  wanames-name INTO fld-def.
        ENDWHILE.
        APPEND fld.
      ENDLOOP.
    *build fieldcatalog
      LOOP AT fld.
        CLEAR katalog.
        katalog-fieldname = fld-name.
        IF fld-name = 'RCOMP'
         OR fld-name ='GSBER'
         OR fld-name ='ITEM'
         OR fld-name ='FUNKTION'.
          katalog-key = 'X'.
        ENDIF.
        SPLIT fld-def AT '-' INTO t f.
        SELECT SINGLE scrtext_m leng
               FROM  dd03m INTO: (katalog-reptext_ddic, katalog-outputlen)
               WHERE  tabname     = t
               AND    fieldname   = f
               AND    ddlanguage  = sy-langu.
        IF sy-subrc <> 0.
          katalog-reptext_ddic = fld-name.
        ENDIF.
        IF fld-name = 'TXT'.
          katalog-outputlen = 30.
        ELSEIF fld-name = 'GSBER'.
          katalog-outputlen = 4.
        ELSE.
          katalog-tabname = t.
        ENDIF.
    *here: different value-fields
        IF fld-name BETWEEN 'KSL00' AND 'KSL99'.
          IF fld-name <> 'KSL99'.
            CONCATENATE 'Periode' fld-name+3(2) '/' jahr INTO
                         katalog-reptext_ddic SEPARATED BY space.
    *hide fields
            IF NOT fld-name+3(2)  IN buper.
              katalog-no_out = 'X'.
            ENDIF.
          ELSE.
            katalog-outputlen = 19.
            IF ohnevj = 'X'.
              katalog-reptext_ddic = 'Summe'.
            ELSE.
    *previous year
              CONCATENATE 'Periode' buper-low '/' vorjahr INTO
                           katalog-reptext_ddic SEPARATED BY space.
            ENDIF.
          ENDIF.
          katalog-currency = 'EUR'.
          katalog-do_sum = 'X'.
          katalog-inttype  = 'P'.
          katalog-datatype = 'CURR'.
        ENDIF.
    *hide more fields
        CASE fld-name.
          WHEN 'GSBER'.
            MOVE x_gebe TO katalog-no_out.
            katalog-reptext_ddic = 'Gsbr'.
          WHEN 'ITEM'.
            MOVE x_item TO katalog-no_out.
          WHEN 'FUNKTION'.
            MOVE x_func TO katalog-no_out.
          WHEN 'TXT'.
            MOVE x_text TO katalog-no_out.
        ENDCASE.
        APPEND katalog TO cat.
      ENDLOOP.
    grx
    A.

  • How to display Header for table in Script

    Dear All,
    In script i am displaying the data in tabular format, by using the
    function module write_form_lines. For this i have called multiple
    windows for each column. I am able to display the data,however
    don't know how to name this column, i.e the header for each column.
    (Sr_No,,Vendor Name,,Account Number,,Reference Code,,Amount ).
    Any help is appreciated.
    Thanks & Regards,
    Manju

    Hi Manju,
    Create a widow to display the header details(hard code the name of the columns). You have to  use main window for displaying the table data.Loop the internal table in driver program, inside the loop call the function write_form for printing the table contents.
    Thanks,
    Prabhakaran

  • How to display data in table region

    HI All,
    I have a requirement to display data from a VO to a table region after clicking the GO button please help me on this.
    Thanks
    Deb

    Hi Deb,
    In the controller's processFormRequest(), check for the GO button click, then execute the VO's query via vo.executeQuery().
    Something like:
    if(oapagecontext.getParameter("Go") != null)
    am.invokeMethod("initTableQuery");
    Regards,
    LC

  • How to display data in table with dynamic rows, section wise in a page.

    Hello all,
    I work on report creation in BI Publisher where I need to display data from xml in a table in pdf format.The output page is divided into two vertical sections , containing tables, with exactly same columns on left and right sections. The number of rows in table depends on the output of the fetching query. The page is to be populated in such a way that, at first, the left table is populated, then the next rows fill up the table on the right section of the page, if more rows are left, they fill up the tables on next page[first the left table, and then the right one, in a similar fashion as in page 1]
    On a bird's eye view, the data needs to be simply mapped to a table, with dynamic number of rows, and so can span number of pages depending on size of data. On a implementation level, I am stuck in getting the left section of the page populated first, then the right section[in place of the right page], and then the next page.
    Please guide me if someone has any idea in getting this achieved.
    Thanks in advance.

    Thanks for the response...
    I am able to get the desired functionality. I just need the tables to be inside a bigger table, that also has a dividing line between the two columns. This is was is intended in the req. provided to me. The column formatting option provides me a line ,but that is not further modifiable .Please help me in getting a perpendicular line between the two columns, which I need to be of a specified width and color.

  • How to display the Internal table records in table format?

    Hi Gurus,
    I want to display my print prg internal table records in d appropriate form in a table format, give some solution
    with regards
    Thambe

    There are lot many options to do that
    one way is create template  in the maikn window  and define the line types according to your data  cretae text and put your data in the text and go to output options and give  the line type to be used . You can also select details option to have lines in your output.
    similarly YOU CAN CREATE TABLE IN THE MAIN WINDOW FOR THIS YOU DONT NEED TO DEFINE THE LINE TYPES .
    WHEN YOU ARE IN MAIN WINDOW RIGHT CLICK ON TABLE AND GO TO PATH
    CREATE  -> TABLE
                  -> TEMPLATE
    REWARD IF USEFUL
    Regards,
    Nageswar

Maybe you are looking for

  • My mozilla changed to arabic and it was in english, how do I get it back to English?

    After purchasing a modem for cell phone internet access from Cellium in Monrovia, Liberia when my computer came back up the search box and tabs came up in arabic and I need to know how to get them back to english.

  • Ipod touch 5 people cant hear me when

    So I've had my ipod touch 5th generation since it came out its worked fine. I made calls and stuff on apps before in the past and skyped and it worked fine. Then one day it just stoped I tried to make a call and the other person can't hear me. I don'

  • Upgrading original 8core Mac Pro 667 FSB to 1033 & beyond..is it possible?

    hey all, I have an first edition (2007) 2 quad x 3hz (8 core) with 667 and am looking to upgrade its overall performance - is upgrading its FSB possible to accomodate ddr3? Any other tips to increase performance? m

  • My music wont work.

    My phone was working perfectly fine until i decided to sync it earlier today. After syncing it though, it would not work when i tried to play music. If i selected a song, it would rapidly skip through all of my songs, and it would not stop until i cl

  • Cannot run a servlet using Tomcat. Urgent

    I have a webapplication which uses some jsp's and servlets. The jsp pages work fine when I use http://hostname:8080/MyWebapp/Filename.jsp However, when I developed a java servlet and put the class file in WEB-INF/classes directory of my web applicati