Top N Customers
Hi Gurus,
How find topN Customers in query
I have written condition but its not showing the result
Venkatesh
Hi Venkatesh
On what value you have written the condition. For top N customer, for example you can use the condition on sales (for top N customers).
Please see this link http://help.sap.com/saphelp_nw70/helpdata/en/73/702e39074dc93de10000000a114084/frameset.htm
Cheers
Chanda
Similar Messages
-
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 -
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 -
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,
SMAHi
see this...
http://oraclebi.soundvoid.net/2008/09/using-the-top-n-filter/
And close your all threads if they answered... -
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 -
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,
GHi,
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 -
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 -
Hi,
I have report showing the customer name and Shipped Quantity in the table view, i want to display only top 10 customers by Shipped Quantity,
how i can do....?
ThanksTry putting a filter on shipped quanity - is in Top - Value 10.
-
Hi,
I have 7 branches and n number of customers in each branch , how can i get only top 10 customers net sale value from the tables into the report.
thank you
Edited by: 960991 on Oct 9, 2012 6:30 AM
Edited by: 960991 on Oct 9, 2012 6:56 AMhi,
take a look at the below select statement,
SELECT r, branch_code, customer_name, net_sale
FROM (SELECT ROWNUM r, branch_code, customer_name, net_sale
FROM (SELECT branch_code, custome_name, net_sale
FROM branch_master
ORDER BY net_sale DESC))
WHERE r <= 10
hope it could help you.
Hi,
no dought this is correct query in sqlplus , but i need a query in reports 6i.
looking for help ... -
Hi, I need to create a report to show the Top 10 Customers and then a line for Others. Anyone know the best way to accomplish this?
ThanksHi Kenneth,
I dont think its possible directly.
We can create a variable with replacement path which will accept Top N values from a query, and even use this variable for restriction in another query. The problem is that this usage is very limited. For example, we can use this var for restricting a char in rows or columns. The issue here that this var CANNOT BE USED IN STRUCTURES:
http://help.sap.com/saphelp_nw04/helpdata/en/22/1e9b3c334d8c15e10000000a114084/frameset.htm
However, for getting desired result we must use a structure:
- Selection - char restricted by the var
- Selection char without restriction (total value)
- Formula 2nd row minus 1st one
So, the only way to achieve the goal I can think of (and I implemented it before) is using of 2 queries (Top N & total) and VBA for placing totals into the proper place after Top N rows and calculating the difference.
Best regards,
Eugene -
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 muchHi,
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 -
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 -
How to display top 10 customers in FR
Hi,
I've a requirement in FR. When i select an entity from POV, it should display top 10 customers out of 100 customers in that entity (for ex. top revenue customers). Can any one pls. help on how we can achive this dynamic reporting through FR. The rank function displays the ranks, but what i would like to see is, the report should display top 20 customers only. Pls. help
Thanks,
PVRHi,
I am not sure what version you are, from version 9.3 I think there is a "Top" function, just highlight the row, tick the option for "Top", set the number and the column
Failing that if you need to use rank could you not hide the column.
Cheers
John
http://john-goodwin.blogspot.com/ -
How to write a Query on top 10 customers ?
I have material no, price, amnt, quantity , cust id in a cube and I want only the list of top 10 customer who has paid the highest price that is the list of customers who had paid the highest price in ascending order based on the price. ...for eg c100 cust paid the highest amount Rs.1000 for a material he should be first in the list. How to do that. Please specify.
Hi Manohar,
Define [Conditions|http://help.sap.com/saphelp_nw04/helpdata/EN/43/b57138c1afbd20e10000009b38f889/content.htm] on Amount or Price & use.
You can use Top N to achieve same.
Hope it Helps
Srini
Maybe you are looking for
-
This is very weird, after upgrading, the track names in iTunes, TV Shows, Music and others changed to Chinese characters and wingding characters...not all of them though, just the visible ones so when I scroll I still have regular English names....ve
-
Is the iPhoto library supposed to be located in the iCloud Drive folder?
27" iMac (2011) Yosemite / iCloud Drive Is the iphoto library / database file supposed to be in the iCloud Drive? I expect it to normally be found in the Pictures folder under the active user. If it is not supposed to be there how did it get moved
-
With Out Derivation in Char relationship
Hi, I am trying to understand the concept of char relationship with derivation and without derivation. I would request you to please tell me the basic difference between with and with out derivation? we can say that, with derivation is used to deriv
-
Major flaw in htmlcss output.
Hi A tabular report. The data section has a black line color around it to form a border/grid lines. All the cells have the left border removed, then each cell is moved over one arrow click so text does not line up exactly on the border line. now in t
-
Soundbooth CS4 filter to simulate phone calls?
Hi Everyone- I've Googled this and know there's quite a bit of interest but have yet to find a suitable answer - Does anyone know of a filter or sequence of steps to make a pre-recorded sound file sound like it was recorded from a phone call using So