Regarding Formula in Report

Hi,
I have Extracted Lotusnotes data from Flatfile to BW.
For this i need to Creat 3 Formulas like,
<1day,1-2days,>2 Days.
I have to calculate total   Number of Tickets for Each month.
Ex;- If u will take June2006 TotalTickets around 250 in SAPBW.
Number of days = Closeddate-openeddate.
So i need to calculate ,
Howmany tickets i have resolved <1 day outof 250.
Howmany tickets i have resolved in 1-2 days outof 250.
Howmany tickets i have resolved >2 days outof 250.
Could you plz give the  formulas based on <b>Number of days</b> for above task.
Rgds,
Prash

Assuming these are three individual columns -
columns 1 : <1
formula_KF = boolean "NOD < 1"   
(This will return 1 or zero for each row depending on NOD - No_of_days value)
Similarly for column 2
formula_KF2 =  "NOD >= 1 and  NOD <= 2"
and    
formula_KF3 =  "NOD > 2"
These columns will result a value of 1 or zero depending on conditions, and the results line would show the total such records.
Is this what you are looking for?

Similar Messages

  • New column with formula in Report Painter - GRR2

    Hi gurus,
    I want to insert a new element in my new report painter created by GRR2. I took a standard report and I copied the report.  I know how to insert a new element.
    The problem is I want to choose the value of a field in PROJ table for create a formula in my report. The users insert a value in user-define fields of CJ20n, and i would like to choose this value for create a formula in my report.
    Can I create a formula to take this value from the table PROJ? If I need to create a characteristic for choose this field, as I can create?
    Thanks.

    Hi,
    My question is:
    Can i pick a value of a table (proj) for use in formula of report painter??
    Many thanks.
    Regards.

  • Adding formula in report writer

    Hi Experts,
    I am trying to build a formula in report writer
    In one the hierarchy report   I need I have 4 columns formula should be
       A-B-C =X but values should populate in the X column when the A column value is greater than the B or C, or B and C 
    If add the simple formula A-B-C= X it will show wrong values if B values or C values or B+C values is greater than the A
    Is there any possibilities creating a conditions in the table TKCKO
    Please help me this issue.
    Thanks and Regards,
    Naren

    Hi,
    In the formula make a condition "IF (A > B) OR (A > C) THEN A-B-C". (if I got your logic right)
    Regards,
    Eli

  • Constant Checking in Row Formula for Report Writer

    Dear All,
    Please advice what is the format to check a constant (string) in the row formula for Report Writer.
    Let's say if I want to check the cost center group -->
    If '&1KOSET' = 'ABC' then .... else......
    So, what is the format for ABC? Because if i put 'ABC' it will be treated as cell. But if i do not put the ' ', then i get system error.
    Thanks a million for your advice.
    Best Regards,
    CW

    Hi John Lee,
    The logic that you would want , can be implemented through a column set. That is, as per your logic written in the set, your column values differ.
    First in your set, keep your account number in the first set line. ie. 5000000.
    Then you enter the following formula in the second line of a set defined for a report column:
    IF u2018001u2019 > 5000000 THEN u2018001u2019 ELSE 0
    If the value in the first column (set line 001) is greater than 5000000, then this value displays in the second column; if the value in the first column is less than 1000, the value 0 displays in the second column.
    Revert if you need any additional help.
    Regards,
    Subin John

  • How to apply condtion formula inside Report Writer and Report Painter

    Hi anybody,
    I am doing report painter. but i don't know how to include condition formula inside report painter or report writer. ex if condition ..
    Anybody please explain to me the steps of report writer how do this.
    I will appreciate goods answers to me.
    thanks
    Regards,
    S.Muthu
    Edited by: Subramaniyan Marimuthu on Jun 3, 2009 7:50 AM

    www.virtuosollc.com/PDF/Get_Reporter.pdf
    This is most useful PDF written by industry expert. This is more informative.
    http://help.sap.com/saphelp_47x200/helpdata/en/66/bc7dc143c211d182b30000e829fbfe/frameset.htm
    Regards,
    Ravi

  • Using Formulas in Reports

    Is there any way to create your own formula in Reporting instead of using the mathematical functions in the function drop down bar?

    What Tool are you using
    Interactive Reporting
    Financial Reporting
    WebAnalysis
    Wayne Van Sluys
    TopDown Consulting

  • Regarding Formula Variable...

    Hello guyz,
      I am preparing for certifications. I have a doubt regarding Formula Variable. Can anyone please let me know with good and easy example so that i can understand the concept.
    Thanks and Regards,
    Hawkin.

    Hi Hawkin
    check this link,
    http://www.sd-solutions.com/documents/SDS_BW_Replacement%20Path%20Variables.html
    hope it helps,
    Sudhakar.

  • Conditional formula in report painter.

    Hello.
    I create new CO-PA report in KE31 transaction which is based on a form.
    In transaction KE35 I define the new form and in this form I want to create formula.
    This formula should be conditional. How to define conditional formula in that kind of form.
    I can also define key figure scheme in transaction KER1 but in this transaction I also don't see possibility to define
    conditional formula.
    Conditional formula means that some value fields should be summ and some value fields should be substract
    depending on the value of characteristics.
    How to solve this problem in R/3 4.6C?
    I am waiting for help.
    Best regards
    Bogdan

    Hi,
    I don't think that we can put the conditional formula. but we can do the calcualtion by row wise or column wise.
    Thanks.

  • How to get unique Id's along with using a formula in Report

    Hi,
    I have data in the following format:
    PO no  Subfield Created date Changed date
    123              A               01/01/2011        20/01/2011
    123              B               01/01/2011        20/01/2011
    124              A               01/01/2011        25/01/2011
    124              B              01/01/2011        25/01/2011
    I want to get  unique number of PO's which has difference(changed date - created date)  greater thn 20days and less thn 20days.
    So I want to get in report:
    PO no >20    <20
    123             ____        1
    124            1       _____
    I know to get unique PO number and how to calculate two dates difference in days by using formula variable replacement path.
    But how to incorporate these two functions.
    Edited by: SAP Consultant on Aug 14, 2011 8:34 AM
    Edited by: SAP Consultant on Aug 14, 2011 8:35 AM

    Hi,
    This link will help you:----
    Calculate difference of days between two dates
    Regards,
    Suman

  • CO-PA column formula in report painter

    Hi all,
    Sorry about previously explanation!
    In KE34, when define a form, we need several columns with a formula that is a combination between cells.
    Rows:
    - Row 1: Revenue (Y001)
    - Row 2: Total cost (Y002)
    - Row 3:  Wages cost (Y003)
    - Row 4: Depreciation cost (Y004)
    - Row 5: ...
    Columns:
    - Column 1: Plan - value (X001)
    - column 2: Plan - % (X002)= Cost / revenue * 100
                       for example: Cell Z001 (interaction between row 2 and column 2) = Y002/Y001 * 100%
                                             Cell Z002  (interaction between row 3 and column 2) = Y003/Y001 * 100%
    How I can set formula for column 2?
    I tried to define formula for each cell in column 2. It worked, but it takes too much time cause the report includes 3 column like column 2; and about 20 rows -> 3*20 cells need to define for each report like this???
    Is there any tool or formula variable i should  use instead?
    Thanks for any help
    HuyenTT
    Edited by: huyentt4 on May 17, 2010 11:22 AM

    Hi,
    there is no need to define the formula for each cell.
    Mark cell 1/1 (Plan revenue) Have no other cells marked. --> this is cell Z001
    Define column 2 formula as: Column 1 / cell Z001
    The formular will for line X take the plan value from line X and divide it by the plan value from line 1.
    I have lots of reports where I use this
    Regards
    Nikolas

  • Regarding Customer ageing report logic in R/3.

    Dear
    Experts
    i  have requirement to develop customer ageing  report logic for input 30,60,90,180,360
    i  don' t have any idea hw can i take these values  in input& hw can i caluclate the   values
    i  searched in  sdn, i did n't get any  suitable answer..
    Regards
    Spandana

    Hello,
    Go to transaction code FDI4
    Select Form Type RFFRRD20 Line item analysis
    Give your form name and description
    Structure (Two axis) - as defaulted
    Click on Create
    You will have lead column
    Delete the rows 2, 3 and 4
    Double click on column 1
    Enter the customer numbers from 1 to 999999
    First column double click  (A)
    Slelect following values
    Due date analysis 1
    Days for net due date 0 to 30
    Give the short name, medium name and long text for the column.
    Repeat this step in next columns like 31 to 60, 61 to 90, 91 to 120 and 121 to 99999 days etc in other columns and select due date analysis 1. (B,C,D,E)
    Create one more column by way of formula. To create a new column you need to double click on blue line. Put formula add all five columns you have created above. (F = ABCDE)
    You prepare one more column with
    Due date analysis 2 (G)
    Now you prepare one more column add (F+G) = This will be total open items = over due and not due.
    Now go to FDI1 and prepare a report - assign the form created in FDI4 to the report.
    Characteristics you need to select are
    Account Type (Select Account Type as D for customers)
    Currency
    Customer
    Document Type
    Special G/L Ind
    Company Code
    Change the output types and options according to your requirement.
    Refer FDI2 and FDI3 for other standard reports created.
    Refer FDI5 and FDI6 for other standard forms created.
    Save your report and execute.
    Regards,
    Ravi

  • Formulas in report painter - form

    Hello,
    does anyone know where I can add some formula components in KE35? I want to add some components to calculate new formulas.
    thanks a lot!
    David

    Hi,
    Good morning and greetings,
    In KE35 click on Extras Menu > Report Parameters > Click on Display Form
    For example in Net Revenue line double click to define the formula for the same.
    Please reward points if found useful
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • Formula - Crystal Report

    Hello all,
    I have report a for Sales by Sales Employees. The Sales Column is less VAT and I have used the formula (OINV.DocTotal/1.16) to get sales figure. NB. VAT = 16%
    However, I want to come up with a conditional formula to exclude invoices with zero rated items from being divided by 1.16. The logic should be as below:
    IF INV1.VATGROUP='O2' THEN OINV.DOCTOTAL
    ELSE IF
    INV1.VATGROUP='01' THEN OINV.DOCTOTAL/1.16
    Kindly assist me to achieve the above using the correct Crystal syntax. Thank you
    Regards,
    Henry

    Hi Henry
    The total vat in the document is OINV.VatSum.
    Rather than doing the division you could use OINV.DocTotal - OINV.VatSum
    Hope this helps
    Rob

  • Selection formula breaks report

    Hi all,
    I have a reporrt which basically outputs this...
    Fred Smith 0
    Tom Jones 3
    John Doe 2
    Mary Thing 0
    Peter Cupcake 1
    Now I only want to see entries that are flagged in the database with 0 so I'm trying to remove the others using this in the selection formula:
    not ({RMP.NO} in ["1", "2", u201C3u201D])
    But in Crystal this returns a blank report.
    Any ideas on what is going on here?
    Bill

    have you tried
    ({RMP.NO} ="0")
    Or Not ({RMP.NO}) in ["1", "2", "3"])
    maybe you made a mistake in ""? in the array
    Regards
    Jehanzeb

  • BFC: Cell formulas in reports

    Hello,
    I wonder if it´s possible to insert a cell formula (IF formula) in a BFC Report, which has a text as a result.
    Formula should look like this:
    = IF (A1 > 0 and B1 = 0; "YES"; "NO")
    I always get "Incorrect formula" as long as I use "YES" or "NO" as a result. As soon as I uses numbers, the formula works.
    Is this a normal behaviour?
    We are using SAP FC 10.0 SP09
    Regards
    Martin

    Hi Martin,
    According to FC10 Windows User Guide: "Note: Cell formulas do not enable you to display text. Similarly, they do not enable you to apply conditions to text."
    A possible workaround is setting text in Cell Format > Data > Display for positive, negative and zero values. In your case above, you can set formula in "control" cell as = IF (B1=0; A1; -1) and set cell Display as "YES";"NO";"NO".
    Best regards,
    Olga

