BI Report is showing two rows for a single record

Dear Experts
This is Raja
I am Facing one issue in BI Report,
I have created report based on a Infocube which is getting data from two DSO. one is Standard [ Billing Condition Data]and another one is ZDSO[Targets}. these two requests go in the Infocube
1. Budget- zdbudget [DSO]
2.Actuals -0sd_o06 [DSO]
I need to make report  Like this :For a specific period
EX:1
Material    Sold to party    Actual   Budget/Target     Variance    Actual YTD  Budget YTD
M100        S100                 21         30                         10               21                  30
here budget{ Budget DSO} values i am getting Material wise sold to party is not coming through file. But for Actual values sold to party is coming, that's why my report is showing like this..
Ex:2
Material    Sold to party    Actual   Budget/Target     Variance    Actual YTD  Budget YTD
M100        S100                 21                                      10               21                 
                                  30                       -30                                        30
Since the sold to party is not available in Budget DSO in the report For Every Material it's showing Two Rows.
How can bring this in to one Line..Like EX:1
Please give Valuable Suggestions..

Say the data is like this.
Material Sold to Party Act Bud
M1          S1               100   0
M1          #                    0    50
M1          S2               200   0
And you want to see like below.
Material Sold to Party Act Bud
M1          S1               100   50
M1          S2               200   50
If this is your requirement, let the sold to party be in Rows.
In columns, for budget, create a local selection, drag budget kf, sold to party (restrict this by # and right click and choose constant selection). This makes the budget kf independent of what is coming in the rows and always shows data corresponding to sold to party #. Hope this is clear.

Similar Messages

  • SQL to contact two rows into a single record

    I have a source table which has data in the following format;
    CON_ADDR_ID START_DAY START_TM END_TM
    1-GU-798     Tuesday     1/1/1980 8:00:00 AM     1/1/1980 5:00:00 PM
    1-GU-798     Thursday     1/1/1980 7:00:00 AM     1/1/1980 4:00:00 PM
    I need to concatenate fields start_day, start_tm, end_tm for same con_addr
    For example for the above the output should be *&tu=480,1020 &th=480,1020*.
    Logic:-
    1. Convert time into minutes
    Start time in mins = 8 hrs = 480 mins
    End time in mins = 17 hrs =1020 mins
    Start time in mins = 7 hrs = 420 mins
    End time in mins = 16 hrs = 960 mins
    2. Concatenate the 2 rows and 3 columns.
    &<start day in MM format>=<start time in minutes>,<end time in minutes> &<start day in MM format>=<start time in minutes>,<end time in minutes>

    user10566312 wrote:
    I have a source table which has data in the following format;
    CON_ADDR_ID START_DAY START_TM END_TM
    1-GU-798     Tuesday     1/1/1980 8:00:00 AM     1/1/1980 5:00:00 PM
    1-GU-798     Thursday     1/1/1980 7:00:00 AM     1/1/1980 4:00:00 PM
    I need to concatenate fields start_day, start_tm, end_tm for same con_addr
    For example for the above the output should be *&tu=480,1020 &th=480,1020*.
    Logic:-
    1. Convert time into minutes
    Start time in mins = 8 hrs = 480 mins
    End time in mins = 17 hrs =1020 mins
    Start time in mins = 7 hrs = 420 mins
    End time in mins = 16 hrs = 960 mins
    2. Concatenate the 2 rows and 3 columns.
    &<start day in MM format>=<start time in minutes>,<end time in minutes> &<start day in MM format>=<start time in minutes>,<end time in minutes>Based on your logic, shouldn't the output be &tu=480,1020 *&th = 420,960* ?
    may be :
    SQL> ed
    Wrote file afiedt.buf
      1  with sample_data
      2       as (select '1-GU-798'
      3                  con_addr_id,
      4                  'Tuesday'
      5                  start_day,
      6                  to_date('1/1/1980 8:00:00 AM', 'DD/MM/YYYY HH12:MI:SS AM')
      7                  start_tm,
      8                  to_date('1/1/1980 5:00:00 PM', 'DD/MM/YYYY HH12:MI:SS AM')
      9                  end_tm
    10           from   dual
    11           union all
    12           select '1-GU-798',
    13                  'Thursday',
    14                  to_date('1/1/1980 7:00:00 AM', 'DD/MM/YYYY HH12:MI:SS AM'),
    15                  to_date('1/1/1980 4:00:00 PM', 'DD/MM/YYYY HH12:MI:SS AM')
    16           from   dual)
    17  select listagg(tm, ' ') within group(order by con_addr_id) val,
    18         min(con_addr_id)                                    con_addr_id
    19  from   (select con_addr_id,
    20                 '&'
    21                 ||substr(start_day, 1, 2)
    22                 ||'='
    23                 ||( ( start_tm - trunc(start_tm) ) * 24 * 60 )
    24                 ||','
    25                 ||( ( end_tm - trunc(end_tm) ) * 24 * 60 ) tm
    26          from   sample_data)
    27* group  by con_addr_id
    SQL> /
    VAL                            CON_ADDR
    &Th=420,960 &Tu=480,1020       1-GU-798

  • Report generating two rows for the very first record

    Hi ,
    I have designed a simple RTF template using Table Wizard in MS Words.When I am trying to view the report in excel , the report shows two entries for first record.The problem is with first record only and other entries displyed are fine.When I tried deleting the first record , the next record is showing two rows.
    Am I missing something here ?
    Please advice.
    Thanks!!

    Hi ,
    I got this sorted out.The pbm was with my XML as My Rowset and Row had the same name.I changeed the rowset name and it worksfine now.
    Thanks Vetsrini!!

  • Report two rows for a given group item

    All,
    I need to generate a report that will list credits on one line and related debits on the next line. Kind of like the following:
    Account Name_____Amount
    Cash ................. 1000.00 ...... (this line would reflect positive entries, or deposits)
    Cash .................... 20.00 - ...... (this line would reflect the negative entries, or withdrawls)
    Is there an easy way to do something like this?
    We're running the desktop edition of Discoverer 10g.
    Thanks,
    Gary F.

    Hi Rod,
    The plot thickens...
    The report I'm working on will read through a table of invoiced items, much like the following:
    Bill_Charges Table
    Company
    Year
    Month
    Week
    Bill_Code
    Retail_Amount
    Discount_Amount
    Based on the Bill_Code, I need to aggregate the Retail_Amount, and the Discount_Amount.
    The data can look like this:
    ABC Company, 2009,08,01,102,100.00,10
    ABC Company, 2009,08,01,103,90.00,15
    ABC Company, 2009,08,01,104,100.00,5
    ABC Company, 2009,08,01,105,100.00,5
    The report will then need to report two rows for all Bill_Codes in the 100s range, first the Retail_Amount, and then the Discount_Amount directly below it, in the next row, as seen below:
    Company Name . . . . . . .Billed Amounts
    ABC Company................$390.00 (This would be the sum of the Retail_Amount column)
    .................................. $35.00 (this would be the sum of the Discount_Amount column)
    My gut feeling is that this will need to be a pivot table, but I'm so rusty on pivot tables that I'd need more than just a squirt can to limber me up.
    Any help you can throw my way would be greatly appreciated.
    Thanks for all you do for us,
    Gary F.

  • How to get difference between two rows for a column field?

    hi, all,
    Could anyone show me what query statement is to get the difference betweem two rows for two column fields?
    The tables and its records are like this:
    id,      begin,      end
    p1         21          30
    p2          45          60
    p3          120          150
    I would like to have the query result like this
    id,    diff
    p1     15    --- which is 45 minus 30
    p2     60    --- which is 120 minus 60
    and so on...
    thank you in advance.
    Raffy

    You can use the LAG function to access values from previous rows:
    with q as (select 'p1' id, 21 v_start, 30 v_end from dual
    union all
    select 'p2', 45, 60 from dual
    union all
    select 'p3', 120, 150 from dual)
    select id, v_start, v_end, v_start - lag (v_end, 1, 0)
      over (order by id) v_diff from q
    ID,V_START,V_END,V_DIFF
    p1,21,30,21
    p2,45,60,15
    p3,120,150,60
    See the SQL Language doc
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/functions075.htm

  • Report doesnt show the text for employee ids.....

    Hi guys,
    I am facing the following issue.
    We have a report which is fetching data from the infocube.Whenever we check the report we are facing the issue : report doesnt show the text for ~10 employee ids,its showing the key in both key and text columns, its showing both text and key for the remaining employee ids.We checked the master data for employee id and it contains master for the employee ids which are not displayed text in the report.
    Can any body help on this.
    Regards
    Prasad

    Hi Prasad,
    for your infoobject do you have all three texts available (short, medium and long)? Are all three loaded? You might have the wrong text displayed in your report. Check if you have the short, medium or long texts displayed. Dont forget to check the languages too ....
    Kind Regards,
    Alex
    Edited by: Alexandre Soares on Dec 2, 2008 3:33 PM

  • Screen or Report that shows all Responsibilities for Org Unit

    How can we find out in Oracle application from the front end,,,, the screens... or may be report that shows all responsibilities for ORG Unit ‘Vision Operation’ (204).
    SELECT FR.RESPONSIBILITY_NAME, FPOV.PROFILE_OPTION_VALUE ORGID, NAME ORG_NAME
    FROM FND_PROFILE_OPTIONS FPO,
    FND_PROFILE_OPTION_VALUES FPOV,
    FND_RESPONSIBILITY_TL FR,
    HR_ALL_ORGANIZATION_UNITS HOU
    --HR_OPERATING_UNITS HOU
    WHERE --UPPER (FPO.PROFILE_OPTION_NAME) LIKE UPPER ('MO%OPERATIN%')
    PROFILE_OPTION_NAME = 'ORG_ID'
    AND FPO.PROFILE_OPTION_ID = FPOV.PROFILE_OPTION_ID
    AND FPOV.LEVEL_VALUE = FR.RESPONSIBILITY_ID
    AND HOU.ORGANIZATION_ID = FPOV.PROFILE_OPTION_VALUE
    the above query displays the data from the backend,,I want to see how to see that data from the front end,, does anyone know the navigation, thank you so much in advance.

    Hello Kashif,
    Thank you for the reply. So, there is no screen that shows all the responsibilities that are assigned to a operating unit.
    The link that you provided really did not give any information that i was looking for.
    And as you said .. "there is no specific screen to show all except responsibilities form".... what does the responsibilities form show,
    I have also tried to look in the System Administrator -> Profile -> System
    and in the Responsibility, I query for Payables manager, and look which Orgs are assigned to it, I am not able to find it. I know I am wrong, but can you please help me how to see which responsiblity is assigned to which Operating Unit.
    Thank you

  • Track changes showing multiple entries for a single change?

    Hi there .. I'm using Pages '09 v4.1 to edit MS Word '97 documents. I've been using the 'track changes' feature to work on chapters in a book and have done so with no problems so far (about 6 chapters so far in separate files). I went to start the next chapter and noticed that when I make a single change such as highlighting a word and making it italic, the tracking bubbles will show up as individual entries for every letter instead of for a single word. The really annoying thing is that it's not consistent .. some whole-word changes show up as a single entry, while some show as a few entries but don't necessarily correspond to how many letters are in the word being changed. When I try deleting specific tracking bubbles to see which part of the word they correspond to, it varies. For example, if I put the word "similar" in italics on page one, paragraph one, it shows up as 2 entries. When I delete the last entry, "imilar" will go back to standard font, while "s" stays italic until I delete the other entry. It's as though the words in the document are being recognized based on something other than the obvious, and certain letters are being grouped together in the program's brain, while others are separate.
    It's not isolated to italics, btw. If I reformat the entire document to be left-aligned instead of center-aligned, it will show lots of separate tracking bubbles in various places through the document, rather than showing one bubble for my single change.
    I've tried duplicating and saving a new version of the document, as well as creating a new doc and pasting everything into that and saving as a new doc, though I wasn't sure if this would carry over the problem .. It did.
    It's not the end of the world as far as finishing this job, but it's pretty annoying and will be worse for the person who ultimately verifies the changes I've made. Any help is greatly appreciated.

    TekWarrior wrote:
    I'm part of the end user computing and we are in the process of making a consolidated tnsnames.ora file as part of our migration from Windows XP to 7.
    The following two entries are to the same host, but are named different and use different ports, we can't locate the original programmer that set it up.
    I need to know if this would cause conflicts or not?
    PYRPROD.WORLD =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(Host = [same hostname])(Port = 1521))
        (CONNECT_DATA =
          (SID = pyrp1)
    PYRP1 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = [same hostname])(PORT = 1526))
        (CONNECT_DATA =
          (SERVICE_NAME = pyrp1)
    TekWarrior wrote:
    I'm part of the end user computing and we are in the process of making a consolidated tnsnames.ora file as part of our migration from Windows XP to 7.
    The following two entries are to the same host, but are named different and use different ports, we can't locate the original programmer that set it up.
    I need to know if this would cause conflicts or not?
    PYRPROD.WORLD =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(Host = [same hostname])(Port = 1521))
        (CONNECT_DATA =
          (SID = pyrp1)
    PYRP1 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = [same hostname])(PORT = 1526))
        (CONNECT_DATA =
          (SERVICE_NAME = pyrp1)
    It  won't cause any problem.

  • How to show multiple messages for a single exception

    hi
    Please consider this example application created using JDeveloper 11.1.1.3.0
    at http://www.consideringred.com/files/oracle/2010/MultipleMessagesExceptionApp-v0.01.zip
    It has a class extending DCErrorHandlerImpl configured as ErrorHandlerClass in DataBindings.cpx .
    Running the page and entering a value starting with "err" will result in an exception being thrown and multiple messages shown.
    See the screencast at http://screencast.com/t/zOmEOzP4jmQ
    To get multiple messages for a single exception the MyDCErrorHandler class is implemented like
    public class MyDCErrorHandler
      extends DCErrorHandlerImpl
      public MyDCErrorHandler()
        super(true);
      @Override
      public void reportException(DCBindingContainer pDCBindingContainer,
        Exception pException)
        if (pException instanceof JboException)
          Throwable vCause = pException.getCause();
          if (vCause instanceof MyMultiMessageException)
            reportMyMultiMessageException(pDCBindingContainer,
              (MyMultiMessageException)vCause);
            return;
        super.reportException(pDCBindingContainer, pException);
      public void reportMyMultiMessageException(DCBindingContainer pDCBindingContainer,
        MyMultiMessageException pException)
        String vMessage = pException.getMessage();
        reportException(pDCBindingContainer, new Exception(vMessage));
        List<String> vMessages = pException.getMessages();
        for (String vOneMessage : vMessages)
          reportException(pDCBindingContainer, new Exception(vOneMessage));
    }I wonder if calling reportException() multiple times is really the way to go here?
    question:
    - (q1) What would be the preferred use of the DCErrorHandlerImpl API to show multiple messages for a single exception?
    many thanks
    Jan Vervecken

    fyi
    Looks like using MultipleMessagesExceptionApp-v0.01.zip in JDeveloper 11.1.1.2.0 (11.1.1.2.36.55.36) results in a different behaviour compared to when used in JDeveloper 11.1.1.3.0 (11.1.1.3.37.56.60)
    see http://www.consideringred.com/files/oracle/img/2010/MultipleMessages-111130versus111120.png
    When using JDeveloper 11.1.1.2.0 each exception seems to result in two messages where there is only one message (as intended/expected) per exception when using JDeveloper 11.1.1.3.0 .
    (Could be somehow related to the question in forum thread "multiple callbacks to DCErrorHandlerImpl".)
    But, question (q1) remains and is still about JDeveloper 11.1.1.3.0 .
    regards
    Jan

  • Create a Formatted report for a single record

    I am trying to create a report for a single record in a document format instead of row and column format
    For example to list a custome information with list of orders.
    CustomerID ---------------------        Name ------------------------------------
    Address 1 ----------------------         Address 2 ------------------------------
    City --------------------------------        State -------------------------------------
    Zip ---------------------------------
    Order List
    Order 1            Qty          Total Cost
    Order 2            Qty          Total Cost
    We dont have crystal reports setup yet.  I am trying to use report designer...but it is not allowing me to do it.  It creates different group for each row in the query.   Can any one suggest how to do it using report designer or another way in BI 7.0 to create this kind of document.   I want to be able to print this document as pdf or other types.
    Any help is greatly appreciated..
    Thanks

    you can do this both in a formatted report or bex, depending on what kind of an outcome that you are looking for.
    basically, you are first going to present the data in a tabular format and then move the cells around, so the next time you execute the report (analyzer or report designer) it will stay in that format.
    if you are doing it in report designer, first create a query that pulls all required data points and gives them to you in an output as a table.  Then, add that query as a data provider for the formatted report, and you can create additional cells and move the key figures around.  Report designer is a little crude for formatting, but it works
    if you are doing this in BEx Analyzer, then you can do the same thing: create a query and then use the BExGetData formula to pull the required data into required cells
    if you are looking for HIGHLY formatted report (for example you want the output to come out on forms, etc), then you would need to use the Crystal Reports.
    Regardless of what you use for the presentation of the data, the data generation is controlled by the Query itself.  This is one of the tools that SAP is not planning to take away: all the future presentation options will use the query as the data source.
    good luck

  • How can we give two name for a single material ??

    Hi friends
    how can we give two name for a single material ??
    e.g.. if single material is sold to different customer by different names
    then how can we do that ??

    Yes
    you can achieve it thro CMIR in T code VD51
    Go to T code VD51 choose that customer and material combination and click on to its details blue lens on application tool bar
    In the screen which is coming ,enter your description in the CUSTOMER DESCRIPTION tab the second one and save
    Now create a sales order and see
    Your requirement will be fulfilled
    If a material is pen description is ball pen in material master and for customer A you have defined it as Pen 1 and description as Super ball pen in VD51
    If a material is pen description is ball pen in material master and for customer B  you have defined it as Pen 1 and description as  VerySuper ball pen in VD51
    Now in sales order the description will appear as Super ball pen for Customer A
    Now in sales order the description will appear as Very Super ball pen for Customer B
    Hence the material pen whose description is ball pen in MMR will appear as super ball pen for customer A and very super ball pen for customer B
    Hope you have checked the field info record in VOV8
    I have tried this tested this and getting it
    Regards
    Raja
    Edited by: ramanathan raja on Dec 8, 2008 5:54 PM

  • Can we call two layouts for a single script?

    Can we call two layouts for a single script?
    Where dow e assign print program to a script?
    in NACE transaction is it possible.......
    Thanks in advance.
    Regards.
    Abhilash.

    Hi Abhilash.
    Greetings for the day.
    U can use one script in diffrent programs.
    Yea u can do it in NACE transaction.
    procedure would b as foloows:-
    1.NACE
    2.Select the apllication
    3.Output types (press tab).
    4.again selet the output type which u require
    5.then press "procedure routines"
    here u can give the program name and fom name.
    plz reward if found helpful.
    regards
    prashant tiwari

  • How to add a row for every 5 records using logic:iterate

    Hi,
    In my application, using logic:iterate iam displaying 20 records per page.
    I want to insert a row for every 5 records.
    Please tell how to insert that row.
    Thanks in advance.
    Mohan

    I think this could work for you
    for (int x=1 ; x<=20 ; x++) {
    addRowWithRecord
    if (x%5==0)
    addEmptyRow
    }

  • Dispaly of two tables for a single tab in tabstrip

    Hi Experts,
    I have three tables,one is the consolidated table of another one and the third one is completely different but the requirement is ,
    for a SINGLE TAB click of a tab strip both the tables which are related have to be displayed
    and for the the third table a new tab has to be clicked.
    ,i know to display only one ui element for one tab .
    please help me out with this problem of displaying of two tables for a single tab

    Hi Shanmukha,
    Suppose you name of name of tables which need to be displayed in one tab is table 1 and table 2. To get this you can try these steps:
    method 1:
    - create  a view with 2 tables in it i.e table 1 and table 2. create a view container UI element in tab strip and embed this view in it.
    method 2
    - create  view1 containing table 2 only.
    - create view 2 containing table 1 and a view container UI element. Embed view 1 in the view container of this view. Now your view 2 contains both the tables.
    - In the tab strip's tab, create another view container UI element and embed view2 in it.
    I hope it helps.
    Regards
    Arjun

  • How do you configure two counters for a single task?

    Hello Everyone,
    I would like to know how to configure two counters for a single task. At first, I have put two start task for two counters and it did not work. Now, I have put Control Task to control the task of the other counter. Appreantly, all what it does is that it makes one counter work while other is stopped or not working. I have attached a picture of the VI below.
    Thanks.
    Mechanical Engineer

    Hello Mike,
    We are currently using NI-cDAQ 9191 chassis with NI 9401 Digital I/O module that can use counters. I don't know if the lines for the counters are multiplexed or not. I have attached the VI for you to look at it.
    Thank you for your effort.
    Mechanical Engineer
    Attachments:
    VI_Degrees(test2).vi ‏187 KB

Maybe you are looking for

  • Creation of Cost Element in trading Company

    Hi, Ours is Trading company. We do not manufacture any products and hence we don't have production or process orders. Should we create price difference (due to difference in goods receipt and invoice receipt) and Cost of goods sold G/Ls as cost eleme

  • Empty BPEL process getting lost for multiple file reads

    Hi I have a empty BPEL process polling for files. It works fine when 1 or 2 files are put into the read folder. But when than 2 files are put the process is lost, and nothing happens. Is there any proper and tested method of handling this problem. Is

  • Stop PO idoc

    Based on a condition, I need to stop a Purchase order IDOC (orders05) from being generated.. Any ideas?

  • Random Missing/Modified Links

    For the past couple of days I have been experiencing random missing/modified links showing up in preflight. I am using CS4 on Windows 7... all of the graphics are stored on a shared network, but no one was using them when the issues started. When I s

  • HT5577 I had tried a billon times resetting my apple id passwords & still cant sign into my mac pro nor my hp... so pls pls help???

    Please can someone pls help me out i had been resetting my apple id passwords a billon thousands times & still can't sign in even it said password had been reset??? i did this on my mac pro n even my hp can't update pls help me out what can i do & am