Bex Query - Show rows from another characteristic

Hi Guys,
I have a problem, I need to create a query to be displayed in Excel that shows accounting informacion by number, like this:
Account         Balance
12110201       1 USD
12110202       1 USD
12110204       1 USD
That works so far, the problem is that I need to add 2 more columns and in 1 of the new columns I need to show only some accounts, like this:
Account          Balance        NewColumn1
12110201       1 USD      
12110202       1 USD            Balance of 12110202
12110204       1 USD
the other one is more challenging because it need to show informacion from a different account, like this:
Account          Balance        NewColumn1            NewColumn2
12110201       1 USD      
12110202       1 USD           Balance of 12110202
12110204       1 USD                                           Balance of 2406910000
the first values came from my accounts tables that contain balance from sub accounts, but the value 2406910000 is in fact a sub account value.
Can some of you expers can help me on this? Is it possible?
Please help.

hmmmm
let me ask this:
You have multiprovider A
in that u have Chars
Account
Subaccount
Source of subaccount
& Keyfigures
$ amounts
okey now, lets say u want to display the data as follow:
$amount-----newcolumn1
Account----
2244--$2200--
2245--$3200--
bal. of 1234
2246--$4200--
2247--$1200-----bal. of 734
is that what u are asking to display....
if yes, bring Account in Rows
bring $amount in Collumns
add new selection1, in that add $amounts, then add Subaccounts from characteristics
that way it will show $ for subaccount
for e.g. in above case it will show $value for 1234 which is subaccount of 2245.
My question is when you say "Balance of 22140000" what is that you intend to display here....you want to show $ of Balance i.e $45, $56 etc, or
do you want to show Subaccount Number i.e 1234 or
do u want to show specific texts "Balance of 22140000"
my response above was related to this only, what is that you want to show in ur reports?
what is available in ur multiprovider?
if you wanna show specific texts  "Balance of 22140000", this cannot be done because you cannot just create texts in Query designers.
If you wanna show specific $ amounts for that subaccount, answer is create restricted keyfigure
if you wanna show Subaccount Number i.e 1234 etc, that means  you will have to create Replacement path variable and then replace values of Subaccount number into that column.
Maybe you will not need cell definition then.
i hope you understand what i am trying to explain..
dont hesitate to reply with detailed explaination, and any questions.

