Merge rows in report in OBI EE

hi,
i am using OBI EE to generate reports on dashboard.
i have 4 columns to display different values. i have case statements in all the 4 columns. i am substituting null if no conditions are satisfied. however, the results obtained are duplicated in the number of rows. For Ex: if the condition in the first column is displayed, the rest columns are null. The 2nd row is nothing but null value in the 1st column but values in the 2nd column. The 3rd row is null values in the first 2 columns but actual value in the 3rd column and so on...
My requirement is to generate 1 single row, with the data in all the columns.
can you please help me out on this?

Hi,
If you want to copy data from one workbook to another workbook data, the following code you can refer to:
Sub DopyExcelData()
    Dim wkbk As Workbook
    Set wkbk = Workbooks.Open("D:\test2.xlsx") 
'D:\test2.xlsx is my another excel workbook
     wkbk.Activate
    Sheets("Sheet1").Activate
        Range("A1:C15").Select
        Selection.Copy
       wkbk.Close False
       Range("A16").Select
    ActiveSheet.Paste
    MsgBox "OK"
End Sub
Hope this will help you
Best Regards
Lan
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • How to merge cells in report designer

    Hello BW Experts,
    How to merge cells in report designer.
    Thanks in advance
    BWer

    Hi BWer,
    I had to check for some details from Development.
    You also need to have FEP 14 for the BI 7.x tools on SAP GUI 6.40, which was just released on Friday. You can find it at service.sap.com/swdc. In the format menu, you will now see a "Link Cells" option.
    With the link cells option, you cannot merge across row patterns. That means that you will probably have to make some changes to your report before you can merge the cells, based on what you described.
    I imagine that you started out with a report section something like the following (dashes added for formatting purposes):
    G0 Header ...
    G1 Header -
    Controlling Area
    Detail -
    Func Area
    And then moved controlling area to the right to the same column as functional area:
    G0 Header ...
    G1 Header -
    Controlling Area
    Detail -
    Func Area
    Resulting in an output that would look like:
    CA1000
    FA ABCA
    FA ABCB
    FA ABCC
    CA2000
    FA ABCA
    FA ABCB
    FA ABCC
    As shown above, these cells cannot be merged because they cross row patterns. You would instead need to move the controlling area member down to the same row as functional area:
    G0 Header ...
    G1 Header      
    Detail -
    Controlling Area    Func Area
    You can now merge these cells, resulting in an output that would look like the following:
    CA1000 FA ABCA
    CA1000 FA ABCB
    CA1000 FA ABCC
    CA2000 FA ABCA
    CA2000 FA ABCB
    CA2000 FA ABCC
    To merge the cells, you would simply highligh both cells with your cursor and then select the option from the menu.
    Regards,
    Katie

  • Avoid local member from shared row axis report

    Hi,
    I have developed reports, and shared onereport with default report with row axis,
    when i merge the two report the local member applicable to the another report which will i don't required the formula.
    but one report don't need sum function at the end of the reach column. Row axis is dynamic.
    ex:
    total.2012
    total.2013
    total.2014
    account_1
    34
    account_2
    144
    total
    178
    not need the sum
    not need the sum
    Regards.
    surya

    You can use the EPMFormattingSheet sheet to clear the intersection of the local member Total and Time.Year <> 2012
    You must use the Multiple Selection functionality, follow this steps:
    1) In section Dimension Member/Property Formatting, section Column click the button Add Member/property
    2)  Select tab Property Selection, select dimension: TIME, property: YEAR, operator: <> and value: 2012. Then click the button "Add to Multiple Selection"
    3) Select tab Specific Selection, select Local Member option and enter the name of the local member, in this example is LocalMember000.Then click the button "Add to Multiple Selection"
    4) Select tab Multiple Selection Overview to validate the previous selections.
    5) Click OK
    6) Check the option Apply
    7) Change the conten of the cell with the formula =""
    8) In columns Use change the value "All" to value "Content"
    Hope this helps.

  • Custom row-fetch and how to get column values from specific row of report

    Hi -- I have a case where a table's primary key has more than 3 columns. My report on the
    table has links that send the user to a single-row DML form, but of course the automatic
    fetch won't work because 1) I can't set more than 3 item values in the link and 2) the
    auto fetch only handles 2 PK columns.
    1)
    I have written a custom fetch (not sure it's the most elegant, see second question) that is working
    for 3 or few PK columns (it references the 1-3 item values set in the link), but when there are
    more than 3, I don't know how to get the remaining PK column values for the specific row that was
    selected in the report. How can I access that row's report column values? I'll be doing it from the
    form page, not the report page. (I think... unless you have another suggestion.)
    2)
    My custom fetch... I just worked something out on my own, having no idea how this is typically
    done. For each dependent item (database column) in the form, I have a source of PL/SQL
    function that queries the table for the column in question, using the primary key values. It works
    beautifully, though is just a touch slow on my prototype table, which has 21 columns. Is there
    a way to manually construct the fetch statement once for the whole form, and have APEX be smart
    about what items get what
    return values, so that I don't have to write PL/SQL for every item? Because my query data sources
    are sometimes in remote databases, I have to write manual fetch and dml anyway. Just would like
    to streamline the process.
    Thanks,
    Carol

    HI Andy -- Well, I'd love it if this worked, but I'm unsure how to implement it.
    It seems I can't put this process in the results page (the page w/ the link, that has multiple report rows), because the link for the row will completely bypass any after-submit processes, won't it? I've tried this in other conditions; I thought the link went directly to the linked-to page.
    And, from the test of your suggestion that I've tried, it's not working in the form that allows a single row edit. I tried putting this manually-created fetch into a before header process, and it seems to do nothing (even with a hard-coded PK value, just to test it out). In addition, I'm not sure how, from this page, the process could identify the correct PK values from the report page, unless it can know something about the row that was selected by clicking on the link. It could work if all the PK columns in my edit form could be set by the report link, but sometimes I have up to 5 pk columns.
    Maybe part of the problem is something to do with the source type I have for each of the form items. With my first manual fetch process, they were all pl/sql functions. Not sure what would be appropriate if I can somehow do this with a single (page level?) process.
    Maybe I'm making this too hard?
    Thanks,
    Carol

  • How to convert colon separated column values in multiple rows in report

    Hi All,
    I want to display colon separated values from a column, in a multi row in report.
    For example i have a column1 in a table with value 'A:B:C' , column2 has value '1'.
    i want to show in a report three rows using these two columns like
    column1 column2
    A 1
    B 1
    C 1

    Here's one way:
    SQL> create table test (col1 varchar2(20), col2 number);
    Table created.
    SQL> insert all
      2    into test values ('A:B:C', 1)
      3    into test values ('Dg:Ezs', 2)
      4  select * from dual;
    2 rows created.
    SQL> select
      2    t.col2,
      3    regexp_substr(t.col1, '\w+', 1, t2.column_value) c1
      4  from test t,
      5    table(cast(multiset(select level
      6                        from dual
      7                        connect by level <= length(t.col1) - length(replace(t.col1, ':', '')) + 1
      8                       ) as sys.odcinumberlist )) t2
      9  order by 2, 1;
          COL2 C1
             1 A
             1 B
             1 C
             2 Dg
             2 Ezs
    SQL>Edited by: Littlefoot on Jan 31, 2012 10:13 AM

  • Add row in report FBL1N

    Hi Gurus,
    I have requirement to add rows in report FBL1N in order to display  all item  per document ( like in document overview ) in the same screen.
    I applied note 112312 to display offset a/c (BTE with FM LINE_ITEMS_GET_GKONT) but partialy  resolve my pb that is one item is displayed.
    I would like to know how to do this, if i have to use BADIs (such BADI FI_ITEMS_MENUE01 ) and witch one  or clone de STD or customazing.
    Thanks in advance.

    Ok,
    trx FB1N, after selection give me :
       DocumentNo Type     Doc..Date  Offst.acct
       5300029134 TL       22.05.2007  600819   => one account per document
       5300034345 TL       07.06.2007  600819    
       5300038636 TL       21.06.2007  600819    
       5300038637 TL       21.06.2007  600819    
       4200014129 FA       28.02.2007 40811030  
       4200012196 FA       31.03.2007 40811030  
       4200013351 FA       31.03.2007 60640000  
    details of fisrt document (n° 5300029134) give 4 line items :
    Itm PK  Account   Account short text         Amount
       1 25   600819     LYRECO                 20,524.36
       2 39   600819     LYRECO                 20,524.36-
       3 50   51110040   BN att FGX LCR n.D.    20,524.36-
       4 40   51119800  En cours E à P         20,524.36
    my requirement is to display 3  account ( 600819, 51110040 and 51119800)  given in details of document  in column Offst.acct  when excute FBL1N in stead of one. like this :
    DocumentNo Type     Doc..Date  Offst.acct
       5300029134 TL       22.05.2007  600819 
       5300029134 TL       22.05.2007   51110040    
       5300029134 TL       22.05.2007   51119800 
       5300034345 TL      07.06.2007   600819    
       5300038636 TL       21.06.2007  600819    
       5300038637 TL       21.06.2007  600819    
       4200014129 FA       28.02.2007 40811030  
       4200012196 FA       31.03.2007 40811030  
       4200013351 FA       31.03.2007 60640000  
    I hope that is more clear,thanks fo your patience.

  • How to hide edit link for  some rows in report? (according to value of col)

    Helo,
    How to hide edit link for some rows in report? (according to value of column)
    regards
    siyavuş

    Hi siyavuş
    You can do this by taking the edit link off the report and putting it into your report SQL.
    Use something like Select CASE WHEN (condition)  THEN
    'Put your edit link in here as an html Anchor like<a href="(target)">Edit</a>'
    ELSE
    tt.value
    END edit_link
    FROM test_table tthope it helps,
    Gus..
    You can reward this reply (and those of other helpers) by marking it as either Helpful or Correct.
    This allows forum users to quickly find the correct answer.
    ;-)

  • How to merge rows with similar values in alv grid display in webdynpro

    Hi experts,
                   i want to know about how to merge rows with similar values in alv grid display of webdynpro.grouping rows is possible in table display in webdynpro but i am not able to do row grouping in the alv grid display in webdynpro.
    kindly suggest.
    thanks ,
    Anita.

    Hi Anita,
    did you find a solution for this? I have opened a Thread, if you know the answer maybe you could help me out:
    Is there an ALV function similar to the TABLE Row grouping?
    Thanx in advanced!!!
    Kind Regards,
    Gerardo J

  • Remove/delete the row with Report Name above header while exporting SSRS to excel

    I wanted to make sure to delete the top most row with Report name in SSRS report while exporting to excel.
    I didn't find any way to do so, My report don't need a report name actually i deleted  the text still a blank row appears in excel.
    Is there any property hidden i need to look for this requirement?

    Invalid definition.
    The report definition is not valid.
    Details: The report definition has an invalid target namespace
    'http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition'
    which cannot be upgraded. (rsInvalidReportDefinition)

  • Merging Cells in Report Designer

    Hi,
    according to SAP Documentation http://help.sap.com/saphelp_nw2004s/helpdata/en/d7/6b9b41aa6ca309e10000000a155106/frameset.htm
    it shall be possible to merge cells within Report Designer. However I have tried it on several ways but was never able to find this functionality.
    Also I can not find many other of those cell properties described in the link above. Woeking with Frontend Patch 7, Revision 61
    Any help is highly appreciated.
    Andreas

    Hi,
    FYI. I am able to merge cells in the Report Designer by selecting multiple cells, and then selecting 'Merge Cells' from the context sensitive menu. I am using the latest SP for ABAP, JAVA, and front-end.
    An alternative to merging cells is merging texts within one cell. This will often do.
    Regards,
    József.

  • Merge row in ALV

    hello everyone, im having a problem woth my ALV, how can i merge rows in ALV,
    example i want to merge row 3 and row 4?
    Another 1 how can I format a certain row in ALV?
    example row 5, I want the displayed value be centered, or right aligned, or left aligned...
    thank you very much

    Christopher,
    I am not sure what is the functionality you are trying to achieve by merging rows. If you SORT the rows, there should be a option (Iam not sure whether it is in the field catalog or the layout most probably in the layout), where the rows with the same for specific columns will automatically get merged. However, it does not make sense if the entire row is duplicated. You probably can delete the adjacent duplicates by sorting the table even before displaying the data.
    I am not sure the formatting that you are asking, but you can trying passing different values to LVC_T_STYLE type table which has to be a part of you data internal table. So, for a specific row, you append the column names and the specific style that you want for individual columns.
    Regards,
    Ravi
    Note : Please reward points if this helps you.

  • Excel 2007 Merge Rows

    How can I merge rows together to go from this:
    1
    2
    3
    A
    F
    A
    G
    A
    D
    H
    B
    I
    B
    J
    C
    K
    C
    L
    C
    M
    C
    E
    N
    To this:
    1
    2
    3
    A
    D
    F, G, H
    B
    I, J, K
    C
    E
    L, M, N

    Try VBA  code:
    Sub Test()
    Dim d1 As Object, d2 As Object, d3 As Object, i%, arr
    Set d1 = CreateObject("scripting.dictionary")
    Set d2 = CreateObject("scripting.dictionary")
    Set d3 = CreateObject("scripting.dictionary")
    arr = Range("A1").CurrentRegion
    For i = 2 To UBound(arr)
    For j = 2 To Application.CountA(ActiveSheet.Range("1:1"))
    d1(arr(i, 1)) = ""
    d2(arr(1, j)) = ""
    d3(arr(i, 1) & arr(1, j)) = d3(arr(i, 1) & arr(1, j)) & arr(i, j)
    Next
    Next
    Range("B16").Resize(1, d2.Count) = d2.keys
    Range("A17").Resize(d1.Count, 1) = Application.Transpose(d1.keys)
    For i = 17 To d1.Count + 16
    For y = 2 To d2.Count + 1
    If d3.exists(Cells(i, 1) & Cells(16, y)) Then
    Cells(i, y) = d3(Cells(i, 1) & Cells(16, y))
    End If
    Next
    Next
    End Sub
    Wind Zhang
    TechNet Community Support

  • Macro/VBA script to merge rows with same values in another column

    Hi.
    I'm developing a dance competition application, using Excel 2010, and have so far managed to put judges' marked scores into a worksheet through a userform.
    Now I would like to make the worksheet more presentable as a scoreboard, as you would manually, but via VBA scripts.
    Exhibit Numbers (Column G) are unique identifiers (per competition) for contestants and each contestant is typically judged by three judges.  The scores in three separate categories from one judge would spread in one row so each contestant would have three
    rows.
    I would like to merge rows of columns where the totals from the judges go (Columns P to U) for each contestant.
    I've considered using some kind of loop but I don't have enough experience in vba scripting, it gets overcomplicated. Could someone please help?
    Many thanks.
    Maki Koyama (Canberra, AUS)

    Hi,
    You cannot add a static "Y" inside a when looping over "i". You need to ensure that "Y" changes along with X. Try the modified code below.
    List elements = new ArrayList();
    for (int i=0; i<XXX; i++) {
    IZZZ.IVisibilityElement el = wdContext.createVisibilityElement();
    el.setVisAttr(i); // Change Y to i
    elements.add(el);
    wdContext.nodeVisibility().bind(elements);
    That should give you an idea of what is erroneous in the code.
    Thanks.
    HTH.
    p256960

  • Merging rows into one row but into SEPARATE Columns

    Hello Gurus,
    I have searched alot on OTN and many other places, but no where I could get the solution of how can we merge rows into one row but separate column. For example
    Consider the below scenario
    "DEPARTMENT", "EMP","NAME","SUBJECT"
    "Electronics","1","Sam","LIC"
    "Electronics","2","Pam","VLSI"
    "Electronics","3","Tom","C"
    "Mech","1","Abu","Thermo"
    "Mech","4","Lina","Machines"Now, I need the output like
    Based on Department as Group By Clause
    "DEPARTMENT", "EMP1","NAME1","SUBJECT1","EMP2","NAME2","SUBJECT2","EMP3","NAME3","SUBJECT3"
    "Electronics","1","Sam","LIC","2","Pam","VLSI","3","Tom","C"
    "Mech","1","Abu","Thermo","4","Lina","Machines"
    The row data to be loaded into separate columns. Name of the column is not an issue... can be anythingIn all the forums which I went through I could find them loading into a single column, but not into respective separate columns.
    Any help would be much appreciated.
    Thanks

    848265 wrote:
    Frank,
    I saw your name nearly n number of times, as I went through many forums today... And the link which you have just posted, I went through it today afternoon.
    Could you please explain this bit taken from your dynamic pivot post.
    SELECT     DISTINCT
         ',     COUNT (CASE WHEN job = '''
    ||     job
    ||     ''' '     AS txt1
    ,     'THEN 1 END)     AS '
    ||     job
    ||     '_CNT'     AS txt2
    FROM     scott.emp
    ORDER BY     txt1;Many Thanks.You only need that when you need column aliases based on the actual data (and you explicitly said you don't need that) or when can't put an upper bound on the number of columns to be displayed. If that doesn't apply to this problem, then don't use any kind of dynamic SQL (like the code above); it makes the job much more difficult, less efficient and less robust.
    Here's what the code above is doing.
    If you were hard-coding a query that showed the number of people in each job, and you knew that the possible jobs were 'ANALYST', 'CLERK' and 'MANAGER', then you might hard-code a query like this:
    SELECT    deptno
    ,       COUNT (CASE WHEN job = 'ANALYST'  THEN 1 END)     AS analyst
    ,       COUNT (CASE WHEN job = 'CLERK'    THEN 1 END)     AS clerk
    ,       COUNT (CASE WHEN job = 'MANAGER'  THEN 1 END)     AS manager
    FROM       scott.emp
    GROUP BY  deptno
    ;If the jobs had different names, or if there were not 3 different jobs, then you would have to change the lines in the SELECT clause that start with ", COUNT ( CASE ...".
    The code you posted is from an example of dynamic SQL, where you first run a Preliminary Query . (What you posted above is, in fact, the complete preliminary query.) The output of that preliminary query is exactly the variable part of the real query, such as:
    ,       COUNT (CASE WHEN job = 'ANALYST'  THEN 1 END)     AS analyst
    ,       COUNT (CASE WHEN job = 'CLERK'    THEN 1 END)     AS clerk
    ,       COUNT (CASE WHEN job = 'MANAGER'  THEN 1 END)     AS managerYou then use this output as part of your main query. In other words, you can write something today that will generate exacrly as many columns as you need next year, with names from the data as it is next year. How? because you're not writing the full query today. The variable part will be written by the preliminary query when it runs next year.

  • Importstring with xml merging row data

    I have a simple XML import I'm trying to do, rather than manually parsing the data. There's a problem though. The following XML generates 3 rows in the datawindow instead of 4. I'm using a default template.
    <?xml version="1.0"?><dw_tqxml>
    <dw_tqxml_row><dosetime>AM</dosetime><qty>1</qty></dw_tqxml_row>
    <dw_tqxml_row><dosetime>8pm</dosetime><qty>1.25</qty></dw_tqxml_row>
    <dw_tqxml_row><dosetime>NOON</dosetime></dw_tqxml_row>
    <dw_tqxml_row><qty>3.00</qty></dw_tqxml_row>
    </dw_tqxml>
    The first and second rows come out fine, the third row is a combination of the two last rows.
    Here's the result data
    "AM", "1"
    "8pm", "1.25"
    "NOON", "3.00"
    dw sql is:
    select space(10) as dosetime, space(10) as qty from dummy
    It's my understanding that missing data should use the default values in the datawindow.
    PB 12.5 Build 5583
    Anyone have any ideas on why it's merging rows? This is the first time I've used XML import, don't really have a clue what I'm missing.

    I have limited experience with XML import. What I have just found is:
    Column tag names are ignored during import.
    The import "finds" the data between each detail item.
    Appears to completely ignore the surrounding "row" tags.
    Your XML file needs empty detail tags when there is no data. No PowerBuiilder import function will assign default values. Only InsertRow() function does that.
    XML imports/exports works really well with nested or composite datawindows. There are templates generated that you can use.  Not sure how templates work.

Maybe you are looking for

  • How can I use the iPhone i bought here in the US in the philippines?

    i have an iphone and i was just wondering how can i can use the iphone i bought here in the united states to the philippines? is it even possible? please help me. thanks!

  • A few questions about MacBooks and Parallels Desktop.

    I have a few questions about MacBooks and Parallels Desktop. 1) I understand I need at least 1GB of RAM to run Parallels Desktop but what about the hard drive, is the stock 60GB drive big enough? 2) Related to question 1, even if it was big enough to

  • Can I extract the orginal VI's from an executable created by Runtime Engine?

    I have an executable program created using the Labview Runtime engine and need to edit the subVI's contained within. Unfortunately, I don't have the original VI's the program was created with. Is there any way I can extract those VI's? Thanks, Mike C

  • -jrockit option

    Hi. What' s the meaning of "-jrockit" start-up option? (ex. java -jrockit -xmx128m -xms128m ... ) I couldn't find the note about it in any guides or something like that...

  • How to use Tooltips with JTree

    Hi to all, i need to show tool tip with on mouse over event on JTree. Tooltip text should be dynamic and its value depends on tree node. i did't implemented tooltips as of now. i have visited some sites but i did't get good information. Please sugges