BEX Formula not working

Gurus,
My formula in Bex is not giving me any results, here is what I defined
Margin Price = Price 1 + price 2  - (price 3 * quantity_shipped)
When I check the query for errors, it's saying Margin Price is not correctly defined. Can you please let me know how to define this correctly?
I am able to display all pricing KF (Price 1, Price 2 and Price 3) columns correctly in the query but the formula is giving me an empty cell.
Thanks,
Chris
Edited by: chris Kol on Dec 26, 2008 3:27 PM

Hi Chris
It seems to be your input keyfigures(price1,price2,price3) are coming with different dimensions or different currencys thats way it not working properly use nodim function.
If thats not the case check weather your query properties are configured for -ve value are not logically it should display though its negative values but in some extreme cases there is possibility that the setting is made in such way that no negative value is displaying teh query out put level.
Hope its clear a little..!
Thanks
(P159793)K M R
**Assigning points is the only way of saying thanks in SDN***
>
Kris Kol wrote:
> Gurus,
>
> My formula in Bex is not giving me any results, here is what I defined
>
> Margin Price = Price 1 + price 2  - (price 3 * quantity_shipped)
>
> When I check the query for errors, it's saying Margin Price is not correctly defined. Can you please let me know how to define this correctly?
>
> I am able to display all pricing KF (Price 1, Price 2 and Price 3) columns correctly in the query but the formula is giving me an empty cell.
>
> Thanks,
> Chris
>
> Edited by: chris Kol on Dec 26, 2008 3:27 PM