Similar Messages

  • I have deleted my photos but have icloud. when i log into icloud it doesnt give me an option to view these photos at all. my photo stream is only showing photos from another iphone in the house. i am unsure if i do a restore from back up if this will work

    I have deleted my photos but have icloud. when i log into icloud it doesnt give me an option to view these photos at all. my photo stream is only showing photos from another iphone in the house. i am unsure if i do a restore from back up if this will work. i really dont want to lose these photos but i am very unsure of what to do to resolve. can anyone please help?
    thank you

    If you had Photo Stream enabled with your iCloud account settings on the iPhone, photos in the Camera Roll should have been transferred to your photo steam automatically when the iPhone was connected to an available wi-fi network.
    Your photo stream is not available when logging in with your iCloud account with a browser on a computer.
    Why were the photos in the Camera Roll deleted?
    Photos/videos in the camera roll are included with your iPhones backup. If your iPhone's backup has not been updated since the photos were deleted from the camera roll, you can try restoring your iPhone from the backup.

  • Insert missing rows from another table

    Hi
    I need to insert rows from another table if there is gaps in my transaction table. For each ärendenr there should be 5 Id status rows (1-5). Except for the fact that the inserted rows never should have higher IdStatus number then the highest value from
    the transaction for each Ärendenr. See my example below that illustrates my transaction table, Stages master and the desired result.
    Is there some t sql code that could handle this problem?
    Best regards
    Arne
    So far i have tried to solve this with the code below but it doesnt work.
    I have copied the transaction file information to the TempLogTransTimes
    and then insert into LogTransTimes
    IF OBJECT_ID('dbo.TempLogTransTimes', 'U') IS NOT NULL --Här raderas den tillfälliga tabellen
    DROP TABLE dbo.TempLogTransTimes;
    SELECT *
    INTO TempLogTransTimes
    FROM LogTransTimes
    DECLARE @TopÄrende INT
    WHILE EXISTS(SELECT * FROM TempLogTransTimes)
    BEGIN
    SET @TopÄrende = (SELECT TOP(1) Ärendenr FROM TempLogTransTimes ORDER BY Ärendenr)
    INSERT INTO LogTransTimes(Ärendenr, IdStatus, StatusNamn, SourceId)
    SELECT @TopÄrende, SM.IdStatus, SM.StatusNamn, 'Beräkning'
    FROM Statusmall SM
    FULL JOIN TempLogTransTimes LT ON SM.IdStatus = LT.IdStatus
    WHERE LT.IdStatus IS NULL
    DELETE TempLogTransTimes WHERE Ärendenr = @TopÄrende
    END
    Arne Olsson

    Hi Arne Olsson, try this..
    DECLARE @Transactions TABLE
    Id1 INT,
    IdStatus INT,
    StatusName VARCHAR(10)
    DECLARE @Stages TABLE
    IdStatus INT,
    StatusName VARCHAR(10)
    INSERT INTO @Transactions VALUES(1,1,'AA'), (1,3,'CC'), (1,5,'EE'), (2,1,'AA'), (2,3,'CC')
    INSERT INTO @Stages VALUES (1,'AA'), (2,'BB'), (3,'CC'), (4,'DD'), (5,'EE')
    ;WITH CTE AS(SELECT DISTINCT Id1 FROM @Transactions)
    SELECT Id1, IdStatus, StatusName FROM CTE, @Stages
    EXCEPT
    SELECT Id1, IdStatus, StatusName FROM @Transactions
    Please mark as answer, if this has helped you solve the issue.
    Good Luck :) .. visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • Bex Query showing incorrect data

    Hi Experts,
    I have a Bex query on an infoset. The infoset is based on Sales Order Line Item DSO and Sales Order Condition DSO. I am refering Net value from Sales Order Line Item DSO. In the query, the values of Net Value is not coming correctly. When i check the value in Sales Order Line Item DSO it shows 100. However, in the query it shows 500. When i checked the infoset, it had 5 records. In each record, the net value was 100. What should i do to get the correct value of Net Value in the query.
    Have anyone faced similar problem ?
    Please reply as soon as possible.
    Thanks,
    Saachi

    Hi Sachi,
    This is a common problem in infoset.
    Sales order line item - SLI say
    Sales order condition - SC say.
    The value you see in your net value field depends on your join condition in the infoset.
    Currently you have join in such a way that 1 record in SLI correspods to 5 records in SLC (this is as per your join condition), hence you see this error. Youcan manupilate your join condition to get the required result, if this is viable.
    However, in most cases you may not be able to alleviate the fields defining the join.
    Say your sales order and item form the joining fields, then in sales order condition DSO you have 5 records for that sales order and item.
    The way you could probably avoid net value getting multiplied 5 times is by using exception aggregation  with reference char a characteristic in the query.
    The ref char should uniquely identify the 5 sales order item condition lines.
    (basic principle - we have to net value/ no of lines in Sales order condition DSO [5 in this case] .)
    The problem, however is, whenever you consider uniqueness defining fields, you would look at the keys of DSO, because they define uniqueness. One could have multiple infoobject when defining a DSO key.
    So you would'nt be able to define any record with only one particular infoobject(ref char), based on which you could define the  exception aggreation.
    You could define one more data field in the DSO which is a concatenation of all of its keys and then use it in exception aggreg as a reference char in the query.
    One more way is to load data from the two DSO to further cubes to achieve the requirement.
    I think, this is the limitation with the infoset.
    Please let me know if you find any other solution.
    Hope it helps,
    Regards,
    Sunmit.

  • Status of data in Bex query shows wrong date

    Dear Experts,
    The Bex qurey after sucessful execution, show the Status of data as old date i.e. feb 2012. but we observed that the data uplaod happens regularly and sucessful.
    we tried executing the same query using RSRT/Bex Analyzer/Portal. the results are same i.e. showing incorrect status of data.
    Note: The Bex query is built on BI Infoset which sources from DSOs and Master Data infoobjects, and  BI version is 7.0.
    Kindly please help for resolving the issue.
    Best Regards,
    Mannu.

    Hi Vijay,
    The data upload has happend today also and it is sucessful, the reporing status is available for requests from respective infoproviders.
    'Status of data' is not a filed. if it an information to tell the status of data in query result.
    Please find the following steps to find the 'status of data'
    go to RSRT->give the query name and execute-> now after query results-> go to last page-> you can find the 'status of data'.
    Best Regards,
    Mannu

  • Bex Query - Display Rows, even when no database record exists?

    Hi everybody,
    im creating a Query with Bex Query designer and have a requirement which i cant cope with atm, so i hope you can help me.
    I made a small screenshot with excel to explain how the query should be:
    [http://yfrog.com/ncqueryj]
    So, the requirement now is, even when for example there are no records for company A at all, the rows A-A1 to A-A4 should still be displayed in the query simply with no values.
    The Accounts are already in an row structure, but it isnt an option to take the company into the row structure, as this would mean we have to do several thousands selections for one query and there is more then one query to do, with each time different accounts, so the row structure wouldnt be reusable too.
    Do you know any way to achieve this without adding the company to the row structure?
    I hope my explanation was comprehensible, if you still have any question just ask.
    Thanks in advance
    Noody

    Hi Harry,
    thanks for the answer, it was already very helpful, but my problem still isnt completely solved because actually they dont want to get all companies that exists, but only certain companies which then should always be displayed, even without records.
    So for example they have company A, B, C and D, they always want to have A, B and C, even without values, but never D, even when D has values.
    The companies they want to see in the Query are in an Hierarchy which is selected through filter, so actually they dont want all existing companies from master data but all existing companies from an hierarchy.
    Regards
    Noody

  • BEx query needs to count unique characteristic values

    Is there any way to build a query using BEx query designer to count the number of unique values of a characteristic.  For instance, my cube has detailed transactions for claim information.  Each claim number can have multiple products.  My query need to show the number of claims that exist for each product.  I don't want the detail of the claim number, just how many claims exist.
    Product          Gross Paid Loss        Claim Count
    Total Auto                $ 43,865.01              ?
    Total Property  $ 4,068,321.57              ?
    Not assigned                19,426

    Hi,
    Creat calculated  keyfigure with data functions Count value and save with technical name.
    Right click on that go to propertes, select count with exception aggregation - Claim Number,
    also use after aggregation and decimal places '0'.
    Regards
    Malyadri

  • Email showing as 'from' another account.

    I have multiple emails accounts on my iPad.  When I send an email from my Personal account -- and I verify it's correct in the 'from' field  --- the email shows up as coming from my wife's email address (which used to be on my iPad, but I deleted it).  Have verified the email address is correct in Setup.  Can't seem to get around this. It works OK when I send from my Work email, just no personal.
    This has been going on before iOS5 upgrade.  Thanks!

    If you removed her account I don't think this should matter but Go to Settings>Mail, Contacts, Calendars and under - Mail - go down to Default Account. See what mail account is set. Tap on the arrow and in the next screen make sure that your email account is selected in there. See if that works.
    This setting is really for when you email a photos from the photos app or email a document from another app, but you can give it a try.
    You can also try a reset and quitting the mail app and restarting.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Close/Quit apps. Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus (-) sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • Query on results from another query

    Post Author: Duncan1980
    CA Forum: Crystal Reports
    Is it possible to query on the results from another query.  I have a query that produces a list of document numbers.  I want to use the output from that query as the filter criteria in a another query in the same Universe. 
    The output from the first query can be as much as 2000, so it would be very time consuming to cut and paste these into a filter.
    Both reports are built, but can not figure out how to link the first report output to the filtering criteria on the second report.  I
    I am using business objects XI release 2 web intelligence 11.5.3.417 enterprise.

    Hi Vivek,
    It was not directly solved but I applied alternate logic to over come the issue.
    Here's what I did to overcome:
    I used a sub query in place of the whole result from another query.
    For Ex:
    Dim1 inlist result from another query1
    I made it as
    Dim1 inlist (Dim0)
    where Conditions.
    Here Dim0 is the object which we use for Result from another query and Conditions will be the necessary filter conditions to arrive proper Dim0.  Make sure proper context is formed for the sub query.
    Even though it resolved my problem, It introduces an new issue. It causes increase in query run time when huge set of data is returned from sub query.
    Please let me know if i haven't explained clearly.
    Hi Aris_BO,
    Sorry for not responding earlier.  The logic would probably make more queries null & not null. Thats why I was not advised to use it.
    Thanks
    LN

  • Show messages from another component

    Hello,
    I have an application with several components, and I would like to know that I do to show messages from one component to another.
    Thank you

    Thank you for responding, the problem is that we show the messages in sigueinet way:
          CALL METHOD l_message_manager->report_t100_message
            EXPORTING
              msgid = ls_errores-id
              msgno = ls_errores-number
              msgty = ls_errores-type
              p1    = ls_errores-message_v1
              p2    = ls_errores-message_v2
              p3    = ls_errores-message_v3
              p4    = ls_errores-message_v4
              view  = 'ID_BODY'.
    The problem is that it shows us what the component in which we are, which is a POPUP, and we want to show in another component

  • BEx query with variant from ABAP

    Hello,
    I'm looking for possibility to start BEx query with variant (variant is created with tx RSRT) from ABAP. There are some funktion modules, which start queries (launch excel), for example RSAH_LAUNCH_EXCEL or RSSEM_QUERY_LAUNCH, but they are ending with short dump, when there are variables in the query. Is there any standard FM, which starts the query with variant or accepts parameters?
    regards,
    Krzysztof

    Hi,
    the short dump was my fault, I've passed query name instead of genuniid to the RSAH_LAUNCH_EXCEL.
    What I'm trying to do is to I'll start BEx query with parameters (I don't want to get selection-screen from the query, I need to fill it from ABAP).
    Here is my example, which is not working.
    DATA:
      lv_query(30) TYPE c,
      lv_genuniid  TYPE rsrrepdir-genuniid,
      ls_var       TYPE rrx_var,
      lt_var       TYPE TABLE OF rrx_var.
    lv_query = 'YB_MAKLER_DETAIL'.
    CALL FUNCTION 'CONVERSION_EXIT_GENID_INPUT'
      EXPORTING
        input  = lv_query
      IMPORTING
        output = lv_genuniid.
    IF lv_genuniid = ''.
      WRITE: / 'There is no Query', lv_query.
    ELSE.
      ls_var-vnam = 'YS_MKLE'.
      ls_var-sign = 'I'.
      ls_var-opt  = 'EQ'.
      ls_var-low  = '0000005100'.
      APPEND ls_var TO lt_var.
      ls_var-vnam = 'YS_VTGJ'.
      ls_var-sign = 'I'.
      ls_var-opt  = 'EQ'.
      ls_var-low  = '1999'.
      APPEND ls_var TO lt_var.
      CALL FUNCTION 'RSAH_LAUNCH_EXCEL'
        EXPORTING
          i_genuniid                       = lv_genuniid
          I_OBJVERS                        = 'A'
          i_hide_sapgui                    = 'X'
        TABLES
          I_T_VAR                          = lt_var.
    ENDIF.
    If parameter 'i_hide_sapgui' is empty, I'm getting empty selection-screen,
    If parameter 'i_hide_sapgui' equals 'X' I'm getting selection-screen filled with values, which were used last time manualy, not with values from the internal table 'lt_var'.
    Do you have any idea how to pass parameters to the query with this function module?
    Regards,
    Krzysztof

  • Update Query with Results From another Procedure

    I am not sure if you can do this or what the proper format of the command might look like.
    I have a stored procedure which insert records into a database. I want to insert the records which are returned by calling another procedure. This other procedure returns a cursor object to a variable named o_rows. Can this be done using Oracle 8i?
    Insert into MyTable
    MyStoredProcedure(oRows);

    You have a couple of options.
    1) You can turn your stored procedure into a pipelined table function. This would allow you to do something like
    INSERT INTO myTable
      SELECT *
        FROM TABLE( myStoredProcedure() );I don't believe that pipelined table functions were available in 8i, however.
    2) The other option would be to fetch rows from the cursor and insert those into your table. Something like
    LOOP
      FETCH oRows INTO col1, col2, col3, col4, ...
      INSERT INTO myTable( <<column list>> )
        VALUES( col1, col2, col3, col4 );Note that for simplicity I am omitting the declarations of the local variables col1, col2, etc. and the check to see whether the cursor was exhausted.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Add rows from another table

    Hi ,
    I have a table with 20 records and 10 columns.I want to add columns from another table with out cross join.

    As others have said, you need to have some sort of join condition otherwise it is a cross join.
    SQL> ed
    Wrote file afiedt.buf
      1  with T1 as (select 'e' as c1, 2 as c2 from dual union all
      2              select 'd', 3 from dual)
      3      ,T2 as (select 'x' as c3, 5 as c4 from dual union all
      4              select 'y', 6 from dual union all
      5              select 'z', 2 from dual)
      6  --
      7  select T2.c3, T2.c4, T1.c1, T1.c2
      8  FROM (select c1, c2, row_number() over (order by c1) as rn from T1) T1
      9       FULL OUTER JOIN
    10       (select c3, c4, row_number() over (order by c3) as rn from T2) T2
    11*      ON (T1.rn = T2.rn)
    SQL> /
    C         C4 C         C2
    x          5 d          3
    y          6 e          2
    z          2
    SQL>This example assigns a row number to each row within each table and then joins using that row number.
    (I've assumed the row number should be generated based on the order of the first column of each table, but you can change that as required).
    What is the point of your requirement?

  • Query with Tables from another Database

    Hi.
    I have a problem with a Query that executes a stored procedure that inserts data in a Table from another DataBase. The problem is when I try to execute a Query with the data related of that table using the user parameters of SBO ('[%0]'....'[%3]'). I use the following parameters for reference to the Table:
    "....FROM [-BDName-].[dbo].[-TableName-] T1..... "
    Any suggestions? Thanks a lot....
    (Suggestions in English or Spanish)

    None

  • Calendar shows entries from another day

    Hi. My wife has an issue with her Z10 calendar after the last OS upgrade (now using the last official SW version 10.2.0.424). Her Z10 is configured with one Gmail account (with 2 calendars in it) and with one Facebook calendar. If she looks in the calendar (f.e. month view) and when switching between the days to look at the entries overview in this days, the calendar stars suddenly to show in a day entries from another day. Its very annoying. She has to close the calendar, start it again, than its correct again. But after a moment it starts again to do the same problem. We tried to restore the factory settings and restore the backup, but it didnt help. Do you have the same problem or do you know how to solve this issue, please?

    RobertP wrote:
    Hi. My wife has an issue with her Z10 calendar after the last OS upgrade (now using the last official SW version 10.2.0.424). Her Z10 is configured with one Gmail account (with 2 calendars in it) and with one Facebook calendar. If she looks in the calendar (f.e. month view) and when switching between the days to look at the entries overview in this days, the calendar stars suddenly to show in a day entries from another day. Its very annoying. She has to close the calendar, start it again, than its correct again. But after a moment it starts again to do the same problem. We tried to restore the factory settings and restore the backup, but it didnt help. Do you have the same problem or do you know how to solve this issue, please?
    I would to do the factory reset, but before restoring the backup, try the calendar(s) to see if the behaviour still there. It maybe some corruption in the setting that is the cause, and when you restored the settings it may have restores the corrupt one as well.
    Using the Playbook and the Z10 and the Z30 and loving them
    Martin

Maybe you are looking for

  • I do not see print dialog when I click File Print and thus cannot select a different printer from previous printing.

    When I click File Print, no dialog appears. Instead, printing starts immediately so, I don't get to select a printer. At some point in the distant past (with a previous version of Firefox, maybe), the dialog must have appeared I must have chosen the

  • Convert an Object into a String

    Good day to everyone. I am trying to do a little coding in which a user will input his desired username. I want to check the database if the desired username of the current user is existing, so there'll be no duplication. I'm using JPA for the model

  • @me -  Accounts for the family

    Hello All Can I get my whole family an @me account? I have always used gmail for my family of 5, but would like to switch to @me. I notticed I already have one, I gues due to my itunes account. Also we all share one itunes account, so will this be a

  • In which field of cluster table payload is stored

    hi which field of the cluster tables (SXMSCLUP,SXMSCLUR) and master table(SXMSPMAST) contains the xml message(payload)? what are the classes used by SXMB_MONI to get the xml messsages?are these java classee?please let me know the classes. thanks&rega

  • Row break + column header Question

    I've got two question i can't find out by myself. Question 1: I use a row break on the first column of my report. That workd correctly. But how do i get a line or a empety row after the break? I prefer a line... Question 2: I want to have an extra he