Can I display detail row as column format which is aligned vertically?

I have some data stored in table like this:
Column:  Item     |   FOB   |    Exchange Rate  |  UOM
Data:      Item A       1.1               0.9                  pcs
              Item B       1.2               0.85                box
Can I display them in Crystal report like this?
                    Item A         Item B
"FOB"             1.1             1.2
"Exg Rate"      0.9             0.85
"UOM"            pcs             box
The data all above are needed to shown, it's somewhat like a crosstab, but looks like not exactly.
I am wondering whether I need to create dummy resultset to make it like:
Item A,   FOB,         1.1
Item A,   Exg Rate,  0.9
Item A,   UOM,        pcs
Item B,   FOB,         1.2
Item B,   Exg Rate,  0.85
Item B,   UOM,        box

I think I should make my new question more clearly:
Actually I would like to make my crosstab as below because I would like to add some formula fields into it.
Dtl* fields are DB column field;  Fml* are formula fields and would possibly refer to other Dtl* fields
    Group A         |     Group B
DtlA    FmlA      |    DtlA     FmlA
DtlB   <empty>  |    DtlB
DtlC    FmlC      |    DtlC     FmlC
Say my example would be:
     Item A            |       Item B
11       11 * 0.9    |     2         2 * 0.85
0.9                     |   0.85
pcs     11 pcs      |    box      2 box

