Display data as rowwise (horizontally ) instead of column wise ( verticaly)

I am displaying the data from milti select prompt of BI Answers in BIP report.
The data from the table is displayed as
Table structure :
Company. Unit name f_company_._unit_e
output :
unit1
unit2
unit3
I want output as unit1, unit2, unit3
Thanks
Aj
Edited by: user9031011 on May 11, 2010 7:35 AM
Edited by: user9031011 on May 11, 2010 7:46 AM

Hi Aj,
First of all, correct me my previous solution.
1. If you want to print the units in column wise i.e. if the for loop is in a table and you want each unit to be displayed in a separate columns side by side then in one of the table cell (i.e. in the for-each field of the cell) keep below code,
<?for-each@column:ROW?> <?EMPNO?> <?end for-each?>
2. If you want to print as a normal text (with out table) then use
<?for-each@inlines:ROW?> <?EMPNO?> <?end for-each?>
Second, to modify the form field,
Select the for-each form field, go to to Add-Ins -> Tools -> Field Browser , then double click the for-each and in the edit box change the text according to your requirement, then click 'Update' button.
You can also place that for-each condition out side(i mean with out form field)

Similar Messages

  • TDMS Data appears in row instead of column

    Hi,
    I am working on a program that reads in temperature data from a TDMS file, shifts the data through a 'normalising' equation and puts it back into the same TDMS file onto a different page.
    The problem I am getting is when the normalised data gets written back into the TDMS file, the data that should appear in the columns now appears in rows. See picture attached that illustrates this.
    Does anyone know how I can write the data to the file so that it appears in the column and not the row. In my VI you will see that I have had to transpose the 2D array otherwise all the data just appears in one single row.
    Also several cells just containing 0 have appeared in my data set which should not be there.
    I will attach my VI to this. I will also attach one of the TDMS data files.
    Thanks in advance,
    Rhys
    Solved!
    Go to Solution.
    Attachments:
    Row Column Switch.png ‏285 KB
    normalising program.vi ‏36 KB
    TDMS Files.zip ‏18 KB

    Hi Rhys,
    After looking into your normalising program.vi, I would recommend:
    Don't use that Transpose 2D array, it doesn't solve your problem.
    Write the "normalized" data to different channels, you get all the data just appears in one single column because you write all the “normalized” data to one single channel repeatedly, thus they'll appear in one column(channel).
    Several cells containing zeros is because float64 y1[30] array in your normalising equation, you need remove the zero elements from y1[30] before writing to file.
    I attached the modified normalising program.vi, hope this can do some help to your problem.
    The snapshot below shows the data in Excel after "normalising" equation, the channel data appears in columns.
    Attachments:
    normalising program(updated).vi ‏37 KB

  • 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.

  • To display data in rowwise

    i hav the code like
    String filename= "p2.txt";
    boolean append = true;
    FileWriter fw = new FileWriter(filename,append);
    fw.write("source address is :"+desti1);
         fw.write("destination add address is :"+desti);
         fw.write("commandID is :"+commandId);
    fw.write("commandStatus is :"+commandStatus);
         fw.close();
    it giving the output like
    source address is : destination add address is : commandID is :
    i mean in one row but i want to dispay in each row like
    1.commandid is:
    2.sourceadd is:
    in rowwise can u plz help me?

    In case I understood your question right: Why don't you just add "\n" to the end of each call to write()?

  • Output data in row wise instead of column

    hi all,
    i need to get the output data in row wise which is getting now as column wise.
    for eg:
    below is my final internal table.
    HEADING      DATE   MATNR   BUKRS   DMBTR
    jan/08        200801    567       10       800
    feb/08       200802    567       10       900
    mar/08      200803    567       10       200
    apr/09       200804    567       10       400 
    the output should come as
    MATNR  BUKRS   Jan/08   Feb/08   Mar/08   Apr/08
    567      10       800    900       200      400.
    instead of column wise the output should display as row as above.
    please help how to get this.
    thanks in advance

    Hi Vignesh,
    Please use below program which I created for you reference. It will work for your requirement.
    DATA:BEGIN OF it_test OCCURS 1,
         date(6),
         matnr(5),
         bukrs(3),
         END OF it_test.
    it_test-date = 'jan/08'.
    it_test-matnr = '01234'.
    it_test-bukrs = 'AE1'.
    APPEND it_test.
    it_test-date = 'feb8'.
    it_test-matnr = '56789'.
    it_test-bukrs = 'AE1'.
    APPEND it_test.
    it_test-date = 'mar8'.
    it_test-matnr = '23478'.
    it_test-bukrs = 'AE1'.
    APPEND it_test.
    START-OF-SELECTION.
      LOOP AT it_test.
        WRITE :/ 'DATE', 'MATNR', 'BUKRS', it_test-date, it_test-matnr,  it_test-bukrs .
      ENDLOOP.
    Output Will be as follows :-
    DATE MATNR BUKRS jan/08 01234 AE1
    DATE MATNR BUKRS feb8   56789 AE2
    DATE MATNR BUKRS mar8   23478 AE3
    Please set to resolve if this satisfies your requirement.
    Regards
    Abhii..

  • Displaying SQL Query results in rows instead of Columns

    Hi,
    I'm fairly new to Oracle so forgive me if this is a really stupid question.
    I used Mysql for a while and if I wanted to display query results in rows instead of columns I could end the SQL command with '\G' instead of a semicolon.
    This would give me output like...
    Column_1: AAAA
    Column_2: BBBB
    Column_3: CCCC
    Instead of the normal
    Column_1 Column_2 Column_3
    AAAAAA BBBBBBB CCCCCCC
    Is there an equivalent in SQLPlus to the MySQL \G termination?
    Thanks.
    John

    > so forgive me if this is a really stupid question.
    It is certainly not a stupid question, but pivoting is a very frequently asked and answered question:
    [url http://forums.oracle.com/forums/search.jspa?threadID=&q=pivot&objID=f75&dateRange=all&userID=&numResults=15]http://forums.oracle.com/forums/search.jspa?threadID=&q=pivot&objID=f75&dateRange=all&userID=&numResults=15
    In 11g you have special PIVOT and UNPIVOT functions.
    Regards,
    Rob.

  • Display data in diagonally in table using XML publisher

    Hi,
    I need to display data of the invoice which contains columns ( invoice_number,receipt_number,amount,quantity)
    where i need to dispay amount and quantity diagonally for the invoces i.e. the data will extend dynamically.
    please give me an idea to resolve this issue.
    Thanks in advance

    in wdinit(),
    Collection col = new ArrayList();
    try{                    
      MyCommandBean bean = new MyCommandBean();
      col = bean.getDataFromDbViaEJB();
      wdContext.nodeMyCommandBean().bind(col);
    } catch (Exception ex) {
       ex.printStackTrace(ex); 
    in your JavaBean model class, MyCommandBean getDatafromDbViaEJB() method:
    Collection col = new ArrayList();
    Collection newcol = new ArrayList();
    //include your own context initialization etc...
    col = local.getDataViaSessionBean(param);
    // if your returned result also a bean class, reassigned it to current MyCommandBean
    for (Iterator iterator = col.iterator(); iterator.hasNext();) {
        MyOtherBean otherBean=(MyOtherBean)iterator.next();
        MyCommmandBean bean = new MyCommandBean();
        bean.attribute1 = outBean.getAttirbute1();
        // get other attibutes
        newcol.add(bean);
    return newcol;

  • Drawing Table & Displaying Data in SAP Script : Data Alignment probelm

    Hi Experts,
    I am Developing An SAP Script in Which Had to Display Data in a Table with Three column & multiple rows, i had created the Table using BOX Command in SAP SCRIPT & assigned a TEXT Element to it & calling this text element while Looping in WRITE_FORM FM.but while displaying DATA in One column the data in another columns shift to the right & if the data in 1st column is less the data in the second column shift to the left. i know these issues had been covered in the past but i am not getting any concrete results from searching in the forum.
    Also On more problem when ever i am declaring a text element in some other window & also giving the Command BOX inside it to draw outline the BOX is not drawn.
    This seem to be an alignment issue . Experts Please provide me with some alternative.
    Thanks & Regards
    Priyesh Shah

    Hi ,
    To stop columns going left and right.Use number of position in the variable .Like fix the lenght &name(10)&.Here name can print 10 characters.
    For box not appearing in other window check the box command parameters .It will draw.Not a alignment problum.

  • How to display date(instead of number) along y Axis of column chart?

    Hi there,
    I have a requirement wherein, I have to display date on y Axis and projects along x axis. This is basically a milestone chart. Something like this:
    here's my code:
    <mx:ArrayCollection id="acProjects">
            <mx:Object projId="A1" projDesc="Execution of Civil Work" plandate="2009-12-23" actualdate="2009-11-25"/>
            <mx:Object projId="A2" projDesc="Installation of Equipment" plandate="2010-02-15" actualdate="2010-03-25"/>
            <mx:Object projId="A3" projDesc="Comissioning of Equipment" plandate="2010-05-30" actualdate="2010-06-15"/>
            <mx:Object projId="A4" projDesc="Handover to regular use" plandate="2010-04-23" actualdate="2009-03-30"/>
        </mx:ArrayCollection>
    <mx:ColumnChart id="columnchart1" width="100%" height="100%" color="black" dataProvider="{acProjects}">
                <mx:horizontalAxis>
                    <mx:CategoryAxis categoryField="projDesc"/>
                </mx:horizontalAxis>
                <mx:series>
                    <mx:ColumnSeries displayName="Planned Date"  xField="projDesc" yField="plandate"/>
                </mx:series>
            </mx:ColumnChart>
    But with that code i get something like this:
    Generally, by default, the Y axis is always numbered. Is there a way where we can change it to display date?
    Appreciate your help...
    -Deepak

    Use the DateTimeAxis:
    http://livedocs.adobe.com/flex/3/langref/mx/charts/DateTimeAxis.html

  • How to display data in interactive report column without colons (:)

    Dear Apex gurus,
    I'm a newbie and have just created an Apex application from a spreadsheet. I've created a named list of values and used it in a checkbox against a field in the default page 3 Create form.
    When I've selected multiple values in my check box in the form, the data in the interactive report appears as one line with colons separating the selected values like this: Dog:Cat:Bird
    What I would like is to have the data appear in the interactive report column as a multi-line list like this:
    Dog
    Cat
    Bird
    I can work around this by modifying the SQL code in the Region Source of the Region Definition of the report (Default Page 1 interactive report) to replace the colons with <br>
    SELECT replace("PETS_CHOSEN",':','<br>') "PETS_CHOSEN", FROM "MYAPP" Note: this doesn't format properly in the posting. I replace the colon with a html br
    This works, but seems to be a hack to me. I am guessing that I've missed a simple option setting somewhere, but I can't find it.
    The other problem with this solution is that when I export the report to Excel, what is exported is Dog<br>Cat<br>Bird, which is seems worse than colons.
    Thanks,
    - Morgan
    Edited by: mnrussel on 16-Feb-2009 04:13

    Hi Morgan,
    I think you have at least two choices:
    1 - Replace the colons with ', ' (comma and space) - sort of reasonable on screen and in an export
    2 - Create a second page that has the same report but uses the "export: csv" template. Create a manual link to this page to replace the standard Export link. When such report pages are requested, they download immediately instead of displaying. You can, therefore, use commas in this one and &lt;br&gt; tags in the on-screen report version
    Andy
    ps - To display tags in a post, use &amp;lt; for &lt; and &amp;gt; for &gt;

  • Display the output in horizontally insted of vertical as per date

    hi
    experts
    display the output in horizontally insted of vertical as per date.
    Date :    From ..........  To  .............
    work center         yeild to confrorm                                    date
    W1                         288                                               1.4.2009
                                  256                                                3.4.2009
    Eg
    workcenter    date :   01.04.2009      2.04.2009    3.04.2009    4.04.2009  .......................
      W1                           288                                 256  
        w2                           234                345                               345

    Hi,
    Incase you have to display this in an ALV; then your internal table will be dynamic.
    Your internal table will consists of following fields
    Work Centre
    Date1
    Date2
    DateN
    The date columns will not be of type d but rather character as in this columns you have to store the workcentres in them.
    Create your dynamic internal table using the class CL_ALV_TABLE_CREATE and method CREATE_DYNAMIC_TABLE.
    You will have to create a fieldcatalog table and pass to the method.
    Then use the dynamic internal table created to store your data horizintally against each date column.
    Display the output in an ALV.
    Pass the date values as the description for each date column in the ALV.
    I hope you get the concept.
    Regards,
    Ankur Parab
    Edited by: Ankur Parab on Jun 23, 2009 4:24 PM

  • How to display horizontally to vertically column in oracle

    Dear All
    How to display horizontally to vertically column in oracle,Please give me Sol. ASAP

    Sunil,
    Which column is the sal column? I can’t see any numeric columns in your query. If you use htmldb_item calls in your query column, then this makes them strings and you can’t build sums on string columns. If you want to build sums in an updateable report / tabular form, then don’t use the htmldb_item API. Instead use the built-in display types on the report column attributes page. Using the built-in display types is the better options in most cases anyway and they do allow you to calculate sums even if the column is a text field or display and save type field.
    Regards,
    Marc

  • Spry:repeat display data in multiple rows/columns

    I know how to use spry:repeat to display data in table rows,
    one item per row.
    Is there a way to tell spry to display data in a grid of x
    rows by y columns?
    I'm trying to maximize the page's real estate. Here is the
    page
    http://www.jannah.com/mp3/browse.html
    Click on "Artist/Scholar" in "STEP1" section. "STEP2" section
    gets filled with a list. I'm trying to display that list in 3
    columns and as many rows as needed. How do I do that?
    While I'm at it, I also can't figure out why the spry:select
    is not working for "STEP2" section; I need to click twice on the
    same item to get it highlighted. the other spry selects on the page
    work ok. Can someone take a look.
    Greatly appreciated.

    You can't use Spry with tables to do this, but if you're up
    to using a div based layout/presentation, it is possible. Check out
    the Zuggest sample:
    http://labs.adobe.com/technologies/spry/samples/data_region/ZuggestSample.html
    It uses floated divs to get the same effect. The nice thing
    about using divs, is that more columns dynamically appear as the
    horizontal real-estate is expanded.
    --== Kin ==--

  • Displaying data from an XMl in horizontal list

    Ok so here's the skinny:
    I have this flex app that works fine
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" width="100%"
    viewSourceURL="srcview/index.html">
    <mx:Style source="source.css"/>
    <mx:Image x="15" y="4" source="images/title.jpg"
    width="210" height="65"/>
    <mx:Image source="images/title1.jpg" id="image1"
    horizontalAlign="right" verticalAlign="top" top="3" width="784"
    height="58" x="241"/>
    <mx:XML id="tempXML" source="
    http://development.company.net/interface.php?username=user&amp;password=pass&amp;customer= customer&amp;action=showopen&amp;operation=defects&amp;format=xml&amp;critcal=both"
    />
    <mx:XMLListCollection id="defectXMLList"
    source="{tempXML.defect}" />
    <mx:DataGrid id="dataGrid" dataProvider="{defectXMLList}"
    width="1024" rowCount="{defectXMLList.length + 1}" x="0" y="62"
    borderThickness="2" borderColor="#fda600" themeColor="#fda600"
    alternatingItemColors="[#fda600, #ffffff]" cornerRadius="0"
    color="#000000" borderStyle="none" alpha="0.73">
    <mx:columns>
    <mx:DataGridColumn id="assetCol" dataField="asset"
    headerText="Asset:" />
    <mx:DataGridColumn id="componentCol"
    dataField="component" headerText="Component:" />
    <mx:DataGridColumn id="conditionCol"
    dataField="condition" headerText="Condition:" />
    <mx:DataGridColumn id="ffdCol" dataField="ffd"
    headerText="FFD:" />
    <mx:DataGridColumn id="inspidCol" dataField="inspid"
    headerText="Inspection ID:" />
    <mx:DataGridColumn id="mileageCol" dataField="mileage"
    headerText="Mileage:" />
    </mx:columns>
    </mx:DataGrid>
    </mx:Application>
    However they now want to just display the asset and not in a
    data grid but as a horizontal list and I have tried and tried to
    look for an effective example of this and how to make it work.
    I have tried Horizontal List, Vertical List, HBox, and VBox
    but all I want the thing to do for now is to just display data
    Horizontally.
    any help would be great

    HorizontalList is what you're looking for. But that alone
    won't do. You'll need to write a custom renderer.
    Search in the Flex Build helper for how to implement custom
    renderer. Essentially, each row that you see in the grid would be
    passed to each element in the horizontal list and you can use any
    <mxml> or actionscript based component as renderer.
    here are some of the topics that will get you started:
    Using Item Renderers and Item Editors
    Working with item renderers
    ATTA

  • Not able to display data in different columns using Unicode encoding

    Hi,
    Iam using Unicode encoding in my Java appln to support Japanese characters while downloading CSV report. But using the Unicode encoding displays all data in the first column of Excel sheet.
    Please let me know how to display data in different columns using Unicode encoding in Excel sheet.

    Hi Venkat,
    After extracting data into DSO check the request whether active or not.
    Check data in DSO in contents.
    If is there any restrictions on info providers in Queries.
    Let us know status clearly.......
    Reg
    Pra

Maybe you are looking for

  • Adobe After Effects CS6

    When I open adobe after effects cs6 Trial tells me "-After Effects Warning: Unknown Exception" I press ok it seems emi "After effects: AEGP Plugin AEDynamicLinkServer Plugin: Unknown error in Adobe Dynamic Link" I do ok and I get the message twice Af

  • Viber App on Iphone 4s not working for xperia phones

    I just downloaded viber on my iphone 4s. It's working fine when i text and call through viber on other iphones. However, for someone using xperia, my viber status appear to be offline on their viber and they can't text or call me through viber on the

  • SCCM 2012 SP1 - Server 2012 De-duplicated Package Source

    Hi, We keep all our package sources on a Server 2012 box. I was wondering if it supported if I de-duplicate the drive the packages live on please? Thanks

  • NullPointerException Question

    Please can anyone tel me why do I get a nullPointerException when I do this? try { String r�da= table.getValueAt(row,col); v.add(1, r�da); System.out.println("Vector inneh�ller" + v.elementAt(1)); catch (Exception e) { e.printStackTrace(); or this: O

  • How to relink files inside an avchd package ?

    I messed up a library and lost a project, then I found a copy of it in the backup folder, now when I open the project it asked me to relink files, but a part of them are inside an avchd package. How to relink those files ? Thanks