Formula Options in Query Designer

Hi,
Can anyone please tell me while craeting a formula we have % option and %A option. Where do we use %A option?
Thanks

please go thr these threads
Percentage Share (%A)
● <Operand1> %A <Operand2>
This gives the percentage share of operand 1 and operand 2. It is identical to formula 100 *
<Operand1> / abs(<Operand2>) , if <Operand2> is not equal to 0 and the character for u201CDivision
by 0u201D if <Operand2> is equal to 0
Re: Margin%

Similar Messages

  • How to assign current date/time to a formula variable in Query Designer

    How do I assign the current date to a formula variable in Query Designer? I need to use current data in a calculation and just need the date the report was run.
    Thanks

    Hi Philip,
    There is an SAP formula variable to supply the current date in a formula. I think it is 0F_ADAY...install it from business content if you cannot see it in the query designer (formula box, under formula variables) and try using it.
    Hope this helps...

  • Curerency conversion for a Formula in the query designer

    Hi
    I have a ' Financial Loss Formula' in the report. I want to convert this 'Financial Loss' into USD Currency at query designer level.
    Source Currency = SAR
    Target Currency = USD
    So how can i do the curerency conversion for a Formula in the query designer.
    pls let me kow
    kumar

    Hi,
    If you define your query conversion in BW then it is easy to do currency conversion through Bex.What you need to do is use calculated key figure instead formula and do a right click select properties there at the currency translation area you ca select defined currency conversion in BW and your target currency.
    /people/rasim.manavoglu/blog/2007/04/30/currency-currency-currency
    Regards.

  • Creating formula in the Query Designer

    Hi,
    I have a KF which I have to convert in to different unit in the query ( x/data)
    The problem is some of my data in the cube is zero (0) and when I use division, it shows me error (red X) in the query output.( Divide by zero)
    Is there any way to skip this division if the data is zero? How can I set my formula in the Query designer?
    Thanks
    M Kumar.

    Hi,
    Please use the NDIV() or NOERR() function outside of your expression and it will take care of the division by zero.
    See here for details:
    http://help.sap.com/saphelp_nw04/helpdata/en/03/17f13a2f160f28e10000000a114084/content.htm
    Hope this helps...

  • Fox Formula Variable In Query Designer

    Hi Experts,
    I have created 1 variable in fox formula of type VARV and i want this Variable to show in query designer while creating new Variable so that i can replace the Query Variable With Fox Formula by Using Replacement Path.
    While Creating new variable in Query Designer it is not Showing that Fox Formula variable.
    Because i want to use this in WAD While Executing the Planning Sequence.
    Is there any way we could get That Fox Formula variable in Query Designer.
    Regards
    Girish

    Hi Marc,
    While Creating Variable from Query Using Query Properties it is still not Showing That Variable in Fox Formula.
    And My Requirement was to Replace that Fox Formula Variable With Query Designer Variable.
    Please Suggest any Solution.
    Thanks
    Girish

  • Formula Evaluation in Query Designer

    Hi
    In query designer I have Complex formula which is having lot of variables.
    My users are saying some values are incorrect in report output
    Can any one help how can we find the value is calculated in report output for this formula.
    Thanks
    Sudhakar.

    Hi Sudhakar,
    One more way which you can try to find out how the particular Key Figure is been calculated in query designer is as given below:
    1) Go to RSRT
    2) execute your query with option for Query Display As "List"
    3) You will get the query output
    4) In this screen, you will get the button "Key Figure Definition" on the top
    5) Click on this button and there will be a pop up screen to select "Structure Element 1" and "Structure Element 2"
    6) Here for "Structure Element 1" please select the KeyFigure name for which you want to see the calcuation
    7) and click on the "Continue" (Here its blue colored icon)
    8) After this you will get a screen showing KF value that is calculated by query
    9) Drill down the key figure to see "Fixed Fliter" which will show the data selection used to calculate this value. These are nothing but the global filters defined in query
    10) Drill down the KF to see the dynamic filter values i.e. selections with which this KF is restricted in query designer
    With above analysis you can easily trace out how the particular KF is calculated in query designer.
    Regards,
    Geetanjali

  • Formula creation in Query designer

    Hi All
    I want to explain a bit more on my requirement .
    I have supplied qty and ordered qty and i have the difference between both which is called as service level as %. there will always be 100% for some suppliers and lessthan 100% . So i want to count only the 100% suppliers and divide by all the suppliers . so that i can get the perfect order . and the formula is below .
    I need to apply a formula line count with 100% / line count in one of my querys how to do it the qury designer . Can you anybody guide how to do it .
    Thanks in advance . I am sorry if i have posted in the worng fourm .
    thanks

    you must be having an  infobject refering to say supplier say supplier no. ( like customer number).
    STEP 1: create a new CKF ( formula in query designer on right columns panel)
    STEP 2: create a formula variable with reference characteristic as supplier no . replacement path replaced with infobject->attribute value - constant 1.
    STEP 3. you CKF  " NO OF SUPPLIERS"  definition would be as below
    supplier counter .
    STEP 4. identifying 100% suppliers.create a new CKF  " NO OF 100% SUPPLIER " ( formula in query designer on right columns panel).
    it definition would be
    supplier counter * ( ordered qty == supplied qty ).
    where supplier counter is formula variable. this will give total counts of supplier where ordered qty == supplied qty.
    STEP 4.
    divide CKF  " NO OF 100% SUPPLIER " / " NO OF SUPPLIERS"

  • Formula Variables in Query Designer

    Hello All-
    I'm using a formula variable in my report which is of type user exit.  In my FM, I am calculation some Sales Growth Analysis based on some rates from the TCURR table.  In short, I am calulating "FX Rate" for each currency (USD, EUR etc) I have in my cube.
    In the end, my e_t_range table will contain an "FX Rate" for each currency...in many cases the table will hold more than one value.  The problem is that my query dumps if I have more than one value in the e_t_range table.  I've used regular user exits before on Chars and I was allowed to have multiple entried in the e_t_range table.  What is the nature of formula variables?  Is it the case that I can only pass one value to my query with formula variables?

    Hi,
    Once Bex 3.5 query is opened in Bex 7.0, you can't open the same query in Bex 3.5. If you are still able to open the query in Bex 3.5 means you have not opened it in Bex 7.0.
    Please check it while opening a query in Bex 7.0. It would ask you question " Do you want open bex 3.5 query in Bex 7.0?
    Hope it is useful.
    Thanks,
    Ashok

  • Formula in BEx Query Designer

    Hi Friends,
    I have a requirement to create a formula, that checks the following condition.
    1) if Keyfigure A is 0 and Keyfigure B is 0 then the Value of this Formula should be null(blank space).
    2) if Keyfigure A is 0 and Keyfigure B is NOT 0 then the Value of this Formula should be 0.00
    i have written the following
    1) I dont know how to display blank space...
    2) (A == 0) AND (B == 0)*0
    Can you please tell me how to achieve this (1) and if the (2) formula is right.
    Thanks in Advance.
    Regards,
    Vinaya Paulraj.

    what product you use, "crystal Report" or wat
    if crystal reprot
    then you can use this formula
    if a=0 and b=0 then null
    else 0
    and you can fix the format of the formula to 0.00
    hope this helps you
    good luck

  • Query Designer writeing formula takes very long time

    Experts,
    When i try to write a formula. The query designer is taking very long time to navigate.
    One formula is taking 20 mins to write.
    1. I have upgraded my laptop memory to 2 GB of Ram
    2. I am on 7.10 SP4 Patch 1. Had the same issue with the previous versions.
    Please suggest a resolution.
    The QD has tested my patence. I am sure no body wants to create a query for 2 days. There has to be a problem somewhere causing this.
    Thank you.

    Vinod,
    Save the query and then exit BW sessions, also restart your system.
    It might be a problem with main memory of your laptop or BW server load.
    But 20mins is too long for any kind of definition in query designer.
    Please check these things, perhaps it helps.
    Thanks,

  • Query Designer Formula Logic

    Hi
    I have the following data and the status of the formula should be 1 or 0.
    Cancel Date : 05/31/2011
    Formula  : cancel date >=today's date                             
    Cancelled(Yes =1/No= 0) : 1
    Cancel Date : # (no date assigned)
    Formula  : cancel date >=today's date                             
    Cancelled(Yes =1/No= 0) : 0
    Cancel Date : 06/30/2011
    Formula  : cancel date >=today's date                             
    Cancelled(Yes =1/No= 0) : 0
    i tried the following formula in the query designer 7.0 but second condition gives 1 instead of 0.
    DELTA ( COUNT (cancel date >= today's date)).
    I am not able to find a better solution, please suggest.
    Thanks!
    Edited by: bwcrm01 on Jun 1, 2011 6:28 AM

    Hi,
    Here todays date is 06/01/2011 right? Shouldnt then be 1, 0 other way round for 1 &3.
    Cancel Date : 05/31/2011
    Formula : cancel date >=today's date
    Cancelled(Yes =1/No= 0) : 0
    Cancel Date : 06/30/2011
    Formula : cancel date >=today's date
    Cancelled(Yes =1/No= 0) : 1
    Anyways, Cancel Date is present as a Characteristic or KF? If Char, you can create the RKF, add above CKF in a RKF with Cancel Date NE #. This will give 'Blank' not zero when Cancel date = #.

  • Cell Definition in Query Designer

    Hi,,
    Can anyone will tell me the real time use of cell definition option in query designer.
    Thanks and Regards.
    Anjali

    Anjali,
    You can use cell definitions when you want to overwrite the value of a particular cell.
    For this you need to have an identification of where the cell intersection takes place. So for defining cell definitions its mandatory to have two structures in the report.
    Now coming to the scenario,
    You have GL accounts in the rows structure and the key figures amount, deductions and some others.
    Rows-----Amount--
    Deductions
    1001--20000--
    100
    1002--15456--
    4363
    1007--64334--
    252
    1005--36643--
    34
    1111--43436--
    343
    This is what the report displays for a particular year the user enters e.g 2007.
    But for a GL account 1005 the user wants to display the amount for the last fours years.
    The out put for amount for the GL account 1005 displays only 2007. The requirement is that it should display the summed up values of 2007,2006,2005,2004.
    To get this out put we go for cell definitions and in the intersection of the 1005 GL account and amount we define a cell definition. Based upon the requirement we define the cell definition...
    Hope this helps you.......

  • Currency conversion in the query designer level

    Hi
    Iam calculating the 'Financial Loss' in the Formula in the query designer.And it comes in SAR(Saudi Riyals).
    But i want the 'Financial Loss' in USD in the Query Designer. Because i want the USD Financial Loss to be use in some other calculation.
    Please let me know how can we do this one in the query designer. I really appreciate for it .
    Regards
    Kumar

    Dear Ravi,
    Basically there are 2 ways to do it: routine & query level.
    If query level, you need to maintain it first using tcode RRC1, then you use it in your KF in your query. .
    Routine level,
    You can create new KF in info-provider, then in the update rules routine, you can use this function to convert the currency :
    CONVERT_TO_LOCAL_CURRENCY
    Hopefully it can help you a lot.
    Regards,
    Niel
    thanks for any points you choose to assign.

  • BEx Broadcasting in portal PDF format thrugh Query designer

    hi,
    i have a problem in sending a query as a mail using broadcaster in pdf format through portal
    The steps to reproduce:
    from Query designer executing a query , it takes me to portal screen, there right click on the report and Broadcast and Export->Broadcast Email..Then a new window opens with BEx broad caster.From that  if i select the Tab Information Broadcasting, there is a Description :No BW object selected, select a template ,Query or a workbook. "  If i open Setting Web Template Tab: and if i  select from HIstory 0BROADCAST_TEMPLATE70 or Stanard Web Template for Broadcasting>Transfer-->then i am getting the new window as Distribution Type: 1.Broadcast Emai 2. Broadcast to portal.. , And Output type1.MHTML 2.HTML 3. Online Link to Current Data.
    But i am not getting  Output Format "PDF",
    guide me what to do to get the PDF option as OutputFormat.
    where i am getting these  options in Query designer itself Query-->Publish. but not in portal when calling portal through query designer by executing a query..
    Thanks in advance

    Hi,
    Think these below links will help you.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/8053f46f-0701-0010-a697-9b33f8b7d2f5
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b03ff263-1e5d-2a10-0d89-a1d4424b101b
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40d5d4dd-5d55-2a10-0cac-8639377bd5b7
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/664db870-0701-0010-ed92-daa4ea9fde8d
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/296edc90-0201-0010-7982-c6dc0b288296
    /people/sap.user72/blog/2005/12/23/summary-of-new-features-for-information-broadcasting-in-sap-netweaver-2004s
    /people/community.user/blog/2006/12/28/exception-broadcasting-in-sap-netweaver-2004s
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0bfcac90-0201-0010-52a3-d5b270b86ef3
    Kind Regards,
    Shanbagavalli.S

  • Fromula SumGT SumCT in Query Designer

    Hi Folks,
    I have two formulas in the Query Designer.
    Formula A with exception aggregation on Material (Count) and didnot use calculate result as Field ( but it is showing some value in the result(count) ) & Formula B with calculate result as total.
    Now, Want to calculate the Result of Formula A / Result of Formula B.
    Have tried using SUMGT & SUMCT in the Formula.
    i.e, SUMCT 'Formula A' / SUMCT 'Formula B'. O/P is showing Zero.
    How to achieve this.
    Please throw some light in this regard.

    Hi,
    See the Properties... in Formula Collision
    Whenever you define two structures that both contain formulas, it is unclear to the system how to calculate the formulas at the point where both formulas intersect.
    See the below URL in SAP help...
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d2/02223c5f00612be10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/71/0aec3b6e011341e10000000a114084/content.htm
    Thanks
    Reddy

Maybe you are looking for

  • I can't access any of my InDesign files

    Hi there, This morning I turned on my work computer only to discover I couldn't access any of my Indesign, photoshop or illustrator files, despite the fact that some of the files were saved on both the computer and an external hard drive. There's now

  • How do I bulk upload documents using PowerShell and extract metadata from file name?

    I have a requirement to upload a bunch of documents into a document library. Based on the content type, the rules of updating the metadata is different...the one giving me trouble is to extract the metadata from the file name. If I have a file name l

  • Lightroom 1.1 Slideshow Issues

    Hello, When I click the "play" arrow, or "Impromptu" key from the top tool bar, or "Play All" icon from the right hand of the screen, or any other attempt to get my slideshow to play, all I get is a black screen. I hit "escape", and it immediately go

  • Radius with netware 5.1 sp8

    how to install radius to netware 5.1 sp8? best regards wildie70

  • Mac desktop won't start

    I have a Mac desktop that won't go past the gray screen. Tried safe boot did nothing. So tried starting from installation disk and using disk utility. I get to when it asks you to select to disk, volume or image and I select Macintosh HD or if I sele