Top 3 customers group by product in OBIEE

Hi,
Can somebody assist me how can I display a report in oracle Bi answers consisting of three columns called Product, Customer and Revenue. In the report, I need to display Top 3 customers group by Product. How can I use the "group by" function in oracle BI? Please assist me.
Thanks,
Bk.

to get the top3 customers you have a specific function topN in oracle answers.
if you say you want to group by only product remove the customer column from answers and SUM Revenue....i assume revenue is summed in rpd.
-bifacts
http://www.obinotes.com
Edited by: bifacts on Oct 19, 2010 7:03 AM

Similar Messages

  • FR financial reporting - top 10 products for top 10 customers

    We are trying to do top 10 based on two dimensions - for example customers and product. First get top 10 customers and then get top 10 products for each of those customers. We have tried the top 10 feature and also ranking, but we always get the combination - top 10 customer/product combinations ratrher than the two-step approach.
    Any ideas how to do this with Financial Reporting?
    This is an Essbase ASO application.
    Thanks much

    Hi,
    Try this:
    SELECT top 10 (T1.[Volume]), T0.[DocNum], T0.[CardCode], T0.[CardName], T1.[ItemCode], T1.[Dscription], sum(T1.[LineTotal]) FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.[DocDate]  between [%0] and [%1] GROUP BY T0.[DocNum], T0.[CardCode], T0.[CardName], T1.[ItemCode], T1.[Dscription],T1.[Volume]
    Thanks & Regards,
    Nagarajan

  • Grouping of Top 10 Customers by Sales and Total Sales

    Hi Guys...
    I need to design a report where I need to include both "Top 10 Customers based on Sales" and "Total Sales for remaining customers".
    Can you guys help me with a solution.
    Thanks,
    Regards,
    G

    Hi,
    You can implement this in BEx using concept of virtual characteristics and BADI which will be a little bit complex. Its better go for WAD.
    Hope it helps.
    Regards,
    Prakash

  • CRM Target Groups and Product Segments - BW and BPS settings

    Hi gurus,
    I have some questions regarding the CRM Target Groups and Product Segments as it relates to BW and BPS planning layouts.
    1. When a target group is created in CRM, is it supposed to also be create master data entry for the object 0TGGRP_ID in BW? If it is, what kind of settings need to be made to ensure that? When we create target groups in our CRM instance, we donu2019t see the master data being updated for the  0TGGRP_ID info object.
    2. Where exactly (in BW) is the relationship between the target group and the underlying customer/business partners  stored/updated? We have a requirement to use target groups for defining the trade promotions and still being able to explode and plan on (individual) customers in the embedded BPS Planning layout. I believe that we need to have target group and associated customer assignments stored somewhere (?) in BW and use BPS characteristic relationships to populate all the possible combinations for a target group ID being passed from CRM. Am I correct in my assumptions? Any ideas if SAP has already delivered something similar in the BPS business content for TPM? 
    3. We are planning to use product segments to define the trade promotions as well. I believe BW info object is 0CP_SEGMENT. Similar to what I mentioned in Question 1, I donu2019t see any master data being updated for 0CP_SEGMENT. Am I looking at a wrong BW object or missing some key settings?    
    4. Where is the relationship between a Product Segment and the associated products stored/updated in BW?  How do I create a trade promotion using a product segment and make the BPS planning layout populate individual products in the lead column?
    Thank you for your help

    Hi Anna,
    After reading your post, what i understand is that there is no existing relationship present in CRM system between the Org BP and the contact person BP.
    As per my Knowledge in order to create a Target group with Contact Persons you should have an active relationship persent in the CRM system bewteen the BP and the Contact person.Now as your sceanrio suggests that the Contact person's are present in the BW system but not in CRM, i would assume that the relationship also exsits in the BW . So if it does then your BW team should be able to help you in creating the necessary infocube with there analytical tools and you can then use there cube as the datasource and create the necessary Target Group with Contact persons.
    Comming to the second part of your question, your guess is absolutely right but to give you more detailed infomation , the BP ID is converted in a unique GUID and this is passed into the program to retrive the necessary information from the BP after the campaign is executed.
    Hope this helps!!
    Regards,
    Naveen

  • SQL query  to sorting top 20 customers

    I want to query my Oracle 9i DB to get a listing of the TOP 20 customers based on invoiceamount. I further want to group by cutomertype and region
    Is the following query correct ?
    select distinct branch, region , partyname, customertype , qnty , invoiceamount from detailed_sales where rownum < 20
    order by invoiceamount desc
    Thanks for help ..

    you can use analytical functions
    select distinct branch, region , partyname,
    customertype , qnty , invoiceamount,rn from (select
    distinct branch, region , partyname, customertype ,
    qnty , invoiceamount ,dense_rank()over(order by
    invoiceamount desc) rn detailed_sales) where rn <= 20;Thanks for the reply .. This query is giving a error
    ORA-00923: FROM keyword not found where expected

  • Does anyone else think that the AppleMac group of products are marketed in a greedy way? I have MacBook Pro 10.5.8 and am now told that I have to upgrade to Snow Leopard to sync my new iPad. Of course there isn't enough memory on the MacBook? I'm angry!

    Does anyone else think that the AppleMac group of products are marketed in a greedy way? I have MacBook Pro 10.5.8 with Leopard and am now told that I have to upgrade to Snow Leopard so that my system can download the relevant iTunes upgrade to sync my new iPad and get my audiobooks (which don't appear anywhere on the device right now). Of course there isn't enough memory on the MacBook and Snow Leopard costs more also? I don't have financial resources to pay for all the new memory requirement and related upgrades they say I need just to sync my iPad with my purchases.

    Thanks for the reply but I already knew this. $20 for Snow Leopard which asks for 5gb free memory. I can only see that I have 4 gb (which I feel is rather a pathetic amount of available memory for any computer). To upgrade this computer's memory will cost another fee (I haven't researched this yet but gather it's more than $20). Then of course I could also be told that the OSX Mackbook Pro that I have can't be memory upgraded - which means I'm being told to buy a new computer - hence my very frustrated last email. I have been given a lovely iPad 2 as a present and now can't sync at all with anything because of this ongoing upgrade nightmare. How on earth am I going to be able to sync my movies, audiobooks etc to this new device??

  • Grouping of Products in Listing

    Hi Guys
    Plz help me on how can grouping of Products can be done in listing?
    e.g : Say, i have 10 products like
    1) Toothpate
    2) Toilet Cleaner
    3) Toilet Brush
    4) Tooth Brush
    5) Hand Wash
    6) Soap
    7) Talcum Powder
    8) Lipstick
    9) Nail Polish
    10) Mouth Freshner
    So i want similar types of Products should fall at same time as in listing it will be difficult to search the particular product.
    e.g : i want listing to look like as follows :
    A)Oral Care
    1) Tooth Brush
    2) Toothpaste
    3) Mouth Freshner
    B) Beauty
    4) Nail Polish
    5) Talcum Powder
    6) Lipstick
    C) Sanitary
      7) Soap
      8) Hand Wash
      9) Toilet Cleaner
    10) Toilet Brush
    So Can it be done? If Yes, How ??

    You can creates TAG's and based the TAG's on product category / category hierarchy (cf material master record in CRM)

  • Top 10% customers in bex

    Hi experts,
    I have been working  on a condition to get top 10% customers by sales. I am getting not the top 10% customers but customers which account for the 10% of the sales. I hope I am making sense.
    The rows contain bill-to Party and column has sales amount. I have used All characteristics in Drilldown independent in Conditions. Tried single characteristic setting but didnt make a difference.

    Dear Bhanu
    Can you please look in to
    Reg: Exception  - Price Trend Report
    I am working long time, but could not solve.
    I will assign you points.
    Regards
    Raju Saravanan

  • Top 5 customers and others

    how to implement a chart that shows the top 5 customers in a pie chart and then have a special slice that accumulates all the remaining customers.

    I tried this one also.
    But i need to do it in interactive mode via using sql.
    Please help me if you know about this..
    https://blogs.oracle.com/xmlpublisher/entry/charts_with_top_5_rest_of_worl_1

  • Invoiced Quantity grouped by Product Hierarchy

    Hello,
    I am trying to create an Evaluation (tCode MC11) which will report on Invoiced Quantity grouped by Product Hierarchy. I created an evaluation referencing an evaluation structure which references two other eval. structures: one - for data tables VBRP and the  second for info. struct.S004. One of the characteristics is Product Hierarchy. The problem is, that when I execute the evaluation -  I only get 4th level of product hierarchy, but I need to see all four, starting with the first one.
    (I would like it to look like this:
    level 1
         level 2
              level 3
                    level 4
    Thank you in advance for your help,
    Olga

    Antony ,
    there will be maintenance involved every time you add a material to the material master. However you could maintain the hierarchy through a GUI also depending on the number of values.
    Ideally if this can be maintained in a table in the source system , it can be imported into BW. Otherwise if you were to maintain it in BW , you will have a lot of problems when :
    1. Change in the hierarchy - A new Product Line coming in and many product category onwards change over to the new product line.
    2. Viewing the changed hierarchy over time - If you have GM and a separate category called Daewoo , earlier they were separate and now they are one - what are my product sales due to the merged entity vis-a-vis separate entities earlier...
    Things that you will need to consider from a design stand popint are :
    1. Should the hierarchy be time dependent ?
    2. Should it be maintained in the source system or in BW?
    3. Change process for the same - Flat file / Manual
    4. Estimate of how frequent the hierarchy would change?
    5. Will you have display hierarchies - Ad-Hoc hierarchies to view certain combinations?
    Depending on the above your hierarchy creation can go from easy to complex and hard to maintain.
    One way to amintain it is to have a SAP ABAP program to populate a hierarchy table to have the relations in R/3 and transfer them into BW. You could automate it in such a way that the hierarchy is changed every time there is a new material
    Otherwise , there can be a flat file to create the relationships
    Or someone could log a request and if the change is minimal it couldbe done thru a GUI Interface provided by BW.
    Arun
    Assiging  points is a way of saying thank you in SDN

  • How to create a matchcode for the list of Customers "Group key" KNA1-KONZS

    Hi All,
    with reference to the creation of "Group key" KNA1-KONZS for Customers,
    I'd like to know if is possible to create a matchcode for the list of Customers "Group key" created.
    Thanks
    Gandalf

    Hi
    MAINTAIN THE GROUP KEY IN GENERAL DATA ---CONTROL DATA SCREEN
    If the customer or the vendor belongs to a group, you can enter a group
    key here. The group key is freely assignable.
    If you create a matchcode using this group key, group evaluations are
    possible.
    KNA1-KONZS
    Cya
    udayakumar

  • Profit and loss of the sales of my top 100 customers

    Hi,
    I would like to have a query in SAP BW which delivers me the following information:
    the profit and loss of the sales of my top 100 customers (customers with the highest sales per month). So basically I would like to compare the sales from these customers of the current month to the previous month.
    Thank you for any help!

    hi,
    u can compare values by creating restricted 2 RKFs.
    RKF1  : selling price is restricted by 0CALMONTH.create a variable on 0CALMONTH(single value,mandatory,ready for input...etc).
    right click on structure--->new selection...drag and drop selling value and 0CALMONTH.
    RKF2 :selling price is restricted by 0CALMONTH.use the same variable which u created and set Offset value '-1'.
    so it will give u sales price for previous month(if u ente current month in selection screen)...
    take customer in rows and these RKFs in columns(in  structure).
    later use condition to display top 100 customers..
    hope this helps..
    pl dont foget to assign points to helpful answers....thats the way to say thanks here.
    regards

  • Report with Top 5 Customers per year for last 5 years (total  25 records)

    Hello
    Can anyone help?
    How to display top 5 customers per year for last 5 years in a report
    E.g.
    Year Customer name Revenue
    2009 A1 5000
    A2 4000
    A3 3000
    A4 2000
    A5 1500
    2008 B1 3000
    B2 1200
    B3 800
    Regards,
    SMA

    Hi
    see this...
    http://oraclebi.soundvoid.net/2008/09/using-the-top-n-filter/
    And close your all threads if they answered...

  • ALV REPORT FOR TOP 10 CUSTOMERS

    hI,
    sap guys
    I need a help on alv. iam getting alv report. now i need to get TOP 10 customers in my report.
    My report having selling price , cost price , GP , GP% .
    Final internal table iam sorting based on Selling price. But how to Get the  Top 10 customers in my report.
    Plz help me..

    hi
    good day brother
    Before youve given the solution for top 20 cust as well as subtot.. iam getting a prob for one branch for subtot.
    Plz see the code..
    Ive dev the smart form for top 20 customers by Branch wise.. I have 17 branches in final itab.
    Every thing is fine except one branch for the Subtot.
    For getting  Subtot as well as Getting the top 20 cust.. the below code ive used.
    First branch like lt_br_out2 got 503 records
    lt_br_out3 == 213
    lt_br_out4 == 0
    lt_br_out5== 82
    lt_br_out6  ==89
    lt_br_out7 ==118
    lt_br_out8 == 45
    lt_br_out9 == 64
    lt_br_out10 == 53
    lt_br_out11 == 47
    lt_br_out12 == 56
    lt_br_out13 == 20 *************** "Problem with this internal table.
    lt_br_out14 ==170
    Problem: All Branches are getting subtotal and top 20 cust except " LT_BR_OUT13"...Before its going to cal the top 20 cust. its has only 20 records.
    Actually iam counting the top 20 cust as well as cal subtot and passing to Final Internal Table..
      SORT lt_br_out13  BY p1_a_p DESCENDING.
      CLEAR : lwa_out6.
      LOOP AT lt_br_out13 INTO lwa_out6.
        IF sy-tabix > 20.
          CLEAR: lwa_out6.
    ***adding the subtot
          lwa_out6-ort01 = lv_text.
          lwa_out6-p1_a_p = lv_brtot.
          lwa_out6-p2_a_p = lv_brtot1.
          lwa_out6-act_gross_p = lv_br.
          lwa_out6-act_gross_perc1 = lv_brperc1.
          APPEND  lwa_out6 TO lt_br_final.
          EXIT.
        ELSE.
    ***calc the sub tot
          lv_text    = 'Sub Total'.
          lv_brtot   = lv_brtot  + lwa_out6-p1_a_p.  " selling price
          lv_brtot1  = lv_brtot1 + lwa_out6-p2_a_p. " Cost price
          lv_br      = lv_brtot - lv_brtot1.
          lv_brperc   = ( lv_br / lv_brtot ) * 100.
          IF lv_brperc NE  0.
            WRITE lv_brperc TO lv_brperc1 LEFT-JUSTIFIED.
            CONCATENATE lv_brperc1 '%' INTO lv_brperc1 SEPARATED BY space.
          ENDIF.
          APPEND lwa_out6 TO lt_br_final.
        ENDIF.
      ENDLOOP.
    If i put sy-tabix >= 20, thne iam getting subtotal but iam getting only 19 records.
    Could u plz advice me.. Ive solved yesterday problem
    Regards

  • MS-SQL - Like search form from a group of products.

    SELECT P.ID AS ProductID, P.Name, P.Price, P.ProdID,
    P.ShipCost,
    P.ClearSale, P.SalePrice, G.gid, G.pid AS Gpid, G.ord,
    PC.cid, PC.gid AS
    PCgid
    FROM atblProducts P INNER JOIN Groups G ON P.ID = G.pid INNER
    JOIN PCat
    PC ON G.gid = PC.gid
    WHERE (P.price IS NOT NULL AND PC.cid = 51 OR PC.cid = 52 OR
    PC.cid = 53
    OR PC.cid = 54) OR P.Name LIKE '%MMColParam3%' OR P.ID LIKE
    '%MMColParam3%'
    ORDER BY P.ProductID
    WHERE P.Price IS NOT NULL AND PC.cid = 51 OR PC.cid = 52 OR
    PC.cid = 53
    OR PC.cid = 54
    This gives me the group of products that I need but as soon
    as I add the
    '%MMColParam3%' bit to see the items searched on, it fails.
    What I am doing is pulling in the '%MMColParam3%' using a
    form to check the
    product name, and the description out of a group of 4
    categories: 51, 52,
    53, 54. I can get the 4 categories to display but as soon as
    I add the OR
    P.Name LIKE '%MMColParam3%' OR P.ID LIKE '%MMColParam3%'
    bit, it fails.

    hi
    I don't think that building a search page on a read-only View Object should be a problem.
    Maybe these screencasts by Steve Muench about creating simple search pages with ADF Business Components and ADF Faces (JSF) could help.
    - Part 1: Web-Style Search Form
    - Part 2: Oracle Forms-Style EnterQuery/ExecuteQuery Mode Page
    - Part 3: Search Form Using View Object with Named Bind Parameters
    success
    Jan Vervecken

Maybe you are looking for

  • Applications no longer work with mavericks

    After downloading Mavericks, 1. Applications no longer work, Dreamweaver, Photoshop, microsoft Office, Illustrator, and more 2. Multiple displays no longer work 3. Tried restoriing, but would not let me. What is the fix to this... Anyone know?

  • How do you change your rescue email if you have forgotten your security questions?

    I've had my IPad for about 2 years now and I have bought a lot of apps since but all of a sudden it asks me to answer my security questions whenever i try to buy an app! I click the link to the apple Id page and it says resend security information to

  • Partitioning an Existing Table using DBMS_REDEFINITION with no primary key?

    HI, Is it possible to partiiton a table with dbms_redefination if the table contains no primary key? DB version 10.2 Thank you All..

  • Problem deleting Content Areas

    Hi! i have just encountered the following error while deleting a content area An unexpected error has occurred (WWS-32100) ORA-6502: ORA-06502: PL/SQL: numeric or value error (WWC-36000 Thing to mention is... before that when i tried to delete anothe

  • Anyone using Disclabel V3.0.2 with an Epson R800?

    I've spent all night trying to get Disclabel to print directly on a CD/DVD, with no luck. I keep getting an error message that the print media is missing or improperly loaded. Same printer works fine on a Windows machine using Surething, Epson Print