Excel formulas and BEx Hierarchies

Is there a way to use Excel (2007) formulas against BEx (3.5) results that have a hierarchy so that when you expand or collapse a node the formula updates with it? I tried a structured reference but I get an error when expanding node and have to refresh the query.
Thanx much!
Al

I wasn't aware about the differences in the IRR function between Numbers and Excel.  The subset of functions in Numbers 3 should be almost identical to their Excel equivalents. Are you sure?
From Numbers help:
IRR(flows-range, estimate)
flows-range: A collection that contains the cash flow values. flows-range must contain number values. Income (a cash inflow) is specified as a positive number, and an expenditure (a cash outflow) is specified as a negative number.
From Excel Microsoft support:
Returns the internal rate of return for a series of cash flows represented by the numbers in values. These cash flows do not have to be even, as they would be for an annuity. However, the cash flows must occur at regular intervals, such as monthly or annually. The internal rate of return is the interest rate received for an investment consisting of payments (negative values) and income (positive values) that occur at regular periods.
I'm pretty sure the sign convention is identical, as these two descriptions suggest.
In any case, if you need XIRR and/or you work with large datasets with lots of columns, then you need Excel.
SG

Similar Messages

  • Excel layouts: Usage of excel formulas and column references

    Hi!
    I have a question on how BPS excel based layouts work:
    - Can you enter your own formulas (e.g =SUM) in an cell which will be saved in a cube?
    - Can a cell to save in a cube contain a reference to another cell in another worksheet?
    Points will be given.
    Regards,
    Christian

    Christian,
           To answer your questions,
      - Can you enter your own formulas (e.g =SUM) in an cell which will be saved in a cube?
        Yes you can enter your own formula and calculate the
        value.Its only value that is saved into the Cube not
        the formula.So when you retrieve that value from the
        cube, you wouldn't be able to see the formula.I am
        assuming that you are trying this in data columns,
        where you would normally enter the values to save
        into the cube.If you do it anywhere else other than
        the data columns, you will not be able to save
        anything in this cell to the cube.
    - Can a cell to save in a cube contain a reference to another cell in another worksheet?
        As we can't save any formulas and link in a
        particular cell into the cube, its not possible
        to do it from an excel cell perspective.But I have
        used exit function that refer particular cell(s)
        and used it for data manipulation/linking dynamically
        I did this only on GUI, not on web.It was very
        custom routine.
    Hope this helps.
    Cheers
    Srini

  • Excel Formulas and File Size Limitations with Numbers

    I am trying to use Numbers with a number of Excel files I have developed over the years. After opening several Excel files I find the size of the sheets are truncated [esp. the number of cells in width] and some KEY FORMULAS are not supported – esp. XIRR to calculate Internal Rate of Return.
    Am I missing something or is Numbers a much more limited app than I had imagined?
    I can install Excel on my new iMac, but since Numbers came with the new confuser I thought I'd try it.

    I wasn't aware about the differences in the IRR function between Numbers and Excel.  The subset of functions in Numbers 3 should be almost identical to their Excel equivalents. Are you sure?
    From Numbers help:
    IRR(flows-range, estimate)
    flows-range: A collection that contains the cash flow values. flows-range must contain number values. Income (a cash inflow) is specified as a positive number, and an expenditure (a cash outflow) is specified as a negative number.
    From Excel Microsoft support:
    Returns the internal rate of return for a series of cash flows represented by the numbers in values. These cash flows do not have to be even, as they would be for an annuity. However, the cash flows must occur at regular intervals, such as monthly or annually. The internal rate of return is the interest rate received for an investment consisting of payments (negative values) and income (positive values) that occur at regular periods.
    I'm pretty sure the sign convention is identical, as these two descriptions suggest.
    In any case, if you need XIRR and/or you work with large datasets with lots of columns, then you need Excel.
    SG

  • Excel formulas and blank cells

    Hi
    I have this formula which calculates the number ordered (C11) by the price (E11) and if the cells are blank then the cell containing this formula is blank, if they aren't blank then they show the result. This works a treat.
    =IF(SUM(C11*E11)=0,"",SUM(C11*E11))
    In cell G11 I have a percentage, e.g. 80%. This is then used in cell H11 to multiply the answer from the first formula in cell (F11)to give me 80% of the cost. I would like the formula in cell F11 to show the result if figures are put into cells C11 and
    E11 (giving the result in cell F11 and if there are no figures in the corresponding cells, F11 is shown as blank.I've tried a few things but I just can't get it to work.
    Thanks, Viv
    Viv Haig

    Hi,
    Thanks for visiting our forum and sharing your solution. It'll benefit to other communicators.
    Have a good time.
    Regards,
    George Zhao
    TechNet Community Support

  • Converting excel formulas to javascripts

    Hello, I am not experience in Excel formulas and creating "if" statements in Adobe Acrobat, so I'm hoping someone can help me with this. I have two problems.
    1.  Here is an excel formula that I need to convert over to javascripts. Can someone help with this?
    =IF(Q13>0,Q13+0,"")
    2.  Here is the second one,
    =IF(N16*Q16>0,((N16*Q16)+U16),"")
    In addition to these two formulas I need help with, the owner of the forms does not want the numbers to round up. Is there a way to get the exact answer and not rounding the numbers up in javascript?
    Thanks for your assistance.
    I have Adobe Acrobat X.

    Hi George, on the first script
    var Q13 = +getField("Q13").value;
      event.value = Q13 > 0 ? Q13, "";
    It comes up with a SyntaxError: missing : in conditional express 2: at line 3
    Do you know what that means and how to correct?
    Thanks
    Connie

  • Retrieving BEx Query Results Area for use in Excel formulas

    Hello,
    I run BEx queries in workbooks and then use Excel formulas ( mostly VLOOKUP(LookupValue, ResultsArea, ColumnReturned,) ) to retrieve certain information from the query ResultsArea.
    ****Problem:
    Depending on the query parameters, the query "Results Area" is larger or smaller.
    ****Non-optimal solution:
    One way to define the  ever changing Excel range occupied by the Results Area is to create an Excel name as:
    QueryRange = OFFSET(QueryFirstCell,,,COUNTA(OFFSET(Sheet1!$A:$A,,COLUMN(QueryFirstCell)-1,,)),COUNTA(OFFSET(Sheet1!$1:$1,ROW(QueryFirstCell)-1,,,)))
    Then, the only input required is the top-left cell of the Results Area, which stays the same (unless the query definition changes).
    ****Question
    What is the best way to refer to an ever-changing query Results Area in an Excel formula?
    Thank you!
    Louis

    It is actually much easier than that.
    Use a VBA statement like the following:
    Set RptRng = ActiveCell.CurrentRegion
    This will retrieve the data in the Results Area, no matter what the size is.
    Hope this helps...
    Bob

  • How to define Excel function using BEx formula

    Hi experts,
    May I know how to define the following Excel function using BEx formula?
    IF(AND(Revenue<0,Cost<0),"N/A",(Profit/Lost/ABS(Revenue)))
    Thanks!

    for me its easy to implament logic with * and + rather than  AND and OR respectively
    ((Revenue<0)(Cost<0))Value +((Revenue>0)(Cost>0)) ( Profit&Lost / ABS(Revenue))
    As i have mentoned already,for Else case i have considered (Revenue>0) and (Cost>0)  only.
    Value can be a KeyFigure/Formula/formula variable/CKF/RKF
    its not possible to type characters in the formula window so 'N/A'
    Regards.
    Message was edited by:
            Murali c

  • Microsoft Excel functions, formulas, and formula integration

    hi friends,
    what is the use of this function Microsoft Excel functions, formulas, and formula integration. in bi 7.0 , i can make trending reports with teaxt variables and make formulas with formula ?
    Thanking u
    suneel.

    Hi Suneel,
    There has been a great thrust by the business users to make the BW reports more friendly with the execl functions, so that they can use it better to perform ad hoc calculations that may be specific to them, and not all the users, so it doesn't have to be built into the query.
    Hope this helps...

  • Microsoft Excel functions, formulas, and formula integration.  ( bi 7.0)

    hi friends,
    what is the use of this function Microsoft Excel functions, formulas, and formula integration. in bi 7.0 , i can make trending reports with teaxt variables and make formulas with formula ?
    Thanking u
    suneel.

    Hi Suneel,
    There has been a great thrust by the business users to make the BW reports more friendly with the execl functions, so that they can use it better to perform ad hoc calculations that may be specific to them, and not all the users, so it doesn't have to be built into the query.
    Hope this helps...

  • Excel Formulas in Workbook

    Dear all,
    I'm using bex analyzer 7 and I have a workbook which has many sheets.
    I need to use some excel formulas on every sheet but in every refresh my calculations has been deleting.
    And i also  need to use some hidden columns but on every refresh they are showing.
    It's not possible to do calculations or use hide property on designer.
    Any tips?
    Kind Regards
    Nil

    Hi Nil,
    Glad to hear that my suggestion worked for you,
    To calculate sum of two differenct row for cumulative result user the following code
    Lets take row number 3 , below code will calculate the sum for row 3 till end ( stop if find empty cell) and give the total into the next to last cell,
    put this code  into a function module and call on change event
    Dim icol As Integer    ' to calculate column number
    Dim isum1 As Double ' to calculate sum of the one row
    Dim ctr As Integer    ' to find the col last column
    icol = 1
    isum1 = 0
    ctr = 1
    Do While Len(Cells(3, icol)) > 0
        isum1 = isum1 + Cells(3, icol)
        ctr = ctr + 1
        icol = icol + 1
    Loop
    Cells(3, ctr).Value = isum1
    you need to specify the Row number ( hard code) and change the value for variable icol ,
    icol=1 means , it will start calculating the values from Col A ( change as per your worksheet)
    using the same code you can find the sum of another row ( isum2) and
    itotal = isum1+isum2
    Please let me know if you have any questions.
    Hope this helps
    Sukhi

  • Excel 2007 and Smartview 11.1 file open slow

    We are in the process of upgrading to HFM system 11.1 and smartview 11.1.1.3 and as part of this process we are starting to use Excel 2007. I am encountering an interesting problem when opening files in Excel 2007 using smartview 11.1 and I am wondering if any one else has seen this problem and found a solution.
    First I converted an excel 2003 file to excel 2007 and saved the file as an xlsx file type. Then I am able to open the file and it would take about 30 seconds to open the file. The file has about 15,000 formulas on for spreadsheets. If I click on each spreadsheet individually and use the "Refersh" button I can save the file in about 10 seconds and then close the file. When I open the file again it will open in 30 seconds. Now using the same file I click "Refresh All" and the file processes fine. I am able to save and close the file in about 10 seconds. However, when I try to open the file again it takes about 20 minutes to open, and then 20 minutes to close.
    This only happens with two or three files. I have another file that is 40 spreadsheets and about 3,000 formulas that is not affected when I click Refresh or Refresh All.
    Any help would be apperciated.
    Rich

    Hi
    On metalink i found some notes about this issure
    "Background
    SmartView communicates over HTTP using .NET. This just means that requests and responses are sent in a standard XML format that is tucked in the HTTP headers. The mechanism is the same as when your internet browser requests a file or submits a form (simplification). A standard Microsoft component that is part of Internet Explorer is used for this.
    There are three components (four if you include the network) in a SmartView refresh:
    -the client
    -the web server
    -the HFM application server
    It is easiest to troubleshoot when they are on separate machines. (Running SmartView on the server to see whether it works better is a useful test to see what effect the network is having, but doesn't show any other bottlenecks.) If you run Task Manager on these 3 machines showing the Performance tab, you will see initial activity on the client as Excel clears the cells and the request is converted into XML. Then you see the web server get busy as it receives and parses the request. Then the application server is busy as it send the data, then the web server is busy as it compiles the results into XML again, and finally the client parses the XML, pushes the data into cells and runs an Excel calculation. This last stage is the longest of all. Overall, it is typical to see the client doing 90-95% of the work, so client performance is a very important factor. Look out for Excel's memory usage increasing and RAM becoming in short supply. Often, user dissatisfaction with refresh times can be alleviated by giving them more RAM or a faster PC.
    The situation we are dealing with here, however, is when the chain of events described above is interrupted. In this case, you will see the client or the web server wait in vain for a response from the next machine in the chain. The case of invalid XML is similar, but the response is truncated so that the XML is not well-formed when it arrives. XML consists of matching pairs of tags and is not well-formed when a closing tag is missing. This can be caused by certain network settings such as packet size (see later). The end result in either case is the same: as Excel cleared the cells before sending the request, cells are left blank or with zeroes.
    Your job now is to work out why the particular component is failing.
    Client
    Check the HTTP time out in the registry:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]\
    "ReceiveTimeout"=dword:00dbba00
    "KeepAliveTimeout"=dword:002BF20
    "ServerInfoTimeout"=dword:002BF20
    The time-out limit is five minutes for versions 4.0 and 4.01 and is 60 minutes for versions 5.x and 6. Also, the time-out limit is 30 seconds for Windows Internet Explorer 7. To change the settings, add the above keys. The above values are hexadecimal, not decimal and correspond to 18000 milliseconds (3 minutes) and 240 minutes for the receive time-out. See
    - http://support.microsoft.com/kb/813827
    - http://support.microsoft.com/kb/181050
    Once you make those changes, my recommendation is that you reboot the client machine.
    Web server
    Look for errors in logs showing that the web app didn't respond/disconnected or timed out waiting for another application (i.e. the HFM application server). Eliminate load balancers etc. during testing in order to isolate the problem and to ensure that the user always goes to the same web server otherwise, logs can be hard to interpret. See also the IIS Tuning Guide for IIS settings. We cannot recommend particular settings, as each client must establish the optimal settings for their own environment after performance testing. If necessary, engage the services of a suitably qualified consultant.
    Application Server
    HFM application server performance is very dependent on whether the data is already in RAM or not. One symptom, where the first refresh fails but the second one succeeds, is probably a sign that the cache needed to be populated and once that had been done (by the first refresh) it went faster. HFM loads whole subcubes (Scenario, Year, Value and Entity) into cache, so asking for lots of accounts in the same subcube is fast, but asking for lots of entities will inevitably slow things down as it runs out of RAM and starts unloading subcubes to make room for more. The HFM event log (HsvEventLog.log) shows this happening, but don't forget that the messages you see are a normal consequence of the way HFM works and are not a problem unless you see a hugely elevated number of them during the period the refresh occurs. Another sign would be page file thrashing.
    If there are several servers in a cluster, use sticky sessions in HFM to make sure tests always go the same server, or hit one server directly rather than using the cluster.
    Solutions here involve giving more RAM to the server (probably not possible because of the 2 GB limit) and changing the worksheet design to restrict the number of subcubes accessed. A separate consolidation server, so that reads are not competing with intensive consolidations and calculations, would be a good thing.
    Network
    To find out if packets get fragmented, use
    ping -l size -f
    to send a big packet with the 'don't fragment' flag. E.g.
    Ping -l 1024 -f oracle.com
    If you see a reply like Reply from 141.146.8.66: bytes=1024 time=200ms TTL=245 then the size you specified is below the packet limit of the network. But if you use, for example, 2000 in place of 1024, you get Packet needs to be fragmented but DF set, then you know you have exceeded the limit. Combine this investigation with a Fiddler trace (https://www.fiddler2.com/fiddler2/) to see what size data messages are being sent and received.
    Troubleshooting Guidance
    If you seriously want to go into this in more detail, then it will take a considerable effort on your and your IT Department's part. My general advice would be:
    1. During this process, fix your environment so that it is predictable. Register a single HFM application server and connect to that. Use a single web server and don't go through Apache or any other redirector. Make sure we know which machine to go to for logs. This would be a temporary measure and it doesn't stop the other users using the full, load balanced system so long as it doesn't involve your server.
    2. As far as possible keep other users from using it during testing, unless you are specifically testing for performance under load. We want to see what activity is due to SmartView and not random other jobs.
    3. Use PerfMon on all three machines: client, web server and application server.
    4. Clear Logs before testing and note the times of each test so the logs can be correlated.
    5. Log CPU activity, memory usage, network throughput, page faults, thread count etc. I'm no expert on this so get advice from someone who is.
    6. In addition to the performance logs, from the IIS Server get:
    * HTTP.SYS Error Log - %windir%\System32\LogFiles\HTTPERR (Default location; configurable)
    * IIS Website Log - %windir%\System32\LogFiles\W3SVC# (Default location; configurable)
    * Event Log (both System and Application) in EVT and TXT (tab separated) formats
    7. From HFM Application server get:
    * HsvEventLog.log (in <HFM install>\Server working Folder)
    * Event Log (both System and Application) in EVT and TXT (tab separated) formats
    8. Be aware of all timeout settings in your environment (i.e. IIS & the network) and time your tests. This can show whether it is an ASP timeout, script timeout, client side timeout or whatever. Note that the Web Session Timeout setting for SmartView in HFM's Server and Web Configuration is a separate issue from IIS timeouts. Web Session Timeout controls the length of idle time before SmartView makes the user log in again. Default 20 mins.
    9. Run Fiddler traces to directly observe the XML and check for HTTP failures.
    Further resources
    - Tuning IIS 6.0 for HFM
    - SmartView Performance FAQ
    Both are available from Support.
    Author: Andrew Rowland
    Version: 11.x (Fri, 30 October 2009)"
    regards
    Alexander

  • What is difference between bex analyser and bex browser

    what is difference between bex analyser and bex browser . please explain what are use of both and what we do in both.

    hi
    Bex Browser
    The Business Explorer Browser (BEx Browser) makes it possible for you to access all document types of the Business Information Warehouse that are assigned to your role or that you have stored in your favorites. You can select and open documents assigned to you in the BEx Browser or store and manage new documents in the BEx Browser.
    Document types that you can work with in the BEx Browser are:
    · BW workbooks
    · Documents that are stored in the Business Document Service (BDS)
    · Links (references to file system, shortcuts)
    · Links to internet sites (URLs)
    · SAP transaction calls.
    · Web applications and Web templates
    · Crystal Reports
    Bex Analyser
    The Business Explorer Analyzer (BEx Analyzer) is the analysis and reporting tool of the Business Explorer that is embedded in Microsoft Excel.
    Features
    You can call up the BEx Query Designer in the BEx Analyzer, in order to define queries. Subsequently, you can analyze the selected InfoProvider data by navigation to the query created in the Query Designer and create different query views of the data. You can add the different query views for a query or for different queries to a work book and save them there. You can save the workbook in your favorites or in your role on the BW Server. You can also save the workbook locally on your computer.
    Beyond that, you can precalculate the workbook and distribute it by e-mail to recipeients or you can export it to the Enterprise Portal and make it accessible to other employees in the company.
    You can start queries in a standard view (with a Standard Web Template set up in Customizing) in the Web browser and forward the URL or continue to navigate on the Web. Similarly, you can export the Web query to MS Excel 2000.
    Overview of the Functional Area of the BEx Analyzer:
    ·        BEx toolbar
    You access the functions of the BEx Analyzer from the BEx toolbar, which takes you to the BEx Open dialog box where you can open existing queries, or to the BEx Query Designer where you can create new queries or change existing queries.
    ·        Evaluating Query Data
    The BEx Analyzer offers convenient functions for evaluating and presenting InfoProvider data interactively. In the BEx Analyzer, you can add queries to workbooks, navigate within them and refresh the data. You can also process the queries further in Microsoft Excel or display them in the Web browser in a default view.
    Navigation of a query allows you, for example, to filter characteristics on a single value, drilldown on all values for a characteristic, regroup characteristics and key figures in the rows and columns of the results area, or hide key figures. Navigation results in different views of the InfoProvider data. In addition, a range of further functions is available which allow you to edit a query interactively (for example, sorting, cumulated output, among others). In addition, you can use the editing functions in Microsoft Excel in order to set up individual format templates, to print results areas, or to create graphics.
    ·        Queries in Workbooks
    Queries are inserted into workbooks so you can display them. When you insert a query, a link is made between the cell areas of the worksheet and the data of the InfoProvider upon which the query is based. A link therefore exists between the Business Explorer and the Business Information Warehouse Server (BW Server).
    When inserting a query into the workbook, a VBA routine is automatically generated in the workbook. You can also connect the Business Explorer with your own VBA programs (Visual Basic for Applications).
    You can create workbook templates, into which you can insert your queries. Workbook templates can contain pre-determined items for the area of the query, formatting settings, logos, VBA macros, and so on.
    ·        Precalculating workbooks
    You can precalculate and distribute workbooks with the BEx Broadcaster, which is a Web application you get to form the BEx toolbar. The system generates MS Excel workbooks with historical data. You determine the time for precalculation yourself: You can have workbooks precalculated at a predefined time or they can be precalculated whenever data in the underlying InfoProvider changes. You can have the precalculated workbooks sent by e-mail or you can export them into the Enterprise Portal, where you can make them available to employees within your company.
    Activities
    To start the BEx Analyzer, choose Start ® Programs ® SAP Front-end Business Information Warehouse ® SAP Business Explorer Analyzer.
    You can also access the BEx Analyzer via SAP Easy Access ® SAP Business Information Warehouse ® SAP Menu ® Business Explorer ® Analyzer or in the Business Explorer Browser using the Business Explorer Analyzer symbol in the menu bar.
    Hope this will solve your issu
    nagarjuna

  • How to convert an Excel Formula to a Custom Calculation Script in a Adobe Acrobat 9 Form?

    Hello,
    I am not familiar whatsoever with Javascript and need some help in converting the following Excel Formula so that I can enter it into a Custom Calculation Script in a Adobe PDF Form. Here is the formula:
    =IF(E15<25.01,9.95,IF(E15<50.01,11.95,IF(E15<75.01,13.95,IF(E15<100.01,16.95,IF(E15<150.01 ,19.95,IF(E15<200.01,24.95,IF(E15>200.00,E15*0.125)))))))
    Where "E15" will be the text field named "Subtotal" on my Adobe PDF Form.
    Thank you for any help you can provide!

    Fortunately JavaScript has the 'switch' statement so nested if statements can be avoided.
    var E15 = this.getField("Subtotal").value;
    switch(true) {
    case (E15 < 25.01) :
    event.value = 9.95;
    break;
    case (E15 < 50.01) :
    event.value = 11.95;
    break;
    case (E15 < 75.01) :
    event.value = 13.95;13
    break;
    case (E15 < 100.01) :
    event.value = 16.95;
    break;
    case (E15 < 150.01) :
    event.value = 19.95;
    break;
    case (E15 < 200.01) :
    event.value = 24.95;
    break;
    case (E15 > 200) :
    event.value = E15 * 0.125;
    break;
    default:
    event.value = "";
    break;
    } // end switch;

  • Excel 2002 with BEx Analyzer NW2004s

    Hi,
    can I use Excel 2002 with BEx Analyzer NW2004s? I read somewhere, it is possible only with Office 2003. It's true?
    Thanks!

    Hi, for some reason the BI FAQs on SDN are not up-to-date. I will investigate and make sure they are refreshed asap.
    You always find the up-to-date FAQs on SAP Service Marketplace /bifaq. There you see the correct answer:
    Which versions of Microsoft Office are supported by SAP NetWeaver 7.0 (2004s) BI Business Explorer (BEx)?
    BEx in SAP NetWeaver 7.0 (2004s) supports MS Office 2003 and Office XP, SP2 (this includes Excel 2002) based on GUI 6.40
    BEx in SAP NetWeaver 7.0 (2004s) supports MS Office 2003 based on GUI 7.10
    For information on planned support for Windows Vista and Office 2007 (based on GUI 7.10) please check the Functional Enhancements Schedule BI in NW7.0 (2004s).
    There is
    no support for NW 7.0 (2004s) BEx Tools on MS Office 97
    no support for NW 7.0 (2004s) BEx Tools for Office XP (Excel 2002) in combination with GUI 7.10
    no support for NW 7.0 (2004s) BEx Tools for Vista in combination with GUI 6.40
    For more information, see SAP Note 103174 and 1013140.
    Best Regards,
    Eric Schemer
    SAP BI Product Manager

  • Performance problems with SAP GUI 7.10 and BEx 3.5 Patch 400?

    Hi everybody,
    we installed SAP GUI 7.10 and BEx 3.5 Patch 400 and detected hugh performance problems with this version in comparison to the SAP GUI 6.40 and BEx 3.5 or BEx 7.0 Patch 800.
    Does anybody detect the same problems?
    Best regards,
    Ulli

    Most important question when you are talking about performance-issues:
    which OC are you working on and which excel version?
    ciao
    Joke

Maybe you are looking for