Formula in query

Hi All,
I have created a formula with NODIV and now i also want to add NODIM, how do i do that.
NODIV((b-a) '%A' b)..........how do i include NODIM in here..........i tried few combinations but no luck
please suggest

Hi,
try this:
NODIM( NODIV((b-a) '%A' b))
kind regards
Tobias

Similar Messages

  • Logical Formula at query level?

    I have requirment like if D =  0 then ' ' (SAPCE) else E / F.
    I dont know how to get space ?
    please help me to create this formula at query level?

    hi Hari,
    I am not really sure ,but u can try this...
    if D = 0 then ' ' (SPACE) else E / F.
    use the same formula and make it Zero instead of space and then in the Query properties replace Zero with Blank or Space Values.
    Rgds
    SVU123
    Edited by: svu123 on Sep 30, 2010 6:53 AM

  • Unable to write a formula in query designer

    Hi Experts,
    while writing a formula in query designer in development system there is an error.
    Formula is:
    Grand total =1
    when i write in the rows it is throwing the sytax error like " General syntax error in formula"
    But the same formula has been written in production( this query is not available in development so that i am designing the same query in the development system).
    some one give me an idea.
    Thanks

    Hi,
    As i checked with implementation team and they have written the formula it has been assigned like Grand Total = 1.
    i.e. Grand Total assign to 1.(But it is not Grand Total == 1).
    Thanks for your support.
    Thx
    Edited by: satya prasad on Apr 27, 2010 7:44 AM

  • Technical name for formula in query designer

    Hi,
    We have created some formulas in Query Designer.
    We tried to assign the technical names to these existing formulas, it goes away as the save button on the top of the pop up is disabled.
    Is there a way to assign technical names of the formulas created in the query designer.
    Regards,
    Charu

    Charu Pandey,
    Formulas are local, means available for particular queries only. No technical name.
    Create Calculated keyfigures instead of formulas..., so you can save with technical names.
    To display technical name in query, give discription same as technical name.
    Hope it Helps
    Srini

  • What is the Count function in formula of Query Design?

    What is the Count function in formula of Query Design?  Could someone gives an example?
    Thanks!

    Example :
    COUNT of
    Also, check :
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7e58e690-0201-0010-fd85-a2f29a41c7af

  • Formula in Query: New--Again

    Hello,
    Please refer to link:
    Formula in query
    please guide me as to how to handle the input date & the date difference?
    thanks,
    (posting it again as i am not able to assign points from the old post!!)

    Hi,
    Define a variable with ready for input option so that it during the runtime variable will ask for the inputs.
    hope this will be helpful.
    Vijay

  • Formula in query for Characteristics?

    Dear all,
    regarding customer service we report on a multicube. The query contains the keyfigures and among other characteristics the "Original confirmend delivery date" ZGUEDATU and the "Actual goods issue date" 0ACT_GI_DTE.
    How is it possible to build a formula to show the difference between those two characteristics in days?
    Thanks in advance for explaining the nessecary steps.
    Marc

    Hi,
    So many tims this question was asked in the forums .So you can get more than required info , if you search the forums.
    Here you need to create 2 formula variables.Both of them should have Replacement path as the preocessing type.
    So one variable should get the Key value of ZGUEDATU and other one should get the key value of 0ACT_GI_DTE.And then use a formula to do the difference above 2 formula varibles.
    With rgds,
    Anil Kumar Sharma .P

  • Logic in Formula at Query level

    Dear All,
                  We are creating query, we want to use the sum of working days for perticular machine iin formula.
    Machine No=M1,  Calendar=1/12/2009, out put=100, workingdays=1, average out per day(formula)
    Machine No=M1,  Calendar=2/12/2009, out put=105, workingdays=1,
    Sum                                                        out put=205, workingdays=2,
    Machine No=M2,  Calendar=1/12/2009, out put=100,    workingdays=1, average out per day(formula)
    Machine No=M2,  Calendar=2/12/2009, out put=101,    workingdays=1,
    Machine No=M2,  Calendar=3/12/2009, out put=105,    workingdays=1,
    Sum                                                        out put=306,    workingdays=3,
    We want to use the sum of working days each machine wise in the formula (Average out per day). please help me
    Thanks&Regards
    Subba Rao
    Edited by: subba rao koyalakuntla on Dec 21, 2009 5:41 PM

    Did you try activating the sub-totals at Machine Level.. that might give you the summary values you are looking for..
    alternatively, we can use some VBA code for this.. or may be macros can help you as well..
    I know this is not an answer.. but some alternative to how we can get there..

  • Value input for screen and to apply it to formula in Query Designer

    Hi Gurus !
    How could i input an value for screen in BEx and soon to apply it to formulas resident in cells in Query Designer, the result must be appear for each cell in the report.
    Thank You for your helps.

    create a variable with Manual/user input option.
    use its value to populate the calculated field.

  • Formula in Query Designer

    Hi Experts,
    I am confused in calculating
    Total sales/ net sales in bex query designer
    can you help me
    Regards,
    Anil Doddi

    Hi,
    if u need to create formula in BEx first u need to create structure. any section column or Row right click on it and create structure, then right click on structure and add formula, in which u can select the chara or kf on which u wanna create formula.
    hope this helps.
    KS

  • Formula in query result rows

    Hello All,
    I have a CKF or formala (I tried both) in a query.
    There are column 1 and column 2 and column 3 is multiplication of column 1 and column 2.
    there are multiple rows and and i see correct value of column 3 for each row.
    however in the result row, i want to display column 3 as sum of all rows in column 3.
    But it is calculating by multiplying result of column 1 and result of column 2.
    Please help.
    Thanks
    Raj
    Edited by: Rajiv Gupta on Apr 16, 2009 1:52 AM

    Hello rajiv,
    you have a problem like
    a | b | a*b
    3 | 2 | 6
    4 | 5 | 20
    7 | 7 | 26 (and not 49)
    to achieve this you can use cell references ..
    what you need to do is
    1. in your query designed click on 'cells' in you 'view toolbar' .... then you can go to cells and modify it
    you can find information about it at following link
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/5b/30d43b0527a17be10000000a114084/frameset.htm
    once you go to 'cells' tab ...right click on desired cell and create cell reference
    and put your formula as addition of all the values in column 3
    hope this helps
    regards,
    Swati.

  • Units for formula on  Query Designer

    Hello,
    how can show a specific unit for a value calculated as a formula on a query ?
    thx in advance
    cheers

    Hi Juan,
    Could you please give more details...what is the original unit and what do you want it to be...

  • Formula in query result

    Hi all,
    The single cell of key figure in my query is calculated with a formula. I need to calculate every result of this key figure with another formula.
    How can I use a different formula for result respect the formula of single cell in the column?
    Thanks a lot
    Gianmarco

    Hello rajiv,
    you have a problem like
    a | b | a*b
    3 | 2 | 6
    4 | 5 | 20
    7 | 7 | 26 (and not 49)
    to achieve this you can use cell references ..
    what you need to do is
    1. in your query designed click on 'cells' in you 'view toolbar' .... then you can go to cells and modify it
    you can find information about it at following link
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/5b/30d43b0527a17be10000000a114084/frameset.htm
    once you go to 'cells' tab ...right click on desired cell and create cell reference
    and put your formula as addition of all the values in column 3
    hope this helps
    regards,
    Swati.

  • Formula in Query row suppress the formula in Query column

    Hi all,
    I have a problem that I hope you can help me with.
    I have created a query to report the following in the row:
    - Units    (reading the data from a cube)
    - Gross Sales (reading the data from a cube)
    - Discounts   (reading the data from a cube)
    - Net sales    (a formula = Gross Sales - Discounts)
    - Net sales/units  (a formula = Net sales/Units)
    In the column, I want to compare 2 version: Plan and Actual. Thus in the column, I have the following:
    - Actual (restricted with 0VERSION=001, 0FISCPER=001.2007-012.2007)
    - Plan (restricted with 0VERSION=999, 0FISCPER=001.2007-012.2007)
    - Actual - Plan (a formula = Actual - Plan)
    I do not get the correct result for Net Sales/Units. The reason, for as far I can analyze is because the formula in Row suppress the formula in Column.
    Thus what happened:
    'Description';   'Actual';           'Plan';         'A-P(should be)';      'A-P(current result)'
    'Units';               200;                150;                50;                          50
    'Gross Sales';    100000;            75000;             25000;                    25000
    'Discount';           20000;            10000;             10000;                    10000
    'Net Sales';          80000;            65000;             15000;                    15000
    'Net Sales/Unit';     400;             433,33;             -33,33;                     300
                                                                                    As you can see from the example above, I cannot get the correct result in the Actual - Plan column.
    Do you know which formula/setting that I can use to get the correct result?
    Any help/advice will be highly appreciated.
    Thank you very much in advance.
    Fen

    Sanyoto,
    Use formula collision - in the K concerned right click - select properties and then you will ind a "Formula collision" dropdown in the bottom part - select the appropriate ormula for the same there.
    Arun

  • Add Local Formula in Query

    Hi,
    I am trying to use "Add Local Formula" in my query to add three columns. However there is a row that calculates percentage using the rows above. Using the "Add Local Formula" its adding all the percentage amounts (505050=150) instead of calculating it (using the new figures in the column). How can I fix this?
    Thanks

    Hello,
    Try changing the property of keyfigure..."Calculate Result as"

  • Local formula in query view

    Dear all,
    I create query view in bex analyzer.
    when I create the query view, I add local formula.
    I use the query view in WAD.
    The problem is when I run the WAD, my local formula is gone.
    is there a setting to show my local formula in WAD ?
    please advice
    Regards,
    -Dedys

    Hi,
    There is no seeting as such in WAD.
    Just check that you are includeing the correct query view.
    I would suggest just close your query designer after saving the changes in view.
    After that open the WAD and include the query view again as data provider. It will show the current save version of view.
    Some times while including in WAD it picks up the last version of object. SO just try this once.
    I hope it will help.
    Thanks,
    S

Maybe you are looking for

  • Class Definition / Exception?

    Hello. I have just moved a few java pages from a linux server to a windows server. That is a scary thing because I know almost nothing of java, but it went fairly smoothly except for a few small issues some of the pages. I get the following error and

  • Tax procedure for ECC-6.0

    hello everybody, can anyone tell me what is the tax procedure for ECC-6.0. ia m confused whether it is TAXINJ or TAXINN.

  • Workflow not starting for invoice posting through MIRO...

    Hi, I have a blocked invoice workflow in Release status. The business object BUS2081 is used and POSTED event is activated in the workflow. Hello Gurus, Now when I try to post invoice through MIRO, the workflow does not start. I go to top called serv

  • Imovie not communicating with iphoto?

    I just imported a CD of photos into my iphoto application and ever since then, I can't seem to get imovie to work with it. When I click on the camera icon, it says "loading iphotos", but never gets any further. Just stays in that "thinking" mode. I h

  • Login issues with v2.06

    I have an N8 with the most recent firmware, after updating the to the new version of ovi store i can no longer login. It simply bounces me back to the front page and upon a second attempt to login the button doesn't respond at all. Is anyone else hav