Similar Messages

  • Formula not working in report

    In one of the report, there is a formula added as
    v_Hide:= If [v_ResourceSum]=0 And v_CTier="Not Alighned" and IsNull([v_LatestAnalystCycle]) then "Hide" Else "".
    Then this filter is added on the report to exclude when v_Hide="Hide"
    This formula is not working.
    Using BO 4.0

    Hi Pritesh,
    once the field V_HIDE got populated.
    Modify the internal table with the field value.
    You can use the below statement to filter the contents of the internal table.
    Delete <internal_table> where v_hide IS NOT INITIAL.
    Thanks,
    TK Agarwal

  • BEx Analyzer not working in SAP GUI 7.10

    Dear All,
    BEx Analyzer 7.0 is not working on SAP GUI 7.10. Following are the details:
    OS: Windows XP SP2
    Installed the following softwares (in the sequential order):
    1. Microsoft .Net Framework 2.0 SP1
    2. MS Office 2003 (without any service packs)
    3. SAP GUI 7.10 (used SAPAllSetup.exe) to install both BEx Analyzer 3.5 and BEx Analyzer 7.0 alongwith SAP GUI 7.10.
    While BEx Analyzer 3.5 runs fine, 7.0 does not.
    Upon running BEx Analyzer 7.0 from the Programs menu, I see a toolbar on the left hand side on MS Excel in German. Whenever I click on any button, they do not respond.
    When I tried to install update for Office 2003 (KB907417), I received the message stating the patch has already been applied.
    I also applied SAP GUI 7.10 Patch Level 8, but still the problem remains the same.
    Running Tcode RRMX from the SAP GUI opens MS Excel with both the toolbars of 3.5 (on top) and 7.0 (on left). As before, 3.5 works fine, while 7.0 does not.
    Do I need to install Office SP2 or SP3, as well? Or something else? Any solutions?
    Thanks and Regards,
    Sachin.

    Hi All,
    This problem is due to .NET 2.0 assembly(nothing but .dll's),
    Step1 : Check if you can see this C:\WINNT\assembly\GAC exists
    If it does and still getting the error, then follow these steps,
    1) Uninstall office03
    2) Uninstall GUI
    3) Uninstall .Net 2.0
    4) Reboot
    5) Install .dll(WindowsXP-KB935448-x86-dll.exe) fix(this is due to .net1.1 and 2.0 coexistence)----- only if u get a critical message at startup.
    5a) Reboot
    5b) Install .net1.1
    5c) Reboot
    5d) Install .net2.0
    5e) Reboot
    6) Install office 03
    6a) Reboot
    7) Install .PIA's (O2003PIA.MSI)
    7a) Reboot
    8) Install setupall.exe for GUI
    9) Install KB907---- (office2003-KB907417-FullFile-ENU.exe)
    10) Reboot
    Let me know if you encounter any problems.
    OR....
    Update the Latest Patchs of GUI & Bex.
    BI710SP03_300-10004472.EXE
    bi710sp04_400-10004472.exe
    gui710_6-10002995.exe
    Hope it helps you...
    @shaik

  • Formulas not working in Reader

    I have a simple formula that I've created in Acrobat that adds a user's input in 3 cells and displays the result in yet a 4th cell. The formula is not working once I open the pdf in Reader. I've used "Extend Features in Adobe Reader" but that doesn't seem to make the formulas function in Reader. Any suggestions?

    Is JavaScript and/or automatic calculations enabled for Reader? If so, can you post the document online somewhere (e.g., Acrobat.com) so we can check it out? If not, I'd be interested in looking at it if you're free to send it by email. My address is in my profile.

  • Formula not working in Adobe FormsCentral

    I have a formula which I have embeded into my PDF Form using Adobe Acrobat. All is fine and dandy in Acrobat, but the formula does not work when it is imported and converted for FormsCentral, I have to manually calculate the formula into the field which completely throws a wrench into the automation process that I am trying to create. My job is to issue Certificates of Completion, the form I have created has fields where I can submit the name, address, and use a formula to calculate the overall GPA to see if the person qualifies.
    FormsCentral gives you the ability to export your collected responses into a spreadsheet for Excel. By submitting the address along with the name and qualifications, I am able to use this data to create and automate shipping labels for all qualified students using Excel and Word in an instant. Having to manually calculate this data can result in human error, such instances can occur if you're processing over a hundred certificates per quarter.
    My initial impress that I got from upgrading to the premium version of FormsCentral was that I would be able to collect the same data that I have setup in my PDF form using Acrobat, but that doesn't seem to be the case.
    Formulas are by far the most important feature to have in my opinion as they are used for automating a workflow and eliminating human error.

    OK, here's a custom calculation script you can use in the text field after you remove the export values from the dropdowns:
    // Custom calculation script for text field
    (function () {
        // Object to associate a letter grade to a numeric value
        var oGrades = {
            "A+": 4, "A": 4, "A-": 3.7,
            "B+": 3.3, "B": 3, "B-": 2.7,
            "C+": 2.3, "C": 2, "C-": 1.7,
            "D+": 1.3, "D": 1, "D-": 0.7,
            "F": 0
        // Get the field values from the dropdowns
        var v1 = getField("Crim_I_Grade").value;
        var v2 = getField("Crim_II_Grade").value;
        var v3 = getField("Sight_C_Grade").value;
        // Get the corresponding numeric values from the Grades object
        // Default to 0 if the letter grade isn't found in the object
        var v1a = oGrades[v1] || 0;
        var v2a = oGrades[v2] || 0;
        var v3a = oGrades[v3] || 0;
        // Calcualte and set this field's value, rounded to two decimals
        event.value = util.printf("%.2f", (v1a + v2a + v3a) / 3);
    This isn't necessarily the most efficient code, but I wanted to make it easy to follow. It rounds the result to two decimal places. Let me know if you have any questions about it.

  • BI 7.0 Bex Analyzer not working with excel 2007

    Hi All,
    I have installed the BEX 7.0 with MS office 2007 but the Analyzer is not working. The open file symbol does not give any option on the click.
    Please help.
    Regards,
    Abhishek

    Hi Abhishek,
    This is a BEX Add-in problem.
    Follow the below step....
    1. Copy the Tool
    2. Change the Tool.xls into the Tool.xla
    3. Copy the Tool.xla file
    4. Open My Computer window
    5. Navigate to the following folder
    a. C:\Program Files\Common Files\SAP Shared\BW
    b. Paste Tool.xla file into this folder
    6. Open Bex Analyzer
    7. Open a Query or Workbook
    8. Click on the u201CToolsu201D Menu on the Top
    9. Select u201CAdd-Insu201D from the Tools menu
    10. Click Browse from the Add-Ins window that opens
    11. Browse to the file you just saved
    a. C:\Program Files\Common Files\SAP Shared\BW\ Tool.xla
    b. Click Ok to continue
    12.The Tool for Excel should not be checked in the Add In window
    13.Click Ok to continue
    14. Close
    15. Re Open Bex Analyzer
    16. The Tool command should be displayed at the top of the Tool Bar
    17. Close Bex Analyzer
    18. Open Excel
    19. The Tool command should be displayed as well at the top of the Tool Bar.
    Hope this helps...
    check the below link 
    http://www.sytecpa.org/software/BWInstructions/Installing%20the%20SAP%20BEx%20Analyzer%20Excel%20Add-In.pdf
    Regards
    KP

  • Pages to Numbers formula not work

    I have a table prepared in Pages (on macbookpro), that i have cut and paste into Numbers using IOS iPhone. Formula will not work as the cells treat the numbers as text, and i need to type them all in manually (format will not work either as the cells revert to text).

    It will probably put it in the portal repository under the "new" provider. For example, if your page group that the navigation page is under is displayed as "My page group", under the "new" portlet provider you should see a "My Page Group" portlet folder.

  • Second part of formula not working

    Good morning
    I have this formula below
    IF IsNull({GfCnSpSpBio.GfCnSpSpBio_IDKEY}) and {GfCnBio.GfCnBio_Key_Indicator} = "I" then
    {GfCnBio.GfCnBio_Title_1} + " " + {GfCnBio.GfCnBio_Last_Name}
    else if {GfCnSpSpBio.GfCnSpSpBio_Spouse_ID} <> 0 and {GfCnBio.GfCnBio_Key_Indicator} = "I"
    then {GfCnBio.GfCnBio_Title_1} + " & " + {GfCnSpSpBio.GfCnSpSpBio_Title_1} + " "+{GfCnBio.GfCnBio_Last_Name}
    This part of the formula in crystal reports is not working, the salutation just shows up as blank.  Does it have to do with a JOIN with teh tables.
    else IF ({GfCnBio.GfCnBio_Key_Indicator} = "O"  //Organizations
    AND IsNull({GfCnRelCt_1.GfCnRelCt_1_Title_1}) OR isNull({GfCnRelCt_1.GfCnRelCt_1_Last_Name}) )THEN
        "Supporter"
    ELSE
      {GfCnRelCt_1.GfCnRelCt_1_Title_1} + " " + {GfCnRelCt_1.GfCnRelCt_1_First_Name} + " " +
    {GfCnRelCt_1.GfCnRelCt_1_Last_Name} + ",";
    I am not sure what i am doing wrong here.
    Thanks

    Thank you for your help.
    I used the formula below and it worked
    IF IsNull({GfCnSpSpBio.GfCnSpSpBio_IDKEY}) and {GfCnBio.GfCnBio_Key_Indicator} = "I" then
    {GfCnBio.GfCnBio_Title_1} + " " + {GfCnBio.GfCnBio_Last_Name}+ ","
    else if {GfCnBio.GfCnBio_Key_Indicator} = "I"
    //{GfCnSpSpBio.GfCnSpSpBio_Spouse_ID} <> 0 and {GfCnBio.GfCnBio_Key_Indicator} = "I"
    then {GfCnBio.GfCnBio_Title_1} + " & " + {GfCnSpSpBio.GfCnSpSpBio_Title_1} + " "+{GfCnBio.GfCnBio_Last_Name} + ","
    else IF ({GfCnBio.GfCnBio_Key_Indicator} = "O"  //Organizations
    AND IsNull({GfCnRelCt_1.GfCnRelCt_1_Title_1}) OR isNull({GfCnRelCt_1.GfCnRelCt_1_Last_Name}) )THEN
        "Supporter"
    ELSE
      {GfCnRelCt_1.GfCnRelCt_1_Title_1} + " " + {GfCnRelCt_1.GfCnRelCt_1_First_Name} + " " +
    {GfCnRelCt_1.GfCnRelCt_1_Last_Name} + ",";

  • Formula not working, Plz help

    Hi all i have one scenario for formula$
    I am calculatingYTD value in period dim and one more dime CATGORY and INDICATOR
    scenario is wen indicator member is ID3 we have to calculate ytd values and we have to displaythe values for ytd crossing(which is in cat dim)
    Structure$
    TIME
    2009
    YTD09
    CATOGORy
    ....Mtd
    ....;;YtD(formula)
    ......y_tech
    indicator
    Id12
    ....ID121
    ....ID123
    ..........1231
    ..........1232
    ID3
    ....ID31(+)
    ....ID123(/)(sheredmember)
    iam using formula
    iif([INDICATOR].currentmember=[ID-3],[Ytd09],[y_tech]) , its validating
    but its not working , I am new to mdx formulas , plz can any one help on this
    can any one give the link for mdx formulas syntax and sample formulas
    Thanks
    Edited by: user8815661 on 26 mars 2010 06:19
    Edited by: user8815661 on 26 mars 2010 06:33

    I am not sure what your complete formula looks like,
    But in your IIF = condition, use OR instead of commas - pretty basic, dont know for sure if it will work.
    post your formula if you need more help

  • Formula not working in conversion file

    Hi,
    I had given the formula to divide the values with 50. But its not working.
    *OPTIONS
    FORMAT = DELIMITED
    HEADER = YES
    DELIMITER = ;
    AMOUNTDECIMALPOINT = .
    SELECTION= 0FISCYEAR,2010;0LOC_CURRCY,INR;0FISCPER3,7;
    SKIPIF =
    VALIDATERECORDS=YES
    CREDITPOSITIVE=YES
    MAXREJECTCOUNT=
    ROUNDAMOUNT=
    CONVERTAMOUNTWDIM=P_ACCT
    *conversion file
    EXTERNAL     INTERNAL     FORMULA
    *     *     VALUE*50
    Anurodh
    Edited by: Anurodh Jindal on Aug 27, 2010 12:29 PM

    FORMAT = DELIMITED
    HEADER = YES
    DELIMITER = ;
    AMOUNTDECIMALPOINT = .
    SELECTION= 0FISCYEAR,2010;0LOC_CURRCY,INR;0FISCPER3,7;
    SKIPIF =
    VALIDATERECORDS=YES
    CREDITPOSITIVE=NO
    MAXREJECTCOUNT=
    ROUNDAMOUNT=
    CONVERTAMOUNTWDIM=
    *MAPPING
    Category = *NEWCOL(ACTUAL)
    DOC_CURR = *NEWCOL(INR)
    Entity = 0COMP_CODE
    IntCo = *NEWCOL(NONE)
    P_ACCT = IF(0FUNC_AREA=Str(P) then Str(EP-)+col(22,1:6);0FUNC_AREA=*Str(S) then Str(ES-)+col  (22,1:6);0FUNC_AREA=*Str(A) then Str(EA-)+col(22,1:6);*col(22,1:6))
    P_DataSrc = *NEWCOL(INPUT)
    RptCurrency =*NEWCOL(IGAAP)
    Time = 0FISCYEAR*str(.)0FISCPER3
    SIGNEDDATA = 0DEB_CRE_LC
    Planning_Entity = *NEWCOL(P_CORP)
    P_Activity = *NEWCOL(AMOUNT)
    *CONVERSION
    Time = Time.xls
    P_ACCT = P_ACCT_Anurodh_Jindal.xls
    Now i am getting 0DEB_CRE_LC from BI and i need to divide it by 50.

  • BEx analyzer not working on GUI 7.10

    Hi,
    We install BI 7.0 now we want to use BEx analyzer , we installed SAP GUI 7.10 on windows XP
    after running BEx analyzer wehn we try to open it's not working and toolbar is in german language.
    Is any problem with GUI?
    regards,
    ajay

    We also had the very same German toolbar issue. We are using both Bex 3.5 and BI 7.0 with SAPgui 7.10
    We traced the German toolbar issue to the following Microsoft Fix. Make sure that Microsoft fix 907417 is on all PCs you are deploying the new GUI on (can be downloaded from Microsoft Help and Support under http://support.microsoft.com/kb/907417/).
    The following are also preqrequisites are for 7.10 but I am guessing you got past this as the bi will not even install if these are not met. Microsoft .Net 2.0 components are required at a minimum with .Net 3.0 also being acceptable.  Make sure that all Microsoft Windows Updates for .Net components are also applied.
    With regards,
    Steven

  • Dynamic Calc Member in formula not working

    Hello,
    I am having an issue trying to calculate a dynamic calc member in a calc script.
    Lets say this is our outline:
    OC_GRANDPA (Dynamic Calc)
    OC_PART1 (Dynamic Calc) (+)
    Child1 (Calculated at top of calc script - STORED member) (+)
    Child2 (Calculated at top of calc script - STORED member) (+)
    OC_PART2 (Calculated in middle) of calc script - STORED member [NO CHILDREN] (+)
    I need to use OC_GRANDPA in a formula
    Final = OC_GRANDPA * .05 Rate;
    It is giving me 0 when I run the calc the first time and works if i run it a second time. Is this issue two dynamic calc members? I tried making them twopass and no luck either. I really do not want to make them stored then do a calc dim (accounts) in my calc script. Any other ideas?? If I make my formula use the level 0 members and not the OC_GRANDPA it works but that is not good coding in case I added more Children Id like to automatically pick up. PLEASE HELP!!!! Thanks!

    Thanks Cameron! I think I actually posted my mini hierarchy incorrectly as I am trying to put a formula on a different member under grandpa that has no children. Regardless it kept coming up zero -- all of the level 0 members are also calculated in the script. After much trial and error I ended up using the calc script for fomulas for the level 0's then I put a member formula on the member that I could not get to calculate in the script and also made it two pass. So then my calc script has the formulas for the level 0, a Calc Dim (Accounts) to perform the agg and calc the member formula then a calc two pass to calc yet another formula that uses this member.
    I do however now have a different question regarding member formulas - do you know if they calculate top down or bottom up?

  • *Currency Conversion created in BW BEX query not working in BO report:*

    Hi,
    We have created a key figure with currency conversion and working fine in BEX when I execute that query.
    But when created a BO universe and WEBI report on that query, I am getting following error.
    "MDX query failed to execute with Error".
    Can anyone please help.
    Thanks
    Dhana

    Hi
    Thanks. But new problem.
    When I pulled OCURRENCY to free area now it is working in BO also.
    But now another problem is --> for Currency translation am getting prompt in BO also to select target currency. There , all values (all currency types) are not displayed , only USD is coming. WEBI report is fine for USD conversion.
    But when I want to convert into AUD , its not there in LOVs .
    Some time back this problem exists in Bex also, but when we changed cube level setting as below:
    Infocube : display-> OCURRENCY right click and go to "provider specific properties"..and then
    go to "object specific properties "  and then for "Query Exec Filter Val" selected "M Values in Master data table".
    Now when executing query in Bex for target currency selection values it is taking from master data and displaying all types like USD, AUD, INR ..etc. in drop down list.
    Now created new BO universe and new WEBI report but only USD is coming in selection LOVs not all types.
    Please help us.
    Thanks
    Dhana.

  • BEX ANALYZER NOT WORKING

    Dear Expert ,
    i have installed sapgui 7.10 on windows 7 and also installed patch 16 for sap gui . sap gui working successfuly and connect to the server .when i open the bex analyzer and want to open any query , no system is shown whom i can connect it is blank and when i try to enter the username and password manaually it gives error .
    Error Group
    RFC_ERROR_PROGRAM
    Message
    Ent
    <deleted by Moderator>
    Edited by: Siegfried Szameitat on Jul 6, 2010 3:19 PM

    Hi Faisal
    Even I faced the same error while using SAPGUI 710 on Win7 with Excel 2007. You can try to get the latest Patches of the BEx 7.0 Addon and BEx 3.5 addon.
    In case it still doesn't work, I tried this work around and it worked.
    1. Login to the BW System using SAPGUI
    2. Run the transaction RRMX and it will start BEx Analyser and you would be connected to the BW System (So no login reqd)
    Please note that I didn't have problem with Query designer, only BEx Analyser was giving problem.
    Also if you are able to solve the problem, please update the Process you achieved. There is problem in using BEx Analyser with Win7-Excel 2007/2010 for now. Let have a work around at least till the time SAP/MS Fixes this.
    Regards
    Abhishek

  • YTD calculation from BEx is not working in Advance Analysis for OLAP/OR Office

    I have AA for OLAP based on BEx. There are YTD calculation in BEx Designer: User enters Period in variable, and in user exits, the Period Range is populated as "1 ~ UserEnteredValue" in second variable. In BEx, YTD is calculated based on the Restrictive KF for the period range, calculated in User Exit. This is working fine in BEx Analyzer, however in Advance Analysis (for OLAP OR in Ofice), the YTD value is not coming up they way it is in BEx Analyzer...
    Anybody has any clue, why??
    Thanking all of you in advance  

    Hello Sharma
    If something is working for BEx Analyzer but not for Analysis OLAP or Analysis Office then this typically (but not always) indicates an issue with the BICS (BI Consumer Services) component.
    I would suggest you contact support about this so the appropriate logs can be captured and the issue investigated by the BICS team.
    Regards
    Ian

Maybe you are looking for

  • Tax Issue in Purchase order

    Hi, I have created one Purchase Order- PO 45000306. Tax Code I9 with Jurisdiction LA07900000 has a tax rate of 9% But when we did invoice verification for the PO it brings up $0 as the tax. What is the reason? How can i fix this? Please help me. Than

  • SAP R/3(Client100 using Proxy)---- XI----- RFC(SAP R/3 client 222) Scenario

    Hi all, I have the requirement to work on SAP R/3 ( with client 100 by using outbound Proxy)-->XI--->RFC(R/3 Client 222). i have done IR & ID Part. Now i am going to create Report in R/3 side (100 client). But, it is synchronous, i am getting so much

  • Preview App Seems Gimped in Snow Leopard

    I opened a PDF to crop some parts of the file and there are two big issues: 1. I cannot crop multiple pages anymore. There just isn't that option in Inspector or anywhere else. I can only crop one page at a time. 2. Not only can I not crop more than

  • My " sign and @ sign is switched!! (only when using Safari)

    Hi everyone, Today my " and my @ sign is suddenly switched... So when I hit Ctrl+2 I get ", and Ctrl+' begets @... Any idea how I managed THAT? Thank you!

  • Cool Maintenance Utility for Leopard ....

    Leopard users might benefit from this utility available here: http://www.apple.com/downloads/macosx/systemdisk_utilities/maintenancetitaniumssoftware.html Carolyn