Obtaining Gross Margin % within Crosstab

I am trying to get the GM% in a crosstab.  I have written formulas to try to get the right value, since it is a summarized field, and have not been able to find the solution.  Is there any way to use the 'show percentage of' for two different columns?
The crosstab looks like this:
Revenue                Cost               GM$                 GM%
$39,556.84       $21,882.41       $17,674.43      
Obviously, the formula for figuring GM% is to divide the GM$ by Revenue.  But when I go to use 'show as a percentage of'', the only options available are for the GM$ column.  Revenue column is not an option.  This seems to me to be a very common financial reporting objective so I'm confused as to why this has been so difficult to resolve in order to get the correct value in the crosstab.
Thank you very much for any help you can provide.
Marlene Human
Crystal Reports version XI on Progress server

Marline,
If you are tasked to write complicated reports, and that's gonna be an ongoing activity, bite the bullet and buy a good reference on SQL for the database that your company uses, and take the time to learn it.  In the long run, you'll save a whole lot of time, and end up with much better performing reports.  (The more work that can be done in the database, the better the performance - frequently substantially better.)
Crystal can show you the SQL that it will send to the database based on the tables and linking you specify.  That might be a good place to start, and to see real examples.
HTH,
Carl
P.S.,  I know there are many SQL references out there, but I usually use the language reference that comes with the database, so I can't recommend any specific book...

