% of Total Sales

Hi,
How to calcuate % of Total Sales i.e  <b>Sales / Total Sales</b>  using calculated key figure.  
I was trying to use  %CT <operand> but in the formula editor of Calculator key figure I didn't find %CT function.. there is only % function.
Please help me how to get %CT function in formula editor or How to get the % of Total Sales.
Thanks in advance...

Hi Samarth,
You can find this function if you create a formula locally in the query. Do not create this as a CKF (On the left hand side ) as this function is not available there.
Hope this helps...

Similar Messages

  • Report on open sales order ,total sales

    Hello Gurus
    I am developing a report line item wise of sales order in which i need to get
    Suppose a sales order is created on 01.12.2009 for 1000 quantity
    billed quantity in december 600
    billed quantity in january     200
    1) total sales done against this SO line item wise.
    2) sales in this month againt this SO
    3)open order qty as 01.01.2010
    4)last day sales i.e from 01.01.2010 to 20.01.2010 the date of last sales against this SO
    so my output should be
    total sales = 800
    sales in this month =200
    open order qty as on 01.01.2010= 400
    please tell me the logic
    regards
    sphoorthi
    Moderator message - Please do not post your requirements and ask the forum to do your work for you - post locked
    Edited by: Rob Burbank on Jan 20, 2010 10:47 AM

    Hi,
    I gather from your thread that the question is not to build a report on a MP yes/no but more on which MP.
    Depending on the reporting needs and on how well you are able to combine the 2 cubes in the new MP I would say go for the latter option so you have more control on this one MP (for example if you need to add something that is already available in cubes).
    However, when (future!) reporting needs could mean that characteristics need to be added to the report(s) and filtered on that are not in both cubes you will have major problems getting the data properly from new MP and you would be better off using the individuals MP's and combine the data in a workbook or in a web template giving more flexibility.
    So you need to really analyze the requirements and decide on the way forward. Keep in mind possible future requirements because for now it could seem these few fields could be enough but new requirements could directly give a problem.
    Hope this helps
    C.

  • How to see customers total sales orders value

    Dear all,
    How can I create a query to see all customers total sales orders value.
    I have tried MC+E transaction, it is not giving accurate values when compare for a customer with VA05N report.
    moreover it doesn't have filter option.
    Please help me to resolve the issue. Your suggestion will be highly appreciated.
    Best regards,
    Raghu ram

    Hi,
    Try S_ALR_87012171  and S_ALR_87012186.   or
    S_ALR_87012160, select customer lite items only, enter customer number.
    Click on dynamic selection (Shift+F4). enter RV in document type field and press execute.
    Regards,
    Chandra

  • Regarding Customer Total Sales table

    Hi All SAP Experts
    I like to know which table will provide me total of each customers for year. an Actual sales for per customer. I know table VBAK with filed Net value. My question is that figure is right figure for each customer. I am looking for total sales. Report requirement is total sales it will not show line itemwise. Just total sales per customer.
    Thank you

    Welcome to the forum.  As a new member, I would like to inform you that there are certain rules and regulations applicable to this forum which you can find to your right screen where it has also been indicated that posting basic / repeated query is not allowed. Please search in this forum or Google it with the same text, so that you will find many threads discussed on the same topic.  Take the inputs from there and update still if you are not able to resolve.  Meanwhile, this thread would be locked.
    G. Lakshmipathi

  • Trying to find the difference between two sub-totals (sales - credits)

    Hi Everyone,
    I have the following code which essentially lists the total sales for an items on the first row, and the total credits for the same item on the second row.
    SELECT T0.ItemCode, SUM(T0.LineTotal) as 'Total Sales'
    FROM INV1 T0
    WHERE T0.ItemCode = 'ACR2401010'
    GROUP BY T0.ItemCode
    UNION ALL
    SELECT T1.ItemCode, SUM(T1.LineTotal) as 'Total Sales'
    FROM RIN1 T1
    WHERE T1.ItemCode = 'ACR2401010'
    GROUP BY T1.ItemCode
    The results of the query are shown below (with some alterations for confidentiality).
    What I would like to do is write a code block that subtracts the total credits from the total sales, leaving me with only one row of data for the ItemCode.
    If anybody can help with writing the code to achieve this it will be greatly appreciated.
    Kind Regards,
    Davo

    Hi, Please take a look and tweak accordingly. You may pay attention to nulls and manipulate accordingly. Best of luck!
    --Option 1
    SELECT t2.ItemCode,( SUM(T2.TotalSales)-SUM(TotalCredits)) AS 'Total'
    FROM
    SELECT T0.ItemCode, SUM(T0.LineTotal) as 'TotalSales',SUM(0) as 'TotalCredits'
    FROM INV1 as T0
    WHERE T0.ItemCode = 'ACR2401010'
    GROUP BY T0.ItemCode
    UNION ALL
    SELECT T1.ItemCode, SUM(0) as 'TotalSales', SUM(T1.LineTotal) as 'TotalCredits',
    FROM RIN1 as T1
    WHERE T1.ItemCode = 'ACR2401010'
    GROUP BY T1.ItemCode
    ) AS t2
    GROUP BY t2.ItemCode
    --Option 2
    SELECT t2.ItemCode, ( SUM(T2.TotalSales)-SUM(TotalCredits)) AS 'Total'
    FROM
    SELECT T0.ItemCode, SUM(T0.LineTotal) as 'TotalSales',SUM(0) as 'TotalCredits'
    FROM INV1 as T0
    --WHERE T0.ItemCode = 'ACR2401010'
    GROUP BY T0.ItemCode
    UNION ALL
    SELECT T1.ItemCode, SUM(0) as 'TotalSales', SUM(T1.LineTotal) as 'TotalCredits',
    FROM RIN1 as T1
    --WHERE T1.ItemCode = 'ACR2401010'
    GROUP BY T1.ItemCode
    ) AS t2
    WHERE t2.ItemCode = 'ACR2401010'
    GROUP BY t2.ItemCode
    --Option 3
    SELECT t2.ItemCode, ( SUM(T2.TotalSales)-SUM(TotalCredits) ) AS 'Total'
    FROM
    SELECT T0.ItemCode, T0.LineTotal as 'TotalSales', 0 as 'TotalCredits'
    FROM INV1 as T0
    UNION ALL
    SELECT T1.ItemCode, 0 as 'TotalSales', T1.LineTotal as 'TotalCredits',
    FROM RIN1 as T1
    ) AS t2
    WHERE t2.ItemCode = 'ACR2401010'
    GROUP BY t2.ItemCode
    --Assuming credit part is optional..also assuming each table should return only one row else results would inflate...option 4
    SELECT t0.ItemCode, ( SUM(T0.TotalSales)-SUM(T1.TotalSales)) AS 'Total'
    FROM
    INV1 as t0
    left outer join
    RIN1 as t1
    ON t0.ItemCode = t1.ItemCode
    WHERE t0.ItemCode = 'ACR2401010'
    GROUP BY t0.ItemCode
    --option 4 with grouping to ensure single row from each table
    SELECT t0.ItemCode, ( isnull(T0.TotalSales,0)-isnull(T1.TotalSales,0)) AS 'Total'
    FROM
    SELECT T0.ItemCode, SUM(T0.LineTotal) as 'TotalSales'
    FROM INV1 as T0
    --WHERE T0.ItemCode = 'ACR2401010'
    GROUP BY T0.ItemCode
    )as t0
    LEFT OUTER JOIN
    ( SELECT T1.ItemCode, SUM(T1.LineTotal) as 'TotalCredits',
    FROM RIN1 as T1
    --WHERE T1.ItemCode = 'ACR2401010'
    GROUP BY T1.ItemCode
    ) as t1
    ON t0.ItemCode = t1.ItemCode
    WHERE t0.ItemCode = 'ACR2401010'
    --Option 5 with grouping to ensure single row from each table.
    --Also assuming that sales or credits can be optional
    SELECT
    ISNULL(t0.ItemCode,t0.ItemCode) AS ItemCode,
    ( isnull(T0.TotalSales,0)-isnull(T1.TotalSales,0)) AS 'Total'
    FROM
    SELECT T0.ItemCode, SUM(T0.LineTotal) as 'TotalSales'
    FROM INV1 as T0
    --WHERE T0.ItemCode = 'ACR2401010'
    GROUP BY T0.ItemCode
    )as t0
    FULL OUTER JOIN
    ( SELECT T1.ItemCode, SUM(T1.LineTotal) as 'TotalCredits',
    FROM RIN1 as T1
    --WHERE T1.ItemCode = 'ACR2401010'
    GROUP BY T1.ItemCode
    ) as t1
    ON t0.ItemCode = t1.ItemCode
    WHERE (t0.ItemCode = 'ACR2401010' OR t1.ItemCode = 'ACR2401010')

  • Total sales to date per item

    Hello folks i need some help with SQL code i think. I need to get a report showing our best selling items, but the sales analysis is only showing recent stock (even if i specify 01.01.07 - 02.06.08).
    in theory this is a simple report. i just need ItemCode, ItemName and Total Sales.
    What is the table that contains total sales?

    Thanks Petr I have used the slightly amended code below:
    select coalesce((select sum(quantity) from inv1 where itemcode = oitm.itemcode
    group by itemcode), 0)
    +
    coalesce((select sum(quantity) from ige1 where itemcode = oitm.itemcode
    group by itemcode),0), itemcode, itemname
    from oitm
    but when i export this to excel the first column (quantity) becomes invisible. How do we make it appear, for example, as 'Total Sold TD'?
    thanks

  • 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

  • Reg: Total sales of each month of customer

    Dear All,
    I have the below two tables
    Customers (customer_id, custer_name,customer_address)
    Sales (sales_id, sales_cust_id, sales_order_date, sales_amount)
    I need to write the SQL query to display the total sales made by each customer, each month with grand total of all months of current year
    can anyone help regarding this..
    Sample
    customer_id
    customer_name
    month
    total_sales
    12
    aaa
    Jan
    15242
    12
    aaa
    Feb
    17889
    (Total)
    33131
    13
    bbb
    Feb
    1487
    13
    bbb
    Jun
    19987
    (Total)
    21474

    Hi,
    You can use GROUP BY GROUPING SETS to get sub-totals in SQL:
    SELECT    sales_cust
    ,         NVL ( TO_CHAR ( TRUNC (sales_order_date, 'MONTH')
                            , 'Month YYYY'
                  , '   All months'
                  )    AS month
    ,         SUM (sales_amount)  AS total_sales
    FROM      t
    GROUP BY  GROUPING SETS ( (sales_cust, TRUNC (sales_order_date, 'MONTH'))
                            , (sales_cust)
    ORDER BY  sales_cust
    ,         TRUNC (sales_order_date, 'MONTH')
    Output from the sample data Ramin posted:
    SALES_CUST MONTH           TOTAL_SALES
            12 May       2013          120
            12 June      2013           15
            12 July      2013          110
            12 September 2013          750
            12    All months           995
            13 May       2013           70
            13 July      2013          205
            13    All months           275

  • Total sales values by material and plant

    Hi,
    I was trying to extract the following information:
    material number, plant, total sales qty(2006), and total sales amount(2006) from sap table. So, can any one help me with the table or a report where in I can find all this information.
    Thanks
    Putta

    Hi,
    Good evening and greetings,
    You can get the info from the Table BSEG as below
    BSEG-BUKRS = Company Code and a Sales Org is attached to a Company Code
    BSEG-GJAHR = Fiscal Year
    BSEG-DMBTR = Amount in Local Currency
    BSEG-PSWBT =  GL Account Amount
    BSEG-HKONT = GL Account Number
    BSEG-MATNR = Material Code
    BSEG-WERKS = Plant
    BSEG-MENGE = Quantity
    BSEG-MEINS = Base Unit of Measure
    You have to execute the report with the following input parameters in SQVI
    Company Code
    GL Account Number = Revenue Account
    Fiscal Year
    You will get all the info from the system in the single table.
    Please reward points if found useful
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • Can a JOIN be used instead of a UNION to obtain the Total Sales from B1?

    Hi Everyone,
    I am in the midst of writing a report which shows the 'Total Sales', 'Gross Profit', and 'Gross Profit %' by Sales Person. Traditionally I have used a UNION between two result sets to achieve this task. However I am wondering it if is possible to achieve the same outcome with a JOIN as shown below?
    SELECT
        T0.SlpCode
        , T0.SalesPerson
        , T0.Branch
        , (T0.TotalSales - T1.TotalSales) AS 'Total Sales'
        , ((T0.TotalSales - T1.TotalSales) - (T0.StockValue + T1.StockValue)) AS 'Gross Profit'
        , CAST(((T0.TotalSales - T1.TotalSales) - (T0.StockValue + T1.StockValue)) / NULLIF((T0.StockValue + T1.StockValue), 0) * 100 AS decimal(15,2)) AS 'Gross Profit %'
        FROM
            /*** SAP - Invoices by Sales Person ***/
            SELECT
            T1.SlpCode
            , T2.SlpName AS 'SalesPerson'
            , T2.U_INE_Branch AS 'Branch'
            , CAST(SUM(T0.LineTotal) AS decimal(15,2)) AS 'TotalSales'
            , CAST(SUM(T0.StockValue) AS decimal(15,2)) AS 'StockValue'
            FROM AU.dbo.INV1 T0
            INNER JOIN AU.dbo.OINV T1 ON T1.DocEntry = T0.DocEntry
            LEFT JOIN AU.dbo.OSLP T2 ON T2.SlpCode = T1.SlpCode
            WHERE T1.DocDate >= '2014-08-01' AND T1.DocDate <= '2014-09-01'
            GROUP BY T1.SlpCode, T2.SlpName, T2.U_INE_Branch
        ) AS T0
        FULL JOIN
            /*** SAP - Credits by Sales Person ***/
            SELECT
            T1.SlpCode
            , T2.SlpName AS 'SalesPerson'
            , T2.U_INE_Branch AS 'Branch'
            , ISNULL(CAST(SUM(T0.LineTotal) AS decimal(15,2)), 0) AS 'TotalSales'
            , ISNULL(CAST(SUM(T0.StockValue) AS decimal(15,2)), 0) AS 'StockValue'
            FROM AU.dbo.RIN1 T0
            INNER JOIN AU.dbo.ORIN T1 ON T1.DocEntry = T0.DocEntry
            LEFT JOIN AU.dbo.OSLP T2 ON T2.SlpCode = T1.SlpCode
            WHERE T1.DocDate >= '2014-08-01' AND T1.DocDate <= '2014-09-01'
            GROUP BY T1.SlpCode, T2.SlpName, T2.U_INE_Branch
        ) AS T1
    ON T1.SalesPerson = T0.SalesPerson
    Currently I am not getting correct results (which I can do through a UNION), but am instead seeing NULLs scattered throughout, as shown below...
    (I have blacked out certain details to keep the company I work for anonymous)
    My question is: are NULLs unavoidable in this scenario simply because of the nature of JOINs? I have tried a 'JOIN' rather than a 'FULL JOIN' but instead of seeing all of the Sales People I only see Sales People who do not have NULLs, which looks nice but is not particularly accurate.
    Any help and suggestions here will be greatly appreciated.
    Kind Regards,
    David

    Hi David,
    You can try something like this:
    to avoid null
    Type in each field the keyword isnull, IsNull((T0.TotalSales - T1.TotalSales), 0) AS 'Total Sales' 
    or something like this
    SELECT T0.[SlpCode], T0.[SlpName], (Select Sum(T1.doctotal) from oinv t1 where t1.docdate between '???' and '???' and T0.slpcode = t1.slpcode)  - (Select Sum(T2.doctotal) from orin t2 where t2.docdate between '???' and '???' and T0.slpcode = t2.slpcode) as Sales FROM OSLP T0
    Hope it helps
    Kind regards,
    Augusto

  • How to all customer who are having total sales value more than 10000 usd??

    Dear all,
    How can we see all customers that are having total sales value is more than a specific amount (Ex: more than 10000 USD)
    How to list all customers who's total sales value is more than 10, 000 USD.
    Please help me to find the right solution for this problem.
    Your help will be highly appreciated.
    Best wishes,
    Raghu ram

    Dear Raghu ram
    Go to VF05N, give just Sales Organization, distribution channel and execute.  You will get the entire sales details including currency.  Sort in descending order by selecting the value column.
    thanks
    G. Lakshmipathi

  • Reporting of total sales after 12 months

    Am I correct in thinking that after an app has been in the store for more than 12 months the total sales reported are not the actual total of all sales. If it is correct that only sales up to 12 months are reported is there any way one can get a complete
    total?
    Thank you
    Malcolm Bain
    Malcolm Bain

    Hello Malcnoo,
    Currently the financial summary is limited to the last 12 months with no way to pull records beyond that. 
     -Miles
    Windows and Windows Phone Dev Center Support
    Send us your feedback about the Windows Platform

  • How to get Total Sale and Total Revenue?

    Hi,
    I have received requirement to calculate Total Sale and Total Revenue.
    what is actual difference between total sales and Total revenue?
    Is there any report or query in EBS R12 from which we can find total sale and total revenue?
    Thanks,
    Kapil
    Edited by: Kapil Mistry on Aug 2, 2012 12:10 AM
    Edited by: Kapil Mistry on Aug 2, 2012 12:11 AM

    Hi,
    Can I use Receipt details to get total revenue i.e actual income from customer ?
    Please check the following query.
    SELECT code_combination_id,
    ra.applied_customer_trx_id,
    trx_number,
    SUM( NVL( line_applied, 0 )) line_receipt,
    SUM( NVL( tax_applied, 0 )) tax_receipt,
    SUM( NVL( freight_applied, 0 )) freight_receipt,
    SUM( NVL( amount_applied, 0 )) total_receipt
    FROM ar_receivable_applications_all ra,
    ra_customer_trx_all trx,
    ar_cash_receipts_all rcpt
    WHERE
    applied_customer_trx_id = trx.customer_trx_id
    AND ra.cash_receipt_id = rcpt.cash_receipt_id
    AND application_type = 'CASH'
    AND NVL(ra.confirmed_flag, 'Y' ) = 'Y'
    AND trx.complete_flag = 'Y'
    AND trx.org_id = 204
    AND trx.customer_trx_id = 51385
    GROUP BY code_combination_id,ra.applied_customer_trx_id,trx_number
    ORDER BY 3

  • How to get Total Sales and Total Revenue?

    Hi,
    I have received requirement to calculate Total Sales and Total Revenue.
    what is actual difference between total sales and Total revenue?
    Is there any report or query in EBS R12 from which we can find total sales and total revenu?
    Thanks,
    Kapil

    Hi,
    Can I use Receipt details to get total revenue i.e actual income from customer ?
    Please check the following query.
    SELECT code_combination_id,
    ra.applied_customer_trx_id,
    trx_number,
    SUM( NVL( line_applied, 0 )) line_receipt,
    SUM( NVL( tax_applied, 0 )) tax_receipt,
    SUM( NVL( freight_applied, 0 )) freight_receipt,
    SUM( NVL( amount_applied, 0 )) total_receipt
    FROM ar_receivable_applications_all ra,
    ra_customer_trx_all trx,
    ar_cash_receipts_all rcpt
    WHERE
    applied_customer_trx_id = trx.customer_trx_id
    AND ra.cash_receipt_id = rcpt.cash_receipt_id
    AND application_type = 'CASH'
    AND NVL(ra.confirmed_flag, 'Y' ) = 'Y'
    AND trx.complete_flag = 'Y'
    AND trx.org_id = 204
    AND trx.customer_trx_id = 51385
    GROUP BY code_combination_id,ra.applied_customer_trx_id,trx_number
    ORDER BY 3

  • How to Apply YTM and MTD filter to the Query Calculating "Total Sales" Amt

    Hi,
    I got the requirement to calculate "Total Sales" amount in following format,
    1. Calculate Total Sales YTM per Country
    2. Calculate Total Sales MTD per Country
    I am done with Queries to get Country wise Total Sales amount but stuck at the point, how to apply YTM (Year to Month) and MTD (Month to Date) filter. Can anyone have idea about how to apply YTM and MTD filter to query??
    Regards,
    Priyanka

    Hi,
    I got the requirement to calculate "Total Sales" amount in following format,
    1. Calculate Total Sales YTM per Country
    2. Calculate Total Sales MTD per Country
    I am done with Queries to get Country wise Total Sales amount but stuck at the point, how to apply YTM (Year to Month) and MTD (Month to Date) filter. Can anyone have idea about how to apply YTM and MTD filter to query??
    Regards,
    Priyanka

