Dimension only query to show manager and employees in one row

Hi Gurus,
I am creating a dimension only report. This report will show managers and their direct reportees. Since one manager can have several employees working under him, I am getting one row in the report for each employee. But our end users want employees to appear as comma seperated value for the manager. Thus each manager will have one and only one record in the report
Current
======
Manager Employee
M1     E1
M1     E2
M1     E3
Expected
=======
Manager Employee
M1     E1, E2, E3
Env : OBIEE 10.1.3.4 & Oracle 10.2.0.3.0
Thanks for your help in advance

Google ask Tom for string aggregation - there is a listagg equivalent available there, create on your DB then follow the same principal as the listagg / evaluate example.
regards,
Robert.

Similar Messages

  • Dimension-only query

    There is some strange behaviour of OBI EE when I run a dimension-only query.
    I have two dimensions: dimension A and dimension B.
    Dimension A and dimension B are both related to fact table X.
    Dimension B is also related to fact table Y, dimension A isn't.
    When I run a dimension-only query with only columns of both dimension A and B, I want OBI EE to use fact table X for this dimension-only query.
    But for some reason OBI EE chooses fact table Y (as the most economical source?) and it returns an error message stating that dimension A is not correctly related to fact table Y. (Which is correct..)
    I know I can use an implicit fact column to solve this, but this is not the desired solution. I want to know why OBI EE uses fact table Y instead of fact table X and I would like to know how I can influence this behaviour.
    Anyone?
    Thanks!
    Stijn

    Pravin,
    thanks for your answer. Tables X and Y are not two logical table sources of the same logical fact table. X and Y are two separate logical fact tables, having their own logical table sources.
    Table X has only 2 foreign keys, one for dimension table A and one for dimension table B.
    Table Y has 6 foreign keys, and one of them is linked to dimension table B.
    Regards,
    Stijn

  • Ok so i dowloaded the pdf editor and only amall screen shows up and i log in but it doesnt let me do anything other that stare at it ... how can i edit a pdf?

    ok so i dowloaded the pdf editor and only amall screen shows up and i log in but it doesnt let me do anything other that stare at it ... how can i edit a pdf?

    Word processor like "editing" is not tolerated by PDF (the file format/technology discussed and described by the ISO Standard for PDF, ISO 32000-1).  Minor touchups are tolerated. The textual characters have to be renderable text (a scanner's output image of text is a picture of text not "real" text).
    Open the PDF with Acrobat XI.
    Click-path:
    Tools - Content Editing - Edit Text & Images
    Be well...

  • Hi when i run this query its showing an error ORA_22905 cannot access rows

    hi when i run this query its showing an error ORA_22905 cannot access rows from an non nested table item can anyone help me out
    SELECT
    DISTINCT SERVICE_TBL.SERVICE_ID , SERVICE_TBL.CON_TYPE, SERVICE_TBL.S_DESC || '(' || SERVICE_TBL.CON_TYPE || ')' AS SERVICE_DESC ,SERVICE_TBL.CON_STAT
    FROM
    TABLE(:B1 )SERVICE_TBL
    WHERE
    CON_NUM = :B2
    thanks & regards

    Note the name of this forum is SQL Developer *(Not for general SQL/PLSQL questions)* (so for issues with the SQL Developer tool). Please post these questions under the dedicated SQL And PL/SQL forum.
    Regards,
    K.

  • SAP SQL: Show Invoices and Credits in one table

    Hi,
    iam searching for a query wich show invoces and credits as negative amount. How is that realisable?
    Example:
    Customer
    ZIPCODE
    ITEMCODE
    DESCRIPTION
    SHIP
    Price after discount
    total price
    freetext
    quantity
    Example 1
    45449
    5464
    something 1
    01.01.2015
    20
    40
    text
    2
    Example 2
    654564
    65465
    something special
    15.02.2015
    -10
    -20
    text
    2
    SELECT T0.[CardName], T3.[ZipCode], T1.[ItemCode], T1.[Dscription], T1.[ShipDate], T1.[Price], (T1.[Price] * T1.[Quantity]), T1.[FreeTxt], T1.[Quantity] FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode INNER JOIN CRD1 T3 ON T2.CardCode = T3.CardCode WHERE CONVERT(nvarchar(8), T1.ShipDate, 112) BETWEEN '[%FromDate]' AND '[%ToDate]' GROUP BY T0.[DocNum], T0.[CardName], T3.[ZipCode], T1.[ItemCode], T1.[Dscription], T1.[ShipDate], T1.[Price], T1.[FreeTxt], T1.[Quantity]
    ??UNION ALL?? AND?  MINUS - ???
    SELECT T0.[CardName], T3.[ZipCode], T1.[ItemCode], T1.[Dscription], T1.[ShipDate], T1.[Price], (T1.[Price] * T1.[Quantity]), T1.[FreeTxt], T1.[Quantity] FROM ORIN T0  INNER JOIN RIN1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode INNER JOIN CRD1 T3 ON T2.CardCode = T3.CardCode WHERE CONVERT(nvarchar(8), T1.ShipDate, 112) BETWEEN '[%FromDate]' AND '[%ToDate]' GROUP BY  T0.[DocNum], T0.[CardName], T3.[ZipCode], T1.[ItemCode], T1.[Dscription], T1.[ShipDate], T1.[Price], T1.[FreeTxt], T1.[Quantity]
    Who can help??

    Hi,
    Try this query:
    SELECT T0.[CardName], T3.[ZipCode], T1.[ItemCode], T1.[Dscription], T1.[ShipDate], T1.[Price], (T1.[Price] * T1.[Quantity]), T1.[FreeTxt], T1.[Quantity] FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode INNER JOIN CRD1 T3 ON T2.CardCode = T3.CardCode WHERE CONVERT(nvarchar(8), T1.ShipDate, 112) BETWEEN '[%FromDate]' AND '[%ToDate]' GROUP BY T0.[DocNum], T0.[CardName], T3.[ZipCode], T1.[ItemCode], T1.[Dscription], T1.[ShipDate], T1.[Price], T1.[FreeTxt], T1.[Quantity]
    UNION ALL
    SELECT T0.[CardName], T3.[ZipCode], T1.[ItemCode], T1.[Dscription], T1.[ShipDate], T1.[Price], -(T1.[Price] * T1.[Quantity]), T1.[FreeTxt], -T1.[Quantity] FROM ORIN T0  INNER JOIN RIN1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode INNER JOIN CRD1 T3 ON T2.CardCode = T3.CardCode WHERE CONVERT(nvarchar(8), T1.ShipDate, 112) BETWEEN '[%FromDate]' AND '[%ToDate]' GROUP BY  T0.[DocNum], T0.[CardName], T3.[ZipCode], T1.[ItemCode], T1.[Dscription], T1.[ShipDate], T1.[Price], T1.[FreeTxt], T1.[Quantity]
    Thanks & Regards,
    Nagarajan

  • The speaker is used when im using my phone in speaker phone mode or listen to music.This speaker is only the right  side hole  and the left one is mic

    The speaker is used when iam using my phone in speaker phone mode or listen to music.This speaker is only the right side hole and the left one is micophone?

    Correct. As indicated in response to your duplicate post.
    Stedman

  • Select Single * and Select upto one row

    Hi all,
    Can anybody tell me what is difference between Select single * and select upto one row?
    And which one is better?
    Thanks in advance.......

    According to SAP Performance course the SELECT UP TO 1 ROWS is faster than SELECT SINGLE because you are not using all the primary key fields.
    select single is a construct designed to read database records with primary key. In the absence of the primary key, it might end up doing a sequential search, whereas the select up to 1 rows may assume that there is no primary key supplied and will try to find most suitable index.
    The best way to find out is through sql trace or runtime analysis.
    Use "select up to 1 rows" only if you are sure that all the records returned will have the same value for the field(s) you are interested in. If not, you will be reading only the first record which matches the criteria, but may be the second or the third record has the value you are looking for.
    The System test result showed that the variant Single * takes less time than Up to 1 rows as there is an additional level for COUNT STOP KEY for SELECT ENDSELECT UP TO 1 ROWS.
    The 'SELECT SINGLE' statement selects the first row in the database that it finds that fulfils the 'WHERE' clause If this results in multiple records then only the first one will be returned and therefore may not be unique.
    Mainly: to read data from
    The 'SELECT .... UP TO 1 ROWS' statement is subtly different. The database selects all of the relevant records that are defined by the WHERE clause, applies any aggregate, ordering or grouping functions to them and then returns the first record of the result set.
    Mainly: to check if entries exist.
    Select Single is the best one compared to UPto one rows.
    Select Single will get the first record from the table which satisfies the given condition.So it will interact once with the database.
    UTO 1 rows will get the list of the records for the given match and iwll show the first record from the list.So it will take time to get the record.
    SELECT SINGLE VBELN from VBAK
    where MATNR = '1M20'.
    ---Thjis will get the first matched record and will display the record
    SELECT VBELN from VBAK
    where MATNR = '1M20' upto 1 rows.
    ---Thjis will get the list of matched records and will display the first record
    The Major difference between Select Single and Select UPTO 1 rows is The Usage Of Buffer for each.
    Select Single will search for all the satisfied data and bring all that data into Buffer and later it will give to that data to the program.
    Select UPTO 1 Rows will end the search after getting the 1st satisfied record and gives that record to the program.
    Thus Select Single will take much processing time when compare with Select UPTO 1 rows.
    Also
    check these threads..
    Difference between Select Single and Selct upto 1 row
    Difference between Select Single and Select upto 1 row
    Difference between select single and select upto one row
    Difference between 'select single *' and 'select upto 1 rows'
    difference between select single and select up to 1 rows
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • Diff bw select single *  and select upto one row

    hai,
        what is the difference  between select single *  and select upto one row.

    hi,
    ex code
    Report Z_Difference
    Message-id 38
    Line-Size 80
    Line-Count 0
    No Standard Page Heading.
    Start-Of-Selection.
    Data: w_Single type Posnr,
    t_Rows type standard table of Posnr
    initial size 0
    with header line.
    Select single Posnr
    from zDifference
    into w_Single.
    Select Posnr
    into table t_Rows
    from zDifference
    up to 1 rows
    order by Posnr descending.
    Write :/ 'Select single:', w_Single.
    Skip 1.
    Write :/ 'Up to 1 rows :'.
    Loop at t_Rows.
    Write t_Rows.
    EndLoop.
    According to SAP Performance course the SELECT UP TO 1 ROWS is faster than SELECT SINGLE because you are not
    using all the primary key fields.
    select single is a construct designed to read database records with primary key. In the absence of the primary key,
    it might end up doing a sequential search, whereas the select up to 1 rows may assume that there is no primary key
    supplied and will try to find most suitable index.
    The best way to find out is through sql trace or runtime analysis.
    Use "select up to 1 rows" only if you are sure that all the records returned will have the same value for the field(s)
    you are interested in. If not, you will be reading only the first record which matches the criteria, but may be the
    second or the third record has the value you are looking for.
    The System test result showed that the variant Single * takes less time than Up to 1 rows as there is an additional
    level for COUNT STOP KEY for SELECT ENDSELECT UP TO 1 ROWS.
    The 'SELECT SINGLE' statement selects the first row in the database that it finds that fulfils the 'WHERE' clause
    If this results in multiple records then only the first one will be returned and therefore may not be unique.
    Mainly: to read data from
    The 'SELECT .... UP TO 1 ROWS' statement is subtly different. The database selects all of the relevant records that
    are defined by the WHERE clause, applies any aggregate, ordering or grouping functions to them and then returns
    the first record of the result set.
    Mainly: to check if entries exist.
    You can refer to the below link..
    http://www.sap-img.com/abap/difference-between-select-single-and-select-upto-one-rows.htm
    rgds
    anver
    if hlped pls mark points

  • How to Plot number and string in one row (data logger counter) ?

    hi all i made data log quantity using Digital Counter via modbus to monitoring quantity and reject that has and Name Operator, Machine and Part Number.
    i have problem about plot the number & string in one row, as shown on the picture below :
    how to move that string on one row ? i attach my vi.
    Thanks~
    Attachments:
    MODBUS LIB Counter.vi ‏39 KB

    Duplicate and answered - http://forums.ni.com/t5/LabVIEW/How-to-Plot-number-and-string-in-one-row-data-logger-counter-via/m-p...

  • Query to show BP and discount groups where appropriate

    Hi Experts,
    I need some help in setting up a query to show me whether or not a BP has anything in special prices for business partners.
    Essentilly I just need to report the BP Code, BP Name and Y or N as to whether they have item codes in special prices for BPs.
    Thanks
    Jon

    Hi Jon,
    Try this one:
    SELECT T0.CardCode, T0.CardName, Case WHEN (T0.CardCode NOT IN (SELECT T1.CardCode FROM OSPP T1)) THEN 'N' ELSE 'Y' END AS 'Y/N'
    FROM dbo.OCRD T0
    Thanks,
    Gordon

  • Web Service to Query with 21 Columns and up to 1000 Rows

    Hi Experts,
    I have a web service to a query that returns a table of 21 Columns and up to 1000 Rows.
    I would like to display this data in an UI element such List view / Spreadsheet table.
    When I am doing so, I have the following issues:
    1. With the Spreadsheet table I can't set the header of the columns to the name of the column in the query.
    2. with both elements I would like to have a paging capability which I am not sure if is even possible.
    3. With both elements I am not able to set the width of each column as I need, and also not able to define the correct formating (date / string....)
    Is it possible to have what I am looking for with these elements? Or there are other UI elements for it?
    Thanks in advanced,
    DoronS

    Hi Charles,
    Actually, I am using Xcelsius as you said, and wanted to use it also as I mentioned since in the Web Intelligence I could not find the way to have a good filtering mechanism.
    Meaning, there is an option to add filters based on the fields that are in the query. But you can only choose one value per filter filed. If I want filter the data with more than one value it is impossible. Furthermore, there is no way to use free text filtering.
    Do you know in what BO Tool I will be able to provide such filtering capabilities?
    DoronS

  • How to show English and Arabic in one JTextPane

    Hi,
    Does anyone know how to display English and Arabic in one JTextPane? For English the orientation is left to right while it's right to left for Arabic. So the result might be like:
    hello                    
                &#1587;&#1575;&#1604;&#1578;&#1603; &#1604;&#1610;&#1578;&#1605; &#1575;&#1604;&#1585;&#1583; 
    bye                                             Thanks!
    Alex
    Edited by: alex_46 on Aug 31, 2009 7:54 AM
    Edited by: alex_46 on Aug 31, 2009 7:56 AM

    I think you should be able to do it like this (very psuedo):
    set the pane type to html,
    for your text, have a String with something like:
    <html>
    <div align="left">english</div>
    <div align="right">arabic</div>
    </html>I don't know the exact html for this but something like the above.
    Then set the whole string into your pane.
    patumaire

  • How can i create my BC featured product list in to a slide show for multiple products in one row. i have products aligned in a row i just would like to make it a slide show of the multiple (20) products.

    i have products aligned in a row already using custom css.i just would like to make it a slide show of the multiple (20) products in the one row.
    i am using the featured product module from the development section of business catalyst. i would love to display as many new products as possible in one row of products. so i can just click a arrow left button and scroll through the products.
    holy-shippers.businesscatalyst.com is the site i am mentioning.

    Hello,
    Aside from any custom implementations that may be suggested by any other members, you could also consider using some hero-type slider like those found on our new responsive templates, and have each web-app item contain a product.
    Kind Regards,
    Alex Pavelescu

  • How to Plot number and string in one row (data logger counter via MODBUS) ?

    hi all i made data log quantity using Digital Counter via modbus (RS-485) to monitoring quantity and reject that has and Name Operator, Machine and Part Number.
    i have problem about plot the number & string in one row, as shown on the picture below :
    how to move that string on one row ? i attach my vi.
    Thanks~
    Solved!
    Go to Solution.
    Attachments:
    MODBUS LIB Counter.vi ‏39 KB

    Hi rhiesnand,
    right now you add 2 new rows to your array.
    The solution is to concatenate both row parts to one bigger 1D array before adding that array as new row to your 2D array!
    Like this:
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Query on Bounce Management and tracking the return Mails

    Hi Group,
    I have a requirement to track the mails ( for Bounced Back mails, Soft bounce, Hard Bounce, and Emails read by the receipient ).
    I got a table( SOOD ) to get all the Incoming mails from the mail reciepients but, not able to proceed further on this.
    I checked for some info to track the kind of mail ( Hard/Soft/Read reciept etc., ) after running the Report "RSBCSIN", but could not get any clue to proceed further on this.
    Could you please let me know how to proceed on this?
    Thanks in advance.
    Regards,
    Vishnu.

    Hi Group,
    Any ideas over the previous postings?
    Please do let me know if you have any idea.
    Thanks in advance.
    Regards,
    Vishnu.

Maybe you are looking for