Bex Analyzer Calculation of Results

Hello,
I have created a query using Bex Analyzer. In the query I am also <b>using a formula to calculate forecast accuracy.</b> When I execute the query the <b>formula works fine in the rows.</b>
The <b>problem is the (yellow) overall result row</b>. Here the result is not correct because it is supposed to be calculated differently. In the query properties the settings for "Calculate result as.." are limited and do not serve my purpose.
<b>Is there a way (workaround) to calculate the result in the overall result row differently, maybe using VBA (does anyone have sample code in this case) or is there any other option?</b>
Thank you very much for your help.
Christian

Hi Heike,
First of all thank you very much.
When I use "leaf(xyz)yourformulaforsinglevalues + not leaf(xyz) yourforumulaforresultrows" what should I include in the brackets where you mention (xyz)?
Does this "leaf-function" work for all drilldown levels, meaning I define the formula using the formula editor, execute the query and make a drilldown according to another characteristic and have the correct result for the single values and the result rows at that level of detail too.
Thank you very much for your help again. I really appreciate that.
Christian

Similar Messages

  • BEx Analyzer 7.0 result column

    Hi Gurus
    I have a question regarding the BEx Analyzer 7.0. Hope you can help.
    My customer wants to use BEx Analyzer 7.0 but is not happy with the fact that the excel query result starts in column F instead of column A (like the old BEx Analyzer did.)
    Is there a way to automatically hide/disable columns A-E in the BEx Analyzer 7.0????
    Many thanks for any info.
    Regards!
    Willem van der Hut

    Hi Willem,
    By Default it opens from Column F becasue Column C and Column D is used for Filter box. You can create your own workbook and can define the items where  ever you want and can publish to role. End user can define their own workbook template also.
    Within the BW 3.x analyzer, this is done by going to "Business Explorer -> Settings -> Permanent Workbook Template" and choosing the permanent workbook template. This will create an entry in the RSRWBTEMPLATE table for this user. Similarly, within the 2004s BEx Analyzer, the user can go to "BEx Analyzer -> Global Settings -> Select Default Workbook". This will allow them to set a permanent workbook for themselves or they can flag the global parameter to set this globally.
    Please check below blog, it might help you:
    [Setting the Global Workbook Template in SAP NetWeaver 2004s BI or BW 3.x|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417800)ID1050314550DB11623292632027977638End?blog=/pub/wlg/4453]
    Regards,
    Kams

  • CKF not showing correct results in BEx Analyzer

    Dear Friends,
    I am getting different results when viewed from BEx Analyzer and Web Analyzer for the same query. BEx Analyzer shows incorrect results. The column that is showing different is a local formula (say Formula3) that is a result of dividing Formula1 by Formula2.
    BEx Web calculates Formula3 correctly while BEx analyzer does not.
    I am in BI 7.0 SP 10.
    Any Clues?
    Thanks
    Viren

    For this calculated column set aggregation level as sum.

  • Macro not working in BEx Analyzer

    Can you please explain why my Macro is not working?
    We're on BI 7 with Excel 2007. I have done the following:
    1) Open Workbook from BEx Analyzer and the result display on the worksheet. The was inserted in C10 and therefore, the result was display from C10 onwards.
    2) I have created a Macro with the following code:
    Sub Macro1()
    ' Macro1 Macro
        Range("C5").Select
        With Selection.Interior
            .Pattern = xlSolid
            .PatternColorIndex = xlAutomatic
            .Color = 65535
            .TintAndShade = 0
            .PatternTintAndShade = 0
        End With
    End Sub
    3) When click to run the Macro manually, I can see the color of C5 is changed.
    4) Now I have include this Marcro in Workbook Setting ->Exits tab, Run Macro on Refresh. Here I enter my Marco name.
    5) In Workbook Setting ->General tab, I also set the Refresh Workbook on Open option.
    6) I have also set the Trust Center setting: select Trust access to the VBA project and Enable all macros.
    7) Then I save the Workbook.
    8) when I re-open the Workbook, the color of C5 is not change!!!
    Can you please help.

    Aglukas,
    Thanks again. I understand the name of the Macro can be anything and this is how to create the Macro:
    1) Run workbook, the query result display on the screen.
    2) In Excel 2007, I click on Developer tab ->Macro.
    3) Enter Macro name (Macro1) and click on Create button.
    4) I have VB editor open with following:
    Sub Macro1()
    End Sub
    5) So added the following code to Macro routine in VBA Module:
    Sub Macro1()
    With ThisWorkbook.Sheets("Sheet1")
    Stop
    .Activate
    .Cells(15, 1).Interior.Color = RGB(220, 254, 250)
    End With
    End Sub
    6) I then added the Macro1 to Workbook Setting ->Exit tab, and click on Add Macro button.
    When I run/refresh the workbook, I didn't get into debug mode at all!!!
    What is wrong in above steps?
    Please advice, thanks.

  • BEx Analyzer Not showing report result in canceling "Change variable Icon"

    Hi Experts,
    Do we have any settings in BEx Analyzer for retrive the Result set even after I click 'Change variable Icon' in Toolbar and cancel the variable pop-up window??
    Eg: My query Result is displayed in Analyzer selecting some vaues in Selection screen.And when I click the Change Variable Icon from 'Analyzer Toolbar' its showing me 'Select values for variable' window.If I select the cancel button in it, then Query result becom blank showing the message "There are variables; change variable values". Do Analyzer having an option or settings to keep the result even if i cancel the variable selection from "change variable icon".
    Thanx in advance..

    Sari-
    If SAP provides such a function, I have not found it. The way I understand it., the change variable value initiates the OLAP back end. This clears the Presentation Manager front end, and clears the 'results' that are displayed on your workbook. If you cancel the OLAP run, the front end clear still executes.
    HOWEVER... if you turn OFF Automatic Refresh before clicking on Change Variable Values and then clicking on Cancel, the presentation manager will not write any changes to your workbook. So that is your best solution.

  • Inconsistent Results Rows in Bex Analyzer-7.0

    Hello Forum
    We are using a 3.x query in Bex-7.0 analyzer wherein the result rows are suppressed but the user can see the result by removing the suppress option at query result.
    As per query design the column contains calendar week along with the key figures thus on query execution for 10 weeks we get the data in 10 columns and 11th column contains the results.
    However at times we see the result rows correct results but at times it only shows the result of only last column.
    Can anyone please tell if there is any setting using which we can avoid this inconsistency ?
    Thanks & Regards
    Ashish

    Hi
    In the query properties of the query designer you can check how the result rows will be displayed there you can have a look at the graphical representation and deiced how you want the result set to be displayed.
    Prathish

  • BEX analyzer -Maximum number of rows (65535) exceeded. Result is incomplete

    Hello Experts,
    I am trying to Run a report on BEx Analyzer.There are around 200,000 records to be displayed in the result.
    I am getting the below error.
    Maximum number of rows (65535) exceeded. Result is incomplete.
    Message no. BRAIN675
    We are on SAP GUI 7.X and Excel 2007
    Is there any setting that I have to change inorder for BEX analyzer to display all the 200,000 records.
    Also any memory setting for the result set to be changed ?
    Please let me know your thoughts
    Thanks
    Doodle

    Hi Doodle,
    The rows limit for Excel 2007 is 1 million so this is not the problem with row limitation. It seems like you have opened the pre-excel 2007 workbook in excel 2007, check your title bar if it says "Compatible Mode". This will limit you to old standard of 65K.
    May be what you can do is , save your file using save as option and try running the workbook.
    Your new file extension will be .xlsx
    Regards,
    Durgesh.
    Edited by: Durgesh Gandewar on Jul 14, 2011 10:03 AM

  • Calculated Keyfigures Fromm Bex Analyzer into BO without Unit

    Hi Guys,
    We built a Universe on top of Inventory Query from Bex Query Designer. We have  lot of Calculated Key figures built on Restricted Keyfigures.
    In the Universe some Calculated Keyfigures are shown as folders with Unit value and some of them are not shown in folder and hence it is not bringing the Unit.
    If we run the same Query from Bex Analyzer all the Calculated Keyfigures have units associated with them.
    Can you please let me know if any of you have the same issue.
    Thank you,
    PVK

    Hello PVK,
    I recommend to post this query to the [Integration Kits - SAP|BusinessObjects Integration Kits; forum.
    This forum is dedicated to topics related to the BusinessObjects Integration Kit for SAP.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all SAP Kit queries remain in one place and thus can be easily searched in one place.
    Thanks a lot,
    Falk

  • How to Suppress result rows for ALL Characteristic within BEX Analyzer

    HI,
    We Currently upgrade from BEX 3.5 to BEX 7.
    In BEX 3.5 Analyzer  there was an option by right clicking on a Characteristic and then going to "All Characteristic" and then "Suppress all  Result Rows."
    In BEX 7 Analyzer it seems that you can only suppress result rows one characteristic at a time.  Is there a way in BEX 7 Analyzer  to suppress ALL characteristic at once.  The same as BEX 3.5.
    Thanks!
    Edited by: Raylene Tucker on Feb 8, 2010 12:07 PM
    Edited by: Raylene Tucker on Feb 8, 2010 12:09 PM

    Hi,
    in 7x Analyzer,  surpressing the results & Filtering  is specific to characteristic. and this feature is more advanced and useful than the at a time surpress,
    even i fyou go to the Query Properties, it will allow you to surpress by characteristic only instead of at a time.
    Hopes it is clear
    Regards
    ReddY A

  • BW ERROR while calculating local formula in Bex analyzer

    Hi gurus,
    Their is an error comming up on a report which is  opened in Bex Analyzer. When we create local formula i encounter this error.
    It says"
    "Program error in class SAPMYSS1S method :uncaught exception "
    "System error in program SAPLRRK0 and form DELETE_FST-01"
    Not sure of why this error is comming up.
    DO we need to update a OSS note for this.
    Please suggest .
    Regards,
    Balaji Raj

    Search SCN & Marketplace.

  • Bex Mihration Issue while comparing the results of Bex analyzer

    Dear Experts,
    Currenlty i am working on a Bex migration project and we are still in the research and analysis phase. We have been migrating some queries and workbooks in sandbox for analysing the final approach we would be following eventually. For migration we first make a copy of the query and then migrate the copy to the 7.0 version. So after migration the formats in the report generated by Bex analyzer 7.0 of the migrated query and the one generated  by Bex analyzer 3.x of the orignal query are quite different.
    Can you help me figure out the reason behind this difference in the formats and how to go about it.
    regards,
    Anupam

    Hi Anupam,
    Go through the below link
    [Migration of 3.x BEx Queries to BI7.0 - Useful Tips |http://wiki.sdn.sap.com/wiki/display/BI/Migrationof3.xBExQueriestoBI7.0-Useful+Tips]
    [Queries or Workbooks Migration - Errors and Fixes|https://wiki.sdn.sap.com/wiki/display/BI/QueriesorWorkbooksMigration-ErrorsandFixes]
    Regards
    KP

  • Cell definition in Query Design within Bex Analyzer

    Hello,
    I would like to use special cell definition to visualizing the difference row definition between 2 columns (last year and actual year). With "Cell Definition" function in Query Design within Bex Analyzer there's a option to select a new restricted key figure for a related cell. But as a result I just can see a star (*) against a result number in that field. Do you have an idea, how can I solve this problem?
    Thanks and Regards,
    Nuran

    Hi again Dirk,
    there's not a unit problem. We use 2 different restricted key figure definition for a same row. The first restricted (or can be decribed as calculated key figure) key figure must be used in the first column to represent the value of the last year. And at the same row with usage of same text (for example: cost of goods sold)the second restricted key figure should be used to show the value of actual year (B2:costs in euro). The problem is the key figure definitions are totaly different; they're using different account groups etc. Cause of, I wanted to use cell definition function. In the first value field (B1) should be shown first key figure but I just get star (*) and a wrong value in the formula field of excel (between the toolbars and the result area).
    Thanks for your reply.
    Nuran

  • Report in BEx Analyzer shows Red "X" in records field

    Dear Experts.
    Report in BEx Analyzer us showing red "X" in the records field. Although there are figures in the field and is getting calculated in the overall result, but still the numbers donot appear.
    Kindly advise how to fix this.

    Please detail the KF formulae here..
    Any value divided by 0 is not defined.
    So if formula if its using division , you must use not div by 0 function. i.e.NDIV0 function
    Edited by: SKDDON on Oct 13, 2009 10:13 AM

  • BEx Analyzer - Convert to formula - Dynamics of a hierarchy

    Hi BI-Experts,
    I have a question regarding the BEx Analyzer built in functionality "convert to formula".
    Once I have done this, the report is more ore less static, establishing a fixed link between the cell and the query result.
    (BExGetData(u201CDATA_PROVIDER_1u201D,F8,E10)
    Let's say I had included a G/L account hierarchy and converted the analysis grid item to formulas: I will lose drill down functionality of the hierarchy, drag & drop etc.. I can live with that.
    But what happens, if I update the G/L hierarchy in BI by uploading from ECC and someone added an additional text node and 3 new G/L accounts. They won't appear in my "convert to formula" report, even when refreshing, right?
    Does anyone know a work-around for a highly formatted report in BEx Analyzer which keeps the layout when refreshed (only way I know is with "convert to formula") AND using hierarchies which should be able being updated?
    Every hint is much appreciated!
    Kind Regards,
    Steffen Lange

    >
    Steffen Lange wrote:
    >
    > But what happens, if I update the G/L hierarchy in BI by uploading from ECC and someone added an additional text node and 3 new G/L accounts. They won't appear in my "convert to formula" report, even when refreshing, right?
    >
    > Kind Regards,
    > Steffen Lange
    Thats right, as now the key figure values are basic excel formulas though they refer your dataprovider.
    The only option is to update the value of the hierarchy (new nodes etc) in the workbook too, you can add a new row and insert the new hierarchy value it should pick it up and key figures populated accordingly (you may need to put right row column value for your key figure calculation formula).
    Edited by: Praveen G on Aug 12, 2009 3:54 PM

  • BEx Analyzer: How to optimize reporting over a hierarchy?

    Hello there,
    using BEx Analyzer & Excel, we're reporting over a large hierarchy of cost centers, beginning at the top level and then looping over 166 different cost centers in that hierarchy.
    Looping works from within a macro, calling the SAPBEXSetFilterValue for the corresponding query.
    Reporting takes about 5 hours at the moment. Is there any way to speed up the calculation after setting the cost center as a filter value? Example: we need to report the top level node anyway, so the query needs to calculate over all hierarchy nodes. What happens to the results of the lower level nodes? Are they just dropped and calculated again later when the cost center of that lower level node is set as filter value? It would be a good thing if BW could cache these results so that it just needs to download them when needed later instead of calculating again.
    Any idea? I don't now very much of BW concerning that point, so any hint is very welcome. Our release is BW 3.1.
    We already tried RSRT but all we could do is to set the behaviour in case of query navigation. I'm not quite sure if this covers the case we want (setting the new filter value). At least, execution of that report still takes about 5 hours.
    Thank you very much.

    Andreas,
    Create Aggregates on Hierarchy level.
    Use Read mode H.
    Make use of OLAP CACHE.
    Have a look at RSRCACHE.
    Regards,
    Ramkumar Ghattamaneni.

Maybe you are looking for

  • Unable to edit document template in SharePoint 2013

    We have uploaded a set of templates that users can select from the drop down list in the Document field in the Document Library.  We now need to edit one of these document templates. We follow the procedure and make the edits which changes the templa

  • IPhoto Trash Can deleted my entire library

    I bought a brand new 27" iMac at the end of Oct 2010, which came pre-loaded with iPhoto '11 (Version 9.1 (475). I copied photos from my old iMac onto CD-ROMS and then imported them directly into my brand new iPhoto '11 by the select, drag and drop me

  • POJO Longer strings not displayed correctly, only displayce boxes.

    I'm using JRC version: Crystal Report Viewer 11.8.4.1197 java.vendor = Sun Microsystems Inc. java.version = 1.5.0_16 os.name = Windows XP os.version = 5.1 os.arch = x86 I'm using "import com.crystaldecisions.sdk.occa.report.application.ReportClientDo

  • Safari won't load Facebook

    All of a sudden Safari won't load Facebook. All other pages load just fine, but not Facebook. Facebook loads fine on FireFox though.

  • How can I record MD by Audig

    I've set the output to 6BIT 48KHZ using Foobar and connected the spdif cable, however , my MD-recorder coundn't revei've any signal. Is it possible to record MD with my Audgiy2?I'm sure that my cable was plugged at the digital out.