Similar Messages

  • How can I display the rows into columns.

    How can I display the rows into columns. I mean
    Create table STYLE_M
    (Master varchar2(10), child varchar2(10));
    Insert itno style_m
    ('MASTER1','CHILD1');
    Insert itno style_m
    ('MASTER2','CHILD1');
    Insert itno style_m
    ('MASTER2','CHILD2');
    Insert itno style_m
    ('MASTER3','CHILD1');
    Insert itno style_m
    ('MASTER3','CHILD2');
    Insert itno style_m
    ('MASTER3','CHILD3');
    Note : The Master may have any number of childs.
    I want to display like this..
    Master child1, child2, child3, .......(dynamic)
    MASTER1 CHILD1
    MASTER2 CHILD1 CHILD2
    MASTER3 CHILD1 CHILD2 CHILD3
    Sorry for disturbing you. Please hlp me out if you have any slution.
    Thanks alot.
    Ram Dontineni

    Here's a straight SQL "non-dynamic" approach.
    This would be used if you knew the amount of children.
    SELECT
         master,
         MAX(DECODE(r, 1, child, NULL)) || ' ' || MAX(DECODE(r, 2, child, NULL)) || ' ' || MAX(DECODE(r, 3, child, NULL)) children
    FROM
         SELECT
              master,
              child,
              ROW_NUMBER() OVER(PARTITION BY master ORDER BY child) r
         FROM
              style_m
    GROUP BY
         master
    MASTER     CHILDREN                        
    MASTER1    CHILD1                          
    MASTER2    CHILD1 CHILD2                   
    MASTER3    CHILD1 CHILD2 CHILD3             Since you said that the number of children can vary, I incorporated the same logic into a dynamic query.
    SET AUTOPRINT ON
    VAR x REFCURSOR
    DECLARE
            v_sql           VARCHAR2(1000) := 'SELECT master, ';
            v_group_by      VARCHAR2(200)  := 'FROM (SELECT master, child,  ROW_NUMBER() OVER(PARTITION BY master ORDER BY child) r FROM style_m) GROUP BY master';
            v_count         PLS_INTEGER;
    BEGIN
            SELECT
                    MAX(COUNT(*))
            INTO    v_count
            FROM
                    style_m
            GROUP BY
                    master;
            FOR i IN 1..v_count
            LOOP
                    v_sql := v_sql || 'MAX(DECODE(r, ' || i || ', child, NULL))' || ' || '' '' || ';
            END LOOP;
                    v_sql := RTRIM(v_sql, ' || '' '' ||') ||' children ' || v_group_by;
                    OPEN :x FOR v_sql;
    END;
    PL/SQL procedure successfully completed.
    MASTER     CHILDREN
    MASTER1    CHILD1
    MASTER2    CHILD1 CHILD2
    MASTER3    CHILD1 CHILD2 CHILD3I'll point your other thread to this one.

  • How can i display page number in this format in xml publisher report (1-1)

    in this format
    1-1
    1-2
    1-3
    2-1
    2-2
    2-3
    can i display page nos in this format in xml publisher please help me on this

    Hi,
    Use the SET COUNTRY..
    SET COUNTRY 'US'.
    write: / sy-datum.
    SET COUNTRY 'IN'.
    write: / sy-datum.
    Thanks,
    Naren

  • Display of  Row and Column Headers in NW2004s Bex Analyzer

    Hi all,
    when I open a query with the NW2004s Bex Analyzer (Excel)Frontend <b>Row and Column Headers are not visible</b>. I need to go to <b>"Tools-Options" and check the box  for "Row and Column Headers" which seems to be unchecked by default</b>.
    Is there <b>a possibility to make the Row and Column Headers visible by default when I open a query</b> so that I don't have to use Tools-Options every time.
    Thanks
    Alex

    This is fixed with SP8. The default template doesn't have this specified in SP7. It's a very easy fix. Just specify that the column headers are specified by default. Then save this new workbook as the global workbook template such that all queries use this new template. You can customize this standard template however you like!

  • When I access my website by cellphone, my desktop design format is displayed, and not the cellphone format which I designed.  What can I do?

    When I access my website by cellphone, my desktop design format is displayed, and not the cellphone format which I designed. What can I do?

    Hi
    In Muse, go to File menu-> Site properties, select Phone layout and make sure the option in given screenshot is checked,
    Do let me know if you have any question.

  • How can I display the HTML page from servlet which is called by an applet

    How can I display the HTML page from servlet which is called by an
    applet using the doPost method. If I print the response i can able to see the html document. How I can display it in the browser.
    I am calling my struts action class from the applet. I want to show the response in the same browser.
    Code samples will be appreciated.

    hi
    I got one way for this .
    call a javascript in showDocument() to submit the form

  • Can we make apply  join a column on which VPD policy applied in Oracle 10g

    Hi,
    i am planning to apply a column level security using VPD concept into Oracle 10g
    but i have a one doubt.
    Suppose i am going to apply a VPD policy based on user priviliges on a column DEPTNO in EMP table so whenever a particular user logs in,he will not see the deptno.But he can fetch the data from other table DEPT based on join condition EMP.DEPTNO=DEPT.DEPTNO . Is it possible can we make a join a column on which VPD polciy is applied ?
    pls any idea or thought would be appreciable..
    Thanks in advance
    Anwar

    Hi Anwar!
    I have not tried yet, but I believe that you can do this.
    However imagine the following:
    A user U1 has the right to see some values in the deptno column, but not all. This is fine, and I believe that this is what you want to achieve.
    A user U2 will see no records from the deptno column. This will impact your query, as your emp.deptno = dept.deptno part of the where clause will deliever no records.
    So you have to be careful if this condition could apply and what the impact will be on your software.
    cu
    Andreas

  • Report Writer Row and Column Format

    Hi
    Was wondering if there is a possible solution to this :-
    Understand that column format is controlled by format groups. This means that all figures in the same column will take the same format (such as scaling and decimal place).
    Scenario is ->
                        Colunn #1 -> column set as displaying no decimal point       
    Rev                  120
    OP                      5
    OP margin %     4.2 -> how to set this to 1 decimal point. Any formula syntax that I can use?
    Regards.

    Hi Vinay,
    Based on my research, freezing row and column headers are different in table and matrix.
    In a table, if we want to freeze column header, we should make the changes in the first Static row group in Row Groups pane with Advanced Mode as you said. If we want to freeze row header, the table should have a group ahead, then we can enable “Repeat header
    rows on each page” and “Keep header visible while scrolling” options in Row Headers in Tablix Properties dialog box.
    In a matrix, if we want to freeze column header, we can enable “Repeat header columns on each page” and “Keep header visible while scrolling” options in Column Headers in Tablix Properties dialog box. If we want to freeze row header, we can enable “Repeat
    header rows on each page” and “Keep header visible while scrolling” options in Row Headers in Tablix Properties dialog box.
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Cursor in select query in row to column format

    Hi
    I have the query like below
    SELECT d.department_id,
                 CURSOR(SELECT e.first_name,
                         e.last_name
                  FROM   employees e
                  WHERE  e.department_id = d.department_id
           ) emps
    FROM   depatments dI want the result set in a format of Row To columns like
    10                             20
    <cursor result>   <cursor result>pls give ur suggestions how to achieve this in a efficient way?I tried the method of "max(decode(.." but dont think so its possible with this

    vishnu prakash wrote:
    Hi
    I have the query like below
    SELECT d.department_id,
    CURSOR(SELECT e.first_name,
    e.last_name
    FROM   employees e
    WHERE  e.department_id = d.department_id
    ) emps
    FROM   depatments dI want the result set in a format of Row To columns like
    10                             20
    <cursor result>   <cursor result>pls give ur suggestions how to achieve this in a efficient way?I tried the method of "max(decode(.." but dont think so its possible with thisNumber of column of a select query is static. Must be known at the parsing time itself. But in your case i dont think the number of columns will be limited to 2 (10 and 20) there could be many more.
    You can search this forum to see how to PIVOT your data. There are lot of example. You can also try dynamic pivot. Its all in here, just search.

  • Displaying the Row and Column number in the report

    I am trying to show row and column number in the report (not just web preview). I am using Hyperion Reports Version 7.2.5.168

    use a formula column/row. use RANK function in that. (e.g. Rank([A], asc) will sort the rows based on column A values in ascending order)
    you can use this rank in your heading.
    But frankly this is not so easy. You have to do it in a very intelligent way, so that rank gives you column number/row number any how.
    Have a try and let see if you find a appropriate solution.
    Regards,
    Rahul

  • Can we display comments row for row in Input Ready Query...

    Dear All,
    Currently I have created Web template with Signle Document. When executed it in the Portal it will come up with a "Save" and "Cancel" button of its own and can allowing me to capture comment here & Finally Click on SAVE button which was stored in Documents area in RSA1.
    Now I am was trying to figure out to display comments Row for Row in Input Ready Query...
    Can you give ideas on this...

    Check link http://help.sap.com/saphelp_nw04/helpdata/en/1e/99ea3bd7896f58e10000000a11402f/frameset.htm
    In query properties in BEx query designer you have to do settings to - Display document links
    For metadata, master data, and InfoProvider data for a query, you can display links to Documents that you have created for these objects. If documents exist for these objects, the symbol  appears next to these objects. If you click on this symbol, you jump to where the document is displayed on the Web.
    Highlight the appropriate setting so that the document links for the desired document class are displayed. The document classes are oriented to the various categories of BW objects. InfoProvider data, metadata and master data.

  • How can we export graphs row and column wise in pdf

    Hi Experts,
    can some body tell, i have graphs in rows and columnswise in output(means side by side) after export to pdf graphs shows in rows only not like in output. but i need graphs rows and columns wise in pdf. how can i achive my requirement.please let me know steps.
    regards,
    kris

    Hi Kris,
    This is a limitation with Export to PDF. Plz. go thru' below link.
    Re: WAD Application export to PDF
    --Priya

  • How can I Display a Image with tiff format in Jpanel?

    How can I Display a CMYK Image with tiff format in Jpanel ? Not in ScrollingImagePanel? Thank you in advance.

    Why nobody can help me?I am very anxious!help me,please!

  • How can I arrange bookmarks in a grid format instead of a vertical line?

    Windows has a IE Favorites folder, containing favorite websites, and all of these favorite website folders and links can be viewed in a grid format (spread horizontally and vertically). Firefox Bookmarks: I can only get to display in a very long vertical line. Is there an internal file folder containing all of my Firefox Bookmarks? And if so, can I display them in a grid? Thx.

    Sorry, no there is no way to arrange or view bookmarks in multiple columns or a grid built into Firefox.
    Bookmarks aren't stored in a folder in Windows like with IE, they are stored in a database file named '''places.sqlite''', along with browsing history and downloads history.
    There have been a couple of different extensions available over the years that did display bookmarks in multiple columns, but those extensions were short lived and never were really finished before the developer lost interest and stopped working on them.
    Suggestion - folders within folders will spread out to the right, somewhat in a "columns fashion" across the screen. But with the current placement of the bookmarks button I don't know how well that would work; I haven't even tried it out. Personally, I have used the Bookmarks Sidebar for viewing my bookmarks since I started using Firefox in 2002.

  • How can I display lyrics in iPad, the song which I purchase in iTunes, and added lyrics in iTunes.

    I just brought some song in iTunes, and add lyrics in it, can be display in MAC, but can't display in my IOS8 iPad .  Please help!

    For whatever reason the iPad will not display lyrics, I think its been this way since iOS 7.  The iPhone will display them, but not iPad.  I don't think its a bug, I think Apple wants it this way for some reason ... give your feedback here:
    http://www.apple.com/feedback/ipad.html

Maybe you are looking for

  • Windows Movie Maker - no sound on QT video clips

    I'm trying to combine QuickTime video clips (downloaded from Casio camera) into one movie, using Windows Movie Maker (Vista). All the clips have sound when I open them in their folder but after importing the clips in to MovieMaker, there is no sound.

  • Hp laptop won't start up how do you fix this

    Opened my hp laptop that was plugged in and pressed start and it made 3 beeps and then nothing what to do?

  • When I export to PDF, the black text is printing in full color instead of just black

    I have Pages 09 (version 4.0.5). I am exporting a document to PDF and emailing it to a copy shop for printing. The document has a color cover, and 36 pages of black text inside. The copy shop is telling me that the pages with black text are printing

  • No online information for the WRVS4400Nv2?

    I just replaced a defective WRVS4400N with a WRVS4400Nv2. Now I can't find any firmware, updates or other online. Where is the information on the WRVS4400Nv2? Sadly, the site and forum redesign is several steps backward in readability and usability.

  • Agentry Transmit Configuration - address and port

    Hi experts, I'm trying to setup a new Transmit configuration in the Agentry SDK for SMP 3.0 and I have a question - why the "Server Address Settings"  for Address and Port are grayed out and set to Default? Am I missing something in the configuration