Maybe you are looking for

  • Solution Manager 3.2 Displays XML Source

    Hello, we are about to setup the system landscape. In transaction smsy -> overview -> server -> service contract the sap gui displays no graphical components. it just shows the embeded xml code of the page. i'm not sure if its an internet explorer (w

  • Suspend2 and the new archck kernel (2.6.15) with initrd

    Hi everybody, Afret upgrade from archck 2.6.13 to 2.6.15 my system does not resume any longer. I think that I should follow the instruction at the http://suspend2.epfl.ch/HOWTO-2.html which says: Initrd/Initramfs's with Suspend2 Using an initrd with

  • Is it possible to get a virus on an ipod touch from just visiting a web page?

    or can a virus get onto my ipod that can watch  what i am doing an steal account passwords. i do, however, delete my cookies and data and history via safari settings about once a day.

  • KB2969339 status 0x800f0816.

    OS version Windows 8.1 64-bit on a desktop computer with four processors.  All the hardware drivers are currently up to date. Maybe I've grown paranoid of Microsoft software. Three weeks ago WORD 2010 crashed when it tried to save to the local disk a

  • Activating split valuation in material master (autom. batch valuation cat.)

    I want to activate the split valuation (automatic batch) in several materials. These materials have purchase orders, schedule agreements or production orders, etc... Is there any way to activate the split valluation without deleting all the related d