Maybe you are looking for

  • Advance ajdustment for Vendor line items through F110

    Hello We have to make advance ajustment through F110 for the Vendor line items .  Advance is posted with special indicators through F-48 and invoice booked through FB60 and MIRO. I have checked the configuration in FBZP "All Company Codes" where spec

  • How to add Document and Comment in BI Query

    Hi All, I need one help from you, I am trying to upload some douement and comment in my BI query, after executing Query If i right click and Document --> Upload --> Comment/Document, I am getting following msg 1. Cannot get properties for assignment

  • Why is my QuickTime Pro exporting image sequences in the wrong order?

    I am making timelapse films and using QuickTime Pro to export the images as a movie file. I have all the images in a folder named numericaly. I go file>import image sequence click on the first image and import. The images are in the correct order in

  • Looking For Oracle Fusion Middleware Repository Creation Utility

    I'm trying to install a development Fusion Middleware 11.1.1.7 (Weblogic, BPM, etc) environment in a Windows Virtual Box VM. I'm following the directions in the following document: Oracle Fusion Middleware Download, Installation, and Configuration Re

  • Subsequent credit

    hi, I need to clarify on the steps. 1) when receive CN from vendor due to price over charged. in miro, i choose transaction type subsequent credit. when come to line item, enter the PO and select the PO line where price affected. i need to change the