Similar Messages

  • BEx Formula Use of 'Logical And' and Calculation for Gross Margin

    HI Bex gurus.
    Having an odd time with what should be a simple formula to handle the display of gross margin (GM). The goal here is to display GM% properly and the requirement is as follows
    If GM <= 0 then 0.0
      Else
    If GM > 0 and Sell > 0 then ( ( sell - cost /sell ) * 100 )
      Else
    If GM >0 and Sell = 0 then 100
    I am familiar with bex formulas and have referenced the help docs on booleans here -
    Boolean Operators - SAP Business Explorer - SAP Library
    But what is odd is that if I use a calculation or a CFK in the IF, THEN with a LOGICAL AND, the formula does not report correctly
    If I put in a static value, like 77, the expected logic is followed.  I have tried making sure have extra parentheses and changing the order of the statement, to no avail!  I could use some extra brains on this puzzling matter, so you help is greatly appreciated and will award points!
    Thanks
    lee lewis
    Here are the formulas in text and below screen shots.  Wish could copy and past formulas to and from editor!
    GM%77
    ( ( ( 'Order GM' >0 ) AND ( Order Sell  >  0 ) ) == 1) * 77 + ( ( ( 'Order GM'> 0 ) AND ( Order Sell == 0 ) ) == 1) * 100 + ('Order GM' <= 0) *0.0
    GM%
    ( ( ( 'Order GM' >0 ) AND ( Order Sell  >  0 ) ) == 1) * 'REF GM%' + ( ( ( 'Order GM' > 0 ) AND ( Order Sell == 0 ) ) == 1) * 100 + ('Order GM' <= 0) *0.0
    'REF GM%
    (order  sell - order cost /order sell ) * 100 )
    GM%77
    GM%

    Shouldn't you change on of the brackets in your REF GM% ?
    'REF GM%
    (order  sell - order cost /order sell ) * 100 )
    I would put that as
    'REF GM%
    (order  sell - order cost) /order sell  * 100 )
    Not sure what you mean with those red arrows... but in both cases you would be dividing by 0 (order sell = 0).

  • Report for calculating gross margin

    Hello Experts,
    We need a report where we can find  the gross margin .
    We have wholesale and Retail where the items are set up in a way that the date goes to the same journal entry.How can we separate this and calculate the gross margin for different BP type .BP code for wholesale starts with "W" and for retail it starts "C".
    Any help/suggestion is greatly appreciated.

    Hi,
    Have you tried Sales Analysis report by customer? You can select different groups of customer by BP code.
    Thanks,
    Gordon

  • If I have a 10% Gross Margin formula can I change one task to calculate at 15%

    I am working in MS Project 2010 Pro, I have set a column with a custom field to a 10% Gross Margin formula, is there a way I can change one task to a 15% Gross Margin formula?
    I am also having a problem opening two project schedules at once, for some reason when I open the second schedule it's like I lose the schedule.
    Thank you for all the help,
    Celia

    John,
    I am trying the formula Rod suggested up in the thread:
    [Cost]*(1+[Number1]).
    Now to edit the margin for individual tasks you just edit Number1.
    Thank you,
    Celia

  • Year Total of Gross Margin % Plan in the column for months

    Dear Experts,
    I have designed a query with the KFs "Sale/Retail, Gross Margin% and Sales/Cost" in the rows and months in the column. I have put "Gross Margin % and Sales/Retail" as input ready and the Sales At Cost is getting calculated with the formula applied over Gross Margin %.
    So if i am enetring 1000 for Sales/Retail in Jan month with Gross Margin % as 10%. the value of Sales/Cost is getting calculating correctly as 900.
    Now i want to add a total column which will show the year total result of my planning for all months.
    Here i am facing the problem.
    I have inserted a Formula (named as "Year"), and put the formula to add all the months.
    Suppose now i have entered 1000 Sales/Retail and Gross Margin % as 10% in Jan and Feb month.
    So now the total figures in the Year column is correct for the Sale/Retail=2000 as it is getting added for every month, but the Gross Margin % is not correct as it is also getting added to 20%. And because of this the Sales/Cost is also wrongly calculated.
    The Gross Margin % should be avearge of all months.
    Can somebody help me to resolve. Any better idea to insert total column for the months will also help me.
    Warm Regards
    Abhishek

    Hi Gokul,
    I have resolved the thing. Actually. When i use the Tab "Calculations" in the Query Designer. The effect reflects in the result and Overall result section.
    But i wanted to correct the Data Input section with the Year total. So i have put the formula in the cells and used collision functionality to avoid the formula collision. So this resolved the problem.
    Thanks.
    Warm Regards
    Abhishek
    Edited by: Abhi Goel on Jun 3, 2010 1:29 PM

  • Project wise Gross Margin

    Hi,
    Our Client handles no. of projects. How do we show Project wise Gross Margin either individually or by Group in SAP B1.

    Hi Suda,
    I want only the gross margin(sales - direct cost) but not the net profit/loss.

  • Implementation of Gross Margin

    The release content document for BIS details the facts and dimensions that have to be loaded via the load programs in order implement, for instance, manufacturing intelligence gross margin measurements. My problem is how to determine what data will have to be maintained by the business in what application modules for BIS to extract and use it accurately? Does anyone have a good project plan for BIS implementation? Do I just have to find a good consultant, or is there adequate documentation existing for an experienced programmer/DBA?

    Hi Gokul,
    I have resolved the thing. Actually. When i use the Tab "Calculations" in the Query Designer. The effect reflects in the result and Overall result section.
    But i wanted to correct the Data Input section with the Year total. So i have put the formula in the cells and used collision functionality to avoid the formula collision. So this resolved the problem.
    Thanks.
    Warm Regards
    Abhishek
    Edited by: Abhi Goel on Jun 3, 2010 1:29 PM

  • GROSS MARGIN 100%

    Hello
    I have a sales BOM assembly type, when I book an invoice the gross margin calculation is 100% as the base price is empty. It does not copy the component cost price.
    But the GL account is correct cost of goods is equal to the componentn cost of goods.
    Do you know why it is not copied I am using 2005A PL34

    Hello,
    When creating a 'Sales Type' BOM, the item is set as a non-purchase and non-inventory item. Accordingly,
    a 'Sales Type' BOM does not have an item cost. This is probably the reason why zero is shown as cost and hence shows 100% gross profit.
    The gross profit will then be calculated in the component level.
    Regards,
    Lorna

  • Financial report with gross margin

    Hello everyone,
    I use BI Publisher and I wondering how to do a financial report with the gross margin
    I would like to know the way to do
    1.     A calculation like a gross margin with a percent of the revenues.
    2.     How to subtract a sub-total with another one.
    Does somebody has a solution, thanks?

    Create a metric in RPD, it increases the re usability when creating reports in Answers.

  • How to calculate gross margin Return on Investment in BEX

    Hello Experts,
    I need to create a Report where in I need to display Average last Valuated Stock of the Given month range in the selection screen
    Example:
    If I give the month selection range like 06.2006 to 08.2006
    The Average should calculated like this
    Gross Margin Return on Investment (GMROI)=
    Closing Stock of 05.2005+closing Stock of 06.2006 + closing Stock of 07.2006+Closing Stock of 08.2006
    Number of months i. e 4
    But my problem is if I give the range like 06.2006 to 08.2006
    Either this should take the previous months Closing Stock( I mean it should consider 05.2006 Closing Stock) or
    Opening and Closing Stock of the 06.2006 closing stock of 07.2006 closing stock of 08.2006
    But the number of months should be 4
    How can I approach this scenario can any one give me the idea
    Thanks and regards
    DAB

    Hi,
    i think you can achieve this with two single Value variables.Because you would not able to define offset if use one variable to enter range.
    1.Crate two single value,mandatory,ready for input variables on month lets assume ZMONTH1 and ZMONTH2 to enter from and To month values.assume ZMONTH1 for from value and ZMONTH2 is for To value.
    2.in Query designer restrict month In free chars with thse two variables.but dont forget to select 'Value Range' instead of 'Single values' while restricting.You can swap the intervals if required by right clicking.
    3.Now create 4 Restricted Keyfigures using offset on month.
    in RKF1 ,Restrct month with ZMONTH1 and ofset value -1.
    in RKF2 ,restrict month with ZMONTH1 and offset 0.
    RKF3: ZMONTH2 and offset -1
    RKF4: ZMONTH2 and ofset 0.
    Just try it out and let me know whether it works or not.
    Regards

  • COPA Gross Margin report Cost component roll up

    Hi,
    I have a question about COPA valuation using standard cost estimate and roll up of cost components in Gross Margin report.
    I would like to build a simple Gross Margin Report in KE30 showing Billed quantity, Revenues and COGS split to Material, Labour and Overhead Components, but with cost components roll-up from SGH to FG.
    In order to have the split of COGS I believe I need to maintain Valuation using Standard cost estimate in COPA. However, from my experience, I think that in Gross Margin reports I saw in COPA in the past - there was no cost component rollup from Semi finished to Finished products.
    I mean if we sold 1 piece of FG at a price of 20 EUR and cost components for it would split into:10 - Materials, 2 - Labor,3 - Overhead (Total COGS of 15 EUR)
    If  this is 2-level production and this FG has SFG in its cost estimate, the SFG cost split into: 3 - Materials, 1 -Labor and 2 - Overhead
    From my experience all costs of SFG used to produce that FG would go under Materials Component in Gross Margin report (312=5 from SFG would go to Material component of Sold Finished Product). Is it possible to have in Gross Margin report situation where Material Component from SFG would be rolled up to Material component in Sold Finished Product, Labor component from SFG rolled up to Labour component in FG... etc?
    Regards,
    Karol

    Hi Karol
    I dont think that SAP functions this way... In your eg, the Cost of SFG (321) does not roll upto to the Material cost of FG
    Moreover, it is not controlled in COPA, but in Product Costing
    When you define your Cost Comp Str in OKTZ, you can tick the check box "Roll up Cost Component" in each of the cost components.... Once you do this, the Overhead cost in SFG will be rolled up to the Overhead cost of FG (And Not to Material Cost of FG)...
    Costing keys would simply fetch the cost estimates and transfer it to COPA.... So, set it up right at the source in OKTZ and it should be done
    br, Ajay M

  • Require Help in developing a Report for Gross Margin

    Dear Experts,
    I need some inputs regarding development of Gross Margin Report for Controlling.  If any body could help us in providing some inputs regarding Costing Information from CK13N or give us some contact  number so that we will contact them immediately to get our doubts clarified.  Please help ASAP.
    Regards,
    Anu

    Hi jaya ,
    whats ur Business requirement ?
    Regards
    Prabhu

  • HT201318 Who does one contact to obtain a refund within 15 days of upgrading storage to 10GB

    Who does one contact to obtain a refund within 15 days of upgrading storage to 10GB?

    You can cancel iCloud storage upgrade within 15 days of buying:
    Apple have made this as difficult as possible. If you use Express Lane you cannot proceed without entering a hardware serial number which is still eligible for AppleCare. However julia22 managed to find a way round it - please see this post:
    https://discussions.apple.com/message/16968425#16968425
    it gives the USA number - if you don't live there you will have to find an equivalent number from the 'Contact Us' link at bottom right of this page.

  • Gross Margin report

    Dear Expert,
    Our management asked me to make a gross margin report which the report has;
    Item Number
    Item Name
    Preferred Vendor Name
    Normal Selling Price
    Item Costs
    Customer Name
    Customer Price List
    Gross Margin
    The Input key was Gross Margin Start and End .
    Above query need to evaluate all price list given to customer... so we know which margin to be evaluate to increase total margin of the company..
    Thanks

    How many price lists do you have?  If you have ten or more, how the query results would be look like?
    Thanks,
    Gordon

  • Product wise Gross Margin

    Hi,
    How do we calculate the Product wise Gross Margin.
    Thanks

    I believe you are talking about Item wise profit report.  What exactly are you looking for in this report.
    There are system reports that could help you with this.
    Have you tried the Sales A/R > Sales Reports > Sales Analysis..run it from the Items tab

Maybe you are looking for

  • How to switch off  the  error sound  in Triversity

    Hi How to switch off the  error sound in Triversity, The audio of the computer is already in mute state. The problem is found with DELL pc and not with HP

  • The iCloud Control Panel will not intall on my WIN 7 32-bit PC

    the iCloud Control Panel will not install on my WIN 7 32-bit PC. I receive the error message, "There is a problem with this Windows installer package. A program run as part of the install did not finish as expected. Contact your local support personn

  • Album Has Stopped!

    Xperia Z Tablet, Jelly Bean 4.3 I have an issue with Thumbnails viewed via Maps or Globe in the Album App. You can scroll though 15 to 20 thumbnails at one location then the Message 'Unfortunately, Album has stopped' appears, the program stops and yo

  • Make a clip dissolve to black & white then back to color

    Hi. How do I make a clip dissolve to b&w in the middle of it then back to color? Message was edited by: Hoops24

  • SQL Server 2005 Integrated Security

    Post Author: mudEyes CA Forum: Data Connectivity and SQL Hello all, I've just changed SQL 2000 to 2005 and want to use integrated security when connecting my CRViewer tables via an ADO connection in VB6 but i'm having no joy, I thought this would do