Exponential Formulae

Hi All
I am trying to perform a CAGR formulae in a report.
The formulae is as follows
(Ending Value/Beginning Value)^ (1/number of years) - 1
I am expressing the formulae as follows
(Variance([D,2], [A,2])^ (1/3))- 1
When i perform this calculation in excel, i am getting different results than what i get in my report.
If i do the calculation in pieces, I am getting the values that i expect.If i hardcode the values, i am also getting the close to the results that I want.
Any help in figuring this out would be really appreciated
G

Hi
I have had a look at the ^ and it seems to be the same as raising to the power, e.g. if you use the formula 2^2 = 4, 2^3 = 8
Your formulae do not quite seem to match, the variance function would do Ending Value - Beginning Value (assuming Ending is in Column D and Beginning in Column A), could that be why you are getting differences.
Another thing to be careful of is whether either columns or rows in the formula would expand, i.e. are you calling specific members or relatives of a member?
Let me know if you need anything else
Regards
Stuart

Similar Messages

  • Exponential Moving Average - EMA - in PowerPivot

    Hello All
    We´re having a challenge trying to put the [20] (trading days) Exponential Moving Average (EMA) in our data model in PowerPivot.
    Here is the EMA formula and sample spreadsheet:
    http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:moving_averages
    Pasted the formula here for convenience:
    SMA (simple moving average): [10] period sum / [10]
    Multiplier: 2 / ([Time period] + 1) )
    EMA: {Close - EMA(previous day)} x multiplier + EMA(previous day).
    Sample spreadsheet
    http://stockcharts.com/school/data/media/chart_school/technical_indicators_and_overlays/moving_averages/cs-movavg.xls
    In our model the fact table have these columns:
    Symbol Date Open High Low Close Volume
    And in the Calendar table we´ve identified the trading days (Calendar[TradingDayNumber]) as 1 so we can count them back.
    We want the EMA calculated field in a pivot table like this
    Filter context: a date selected on Calendar[FullDate]
    Row context: FactTable[Symbol]
    Values: FactTable[Close]
        FactTable[EMA 20D] >> Missing
    So far we got these calculated fields:
    Period
    =20
    Ema Multiplier
    =2 / ([Period] + 1)
    Average 20D CLOSE
    =IF([Sum of CLOSE]=BLANK(),BLANK(),(CALCULATE(AVERAGE(FactTable[CLOSE]),FILTER(ALL(Calendar),Calendar[TradingDayNumber]<=MAX(Calendar[TradingDayNumber]) && Calendar[TradingDayNumber]>MAX(Calendar[TradingDayNumber])-[Period]))))
    But it looks like the EMA formula contains a self reference from previous values, and it also starts from a SMA (Average 20D CLOSE) value.
    How can we do it?
    Thanks in advance. I highly appreciate your support.

    Nico,
    Is this still an issue?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • XML Report Excel Output exponential value issue

    Hello All,
    While working on XML Report we need to show output in excel format. One of the out put value is “00110E001”. but when displaying in excel is shows "1.00E+0" and default behavior of MS Excel is if the any number data contains “E” then excel will convert those records in exponential format. But our client required those data which are present in database i.e. “00110E001”.
    Kindly share your valuable inputs.
    Thanks in advance
    Thanks,
    Pushpal

    Hi Uday,
    You are making number as a string, by adding a character :) , so it will be displayed as string with space and not as number.

  • Maximize the chances of getting and prompt response and good suggestions exponentially.

    Hi there Folks
    First
    I want to say that all issues cannot be solved by troubleshooting.
    There are times when the hardware of the device damage been damage or  and then is time to replace the unit. With that being said the majority of the problems that users face are fixable with troubleshooting and with steps that we can help with, is important that as a user you understand, most of the People that offer assistance here, are your peers users, most of them have 4 key common denominators
    Experience,
    Knowledge,
    Desire to help,
    Understanding on your necessity.
    Believe me they do know, if you take the time to formulate your question is because you need help with your device and issue. In the same token they need help to understand the issue and more importantly what is causing it. For that we need some basic Information please take the time to read this suggestion on how to formulate your question in a way that will allow us to help you more promptly. I assure that will not hurt your chances but it will increase them exponentially.
    Bear in mind these Great Folks are for the most part users like you, in less quantity professionals that devote their valuable free time to help you folks and in other instances are folks that work for or with HP that devote time to help all of those that are having issues.
    These are some recommendations that will assist you getting quick and accurate assistance.
    Do not do this;
    Don’t include any personal information, such as phone number, email address, complete name and last name.  As this is not relevant to the issue you are having nor it will help nobody help you.
    Do not include Printer, computers or any other device serial numbers. Because this information is completely irrelevant to the issue at hand.
    Don’t feel that any statement is Dumb or irrelevant. The person in the other side on the communication is not psychic and the information that you are omitting can be the information that tells what the actual issue is.  This is simply impossible to know so include as much information as possible.
    Do not rush to formulate your question.  This obviously is your prerogative to use it.  I feel obligated to disclose I do not feel incline to help people that are using offensive language or threads nobody might help you so unless what you want isto use this resource as venting mechanism.   Do not DO IT as is not productive and will limit the amount of help you get.
    DO THIS
    Use a compact and concise format in the opening of the message to include all relevant information.
    Always include the Operating system of the computer you are using or if the issue is on a device such as phone, tablet, or any other mobile devices include this information as well.
     Use this format or something similar. (Substitute the example with your current configuration)
    OS
    Complete printer model
    Router brand, model and firmware version: If connectivity is the likely problem.
    Recent changes and additions to the network configuration.
    Issue description:
    Other comments:
    If you ask your self why we ask in regards your opearting system when is a printer related to include read here I should give a brief explanation why I ask for extra information. 
    Why
    OS: Windows 7 home Premium 32 bits
    All this information is important in most cases. Although issue may be with the printer only or least that is what logic tells you. The steps that you might have to take to fix it, are Operating system dependent or exclusive.  To do something in Windows it may be different that in Mac OS or Linux even between versions of this operation systems. I will suggest let us decide if is not.
    Also very valuable information is to include if the Operating system is update the easiest way to tell this is if the operating system is automatically updating.  Include this information at all times.
    Complete Printer model: i.e.. HP Officejet Pro 8500 All-in-One Printer - A909a
    There are printer models that have more than 8 variants. And in some there are pretty distinct differences .So the last part of the model A909a in the case of t this example, is imperative that is included.   These are all the models in reference of the printer model in the example.
    HP Officejet Pro 8500 All-in-One Printer - A909a ›
    HP Officejet Pro 8500 All-in-One Printer - A909b ›
    HP Officejet Pro 8500 Premier All-in-One Printer - A909n ›
    HP Officejet Pro 8500 Wireless All-in-One Printer - A909g ›
    HP Officejet Pro 8500A Plus e-All-in-One Printer - A910g ›
    HP Officejet Pro 8500A Premium e-All-in-One Printer - A910n ›
    HP Officejet Pro 8500A e-All-in-One Printer - A910a ›
    Recent changes and additions to the configuration:
    Too many to list to let’s think about adding a new device to the network as an good example to explain the importance of this.
    Most of the time this will be a flawless procedure and will not cause issues.
    But for example let’s say you included iPhone to the current home network. You had to include or install bonjour to your computer to able to communicate with the phone and all hell breaks loose now nothing works.  It might be the fact that your router does not support the service (also known as mDNS) but let make a worst example it does support it but in a recent firmware update of the router and also Windows have issued several updates to improve support Again just an example. The person that is trying to assist you assume that all this is done but is not that might prohibited the person to help you with what it should be an easy fix.
    Issue:
    this is where you include all the information that you feel is relevant do not leave anything this way we limit the possibility of lack of understanding from the person trying to help.
    Other comments:
     This is optional I will use this to include other devices information that working or not working in the network or it I try in another computer or network.
    This is a problem that a user had and I wish that would it explain like this it would save him and me 3 days of questions and back and forward to get to a fairly easy solution.
    OS: Windows 7 home Premium 32 bits
    Complete Printer model: i.e.. HP Officejet Pro 8500 All-in-One Printer - A909a
    Recent changes and additions to the configuration: Added a new iPhone and a android phone. To the wireless network.  
    Issue: Printer goes online everyday
    Recent changes: None
    Issue:
     The printer for past week have how in the control panel  an error message offline printer and the jobs are getting stuck in the print queue.
    TS (Troubleshooting) steps taken by me.
    Restart the printer disconnect the printer from the network.  Did not fix.
    Other comments:
    My wife computer are not having the same issue. Is printing fine.
    This took 5 minutes to write this  and will help anybody that is reading understand the issue I am having and give me suggestions on how to fix it without having to comeback to and ask questions.
    I truly hope that you subscribe to this or any similar formats as it will really help all parties involve to get a better and positive result in most cases.
    RobertoR

    You can say THANKS by clicking the KUDOS STAR. If my suggestion resolves your issue Mark as a "SOLUTION" this way others can benefit Thanks in Advance!
    This question was solved.
    View Solution.

    Hi sabretooth04
    Thanks I am considering making an interactive video presentation make it more interesting to the Folks and maybe interactive to ensure the get the most out it. perhasps that can be use as a Sticky as least we can recommend it
    Kind Regards;
    RobertoR
    You can say THANKS by clicking the KUDOS STAR. If my suggestion resolves your issue Mark as a "SOLUTION" this way others can benefit Thanks in Advance!

  • Rapid computation of exponential decay constants

    Hello all,
    I am attempting to develop a routine that rapidly computes the exponential decay constant of a given waveform.  I am using two different techniques involving the computation of DFTs and  another using corrected successive integration (LRS).  Both generally give the correct time constant for the input waveform even with a significant amount of noise.  The LRS solution is significantly less susceptible to noise (highly desirable) but considerably slower (the DFT computations run on the order of 10s of microseconds for a 1000 pt waveform while the LRS, as coded in Labview, runs at about 1.5 ms).  The LRS technique was developed by researchers at George Fox University in Oregon and they claim they were able to achieve computation times on the order of 200 us for both techniques.  I have been unable to achieve this time with the LRS technique (obviously) and have attempted to code this in C and use a Call Library node to call a compiled dll.  However, at best, I get a factor of 2 increase in speed.  In addition, additional computations using the dll seem to be additive - i.e. for four similar computations running in the same structure with no dependency on each other, the total computation time is approximately 4x that of one.  For my purposes, this is insufficient as I will be attempting to make these calculations 8x at 1kH. 
    Looking through the discussions, I have been unable to ascertain whether I should expect a performance boost for well written C over well written Labview (most seem to ask why would you want to do anything external).  Anyway, I have attached the code so you can be the judge as to whether it is well written or if there can be any improvement in performance.  The main function is Test Analysis Methods.vi which generates an exponential waveform with scale, offset and noise and then the decay constant tau is calculated using the VI Get Tau.vi.  In addition, I have attached the C code as well as the dll for solving the LRS equations.  These were coded in Labview 8.6 and the C was coded using the latest version of Microsof's Visual C++ Express Edition.  Themain VI uses the FPGA module VI 'Tick Count' to determine the computation rate in microseconds, so if you don't have this module you will need to remove this code.
    Any thoughts are appreciated.  Thanks, Matt
    Matt Richardson
    Certified LabVIEW Developer
    MSR Consulting, LLC
    Solved!
    Go to Solution.
    Attachments:
    CRDS.zip ‏67 KB

    Hi Matt,
    after changing the summation loop in your LRS calculation the routine runs as fast (or faster) as the DFT variants... Anyway: check the results to be sure it's still correct!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    Get Tau.vi ‏30 KB

  • JMOQ show eeror Inactive via formulae of incor

    Hi experts,
    My ckient requirement is the Excise duty caluated per kg, Iused JMOQ codition But show error in the PO creation
    Inactive via formulae of incorrect
    Please why show ingred colour after clicking taxes tab in the INvoice tab at item level
    Regards,
    Channa

    please let me know how you resolved it. i am facing the same problem

  • Unable to remove Workforce Planning formulae in Planning 9.3.1.1.16

    Hi All,
    We are on using Planning 9.3.1.1.16 and are unable to remove member formulae from Planning.
    Our Planning application is EPMA (9.3.1.3) enabled. When refreshing the Planning application we receive the following error:
    Error [1200497] detected in member formula for member "Regular Headcount".
    Error [1200497] detected in member formula for member "Departed Headcount".
    Error [1200497] detected in member formula for member "LOA Headcount".
    Error [1200497] detected in member formula for member "Maternity Headcount".
    Error [1200497] detected in member formula for member "On Sabbatical Headcount".
    Error [1200497] detected in member formula for member "Contractor Headcount".
    Error [1200497] detected in member formula for member "Temporary Headcount".
    Error [1200497] detected in member formula for member "Other Headcount".
    Error [1200497] detected in member formula for member "Turnover Headcount Adjustment".
    Error [1200497] detected in member formula for member "Regular FTE".
    Error [1200497] detected in member formula for member "Contractor FTE".
    Error [1200497] detected in member formula for member "Temporary FTE".
    Error [1200497] detected in member formula for member "Other FTE".
    Error [1200497] detected in member formula for member "Turnover Adjustment".
    STEPS TO REPRODUCE :
    -In EPMA Master Library, remove the formulae for the above members and save the changes every time
    - In Planning remove the member formulae for the above members (EDIT_DIM_ENABLED set to TRUE). This step may not be required however I tested it and was able to reproduce the issue
    - Deploy the EPMA applicatoin. Deployment is successful
    - Refresh Planning app. Refresh is successful
    - Now change any property for any of the above members in EPMA. For example add an alias of Turnover Adj to the "Turnover Adjustment" member and save.
    - Deploy the EPMA app => Successful
    - Refresh Planning app=> Fails with same above error
    Observation: The member formulae are back in Planning not EPMA. It looks like edit workforce members somehow causes the formulae to reappear in Planning.
    Has anyone come across this issue?
    Thanks for your help.
    Seb

    Just in case anyone has a similar issue...
    Thsi was reported as bug #7411035 (ie: Character Limit for Member Formulas ). Details from Oracle Dev below:
    The character limit was 2000 causing longer member formulas to fail during an application deployment. An underlying bug was found during investigation of the member formula limit and we think this is the cause of your particular issue. The problem was with empty member formula string. During the deployment process there are EAS side checks. EAS will only accept a member formula if it contains at least one character(length > 0), else the formula
    field is rejected in the deployment XML file.
    The script below copy the member formula to a different table and then delete the original. So it is quite a destructive query to run.
    Prior to executing the query, a full EPMA/Planning applications backup should be performed (including essbase side) and the EPMA Dimension Server services (particularly the Process Manager) should be stopped.
    ######### SQL SCRIPT #########
    insert into DS_Property_Member_Memo
    select i_library_id, i_dimension_id, i_application_id, i_member_id, i_property_id, c_property_value as x_property_value
    from ds_property_member pm
    where pm.i_property_id = (select i_property_id from ds_property
    where c_property_name = 'MemberFormula')
    and not exists (select * from ds_property_member_memo pmm
    where pmm.i_library_id = pm.i_library_id and pmm.i_dimension_id = pm.i_dimension_id
    and pmm.i_application_id = pm.i_application_id and pmm.i_member_id = pm.i_member_id
    and pmm.i_property_id = pm.i_property_id)
    delete from ds_property_member
    where i_property_id = (select i_property_id from ds_property where c_property_name = 'MemberFormula')
    ######### END OF SCRIPT #########
    Seb

  • VPRS: Inactive due to the formulae of incorrect

    Hi,
    I have the copy of vprs as the priceand upon which another price condition fworks as cost + price say for 120% of the vprs price. the copy of vprs is inactve due to the subsequent prices
    Along with all these i have the original condition type VPRS that is generate as in the "Red" status that is with "X"- Inactive due to the formulae of incorrect.
    both the vprs and copy of vprs are maintained as statistical only.
    This only happens in the billing and the sales order pricing show the condtions determined successfully.
    If any body has the similar experience, please share with inputs

    hi
    can Varada,
    The possible problem could be the system is picking the VPRS value from moving price and the moving price is may be zero for the material.
    Please update the moving price using MR21 and cancel teh existing document and create a new one.
    I hope this will work

  • Any1 aware of a function module to convert a number in exponential form

    any1 aware of a function module to convert a number in exponential form to normal form...
    eg... a no. like 8.00000000000004E-01 
                     8.88888888888884E-01
    and
    a no. like 1.50000000000000E+00 
               9.44444444444442E-01

    I think you can just move from type F to type p.
    p =  f .
    Regards,
    Rich Heilman

  • How to create an exponential measure in RPD?

    Dear Experts,
    I'm using OBIEE 10.1.3.4.1 version.
    I have a requirement to create the following logical measure in Administration Tool (RPD).
    M = exp( a + bt), where a = Constant, b=Constant and t=Calendar Time , exp=exponential.
    Kindly let me know is it possible to create this kind of measure in BMML in RPD.
    Incase if it is possible, kindly me know how to create it.
    Thanks in advance,
    Regards,
    Dev.
    Edited by: user8783844 on Mar 8, 2010 7:21 PM

    Hi Pansa,
    Thanks for your suggestion.
    In the given Formula, *M= Exp(a+bT), 'T' is a Time Function, and 'a' , 'b' are constants.*
    By using exponential formula in the Expression Builder, can i use the TIME series(in our case b*T, where 'T' is Time Function) function to get the desire result.
    Kindly let me know.
    Thanks and Regards,
    Dev.

  • How to convert exponential data into number for the downloaded excelsheet

    Hi
    I have downloaded one field data i.e. having char of 50,  into excel sheet and it is displaying as  exponential in the excel sheet. 
    The data numbers should display as text only i.e 1236547896321 and not exponential
    Is anyone can tell how we can do this
    Thanks
    Pallavi

    Hello Pallvai,
    The problem of exponential is with the excel. Excel converts the large numbet into exponential.
    To avoid this you can make the number into text then excel won't convert it into exponential.
    For that you can do a simple trick. Just prefix a single quote ( ' ) in the field.
    eg:
    field = 1236547896321.
    then,
    constants c_quote type c value '''.   "<-- single quote
    concatenate c_quote field into field.
    " This will make the EXCEL to consider this field as text not number and hence it will not be considered
    " as exponential.
    Hope this solves your problem.
    Regards,
    Sachinkumar Mehta

  • Using formulae in abap, table tc25 etc.

    Hello,
    In production order I need to calculate total setup & labor time for operation with a designated workcentre.
    I see there are formulas for that: when you view Work Centre and open tab 'Costing'.
    I noticed that formulae are stored in table tc25, but what does e.g. sap_01 * sap_03 mean?
    And how can i make use of that in ABAP? I need that info to put it on a SAPScript form.
    Thanks for any suggestions.

    You can use the following function modules to valuate the formulae  
        CALL FUNCTION 'CHECK_FORMULA'
    and execute the formulae
         CALL FUNCTION 'EVAL_FORMULA'
    You can use function module CYTA_TC25_READ to read values from the table.
    Hope this helps.
    Franc

  • How can I protect formulae in a newly created spreadsheet without locking the whole sheet ?

    How can I protect formulae from being overwritten on a newly created spreadsheet without locking the whole sheet ?

    Olly,
    I'll be picky here on nomenclature ;-)
    Tables and other Obects can be locked, but Sheets can't be locked.
    If you wish to shield some parts of your content from accidental modification, arrange your layout to put that sensitive content in tables separate from the tables that need to be accessed, and lock the sensitive ones. It's also possible, but rather clunky, to place shields over the sensitive area. A shield can be made by Inserting a Shape and positioning the shape over the sensitive area. With the shape selected, go to the Graphics Inpector and set the Opacity of the shape to zero. You will then be able to see through the shape but will no be able to Click through it to get at the cells below. This method is inconvenient because you have to worry about keeping the shape aligned with the table should the table need to change size or shape.
    Jerry

  • Exponential value in flat file

    Hi,
    In the flat file, exponential values come along with the numeric values. Data type defined for objects are "CURR-Currency field,stored as DEC".
    While preview the data in infopackage, shows an error "Error 4 when loading external data". While checking the flat file data found some Exponential values also contained in the file instead of numeric values. i.e. "1.20068e006", "1.20E06" or "-2.27374e-013"
    Since these are very few in whole flat file, we can not apply the conversion formula globally. Could you please tell me how to tackle this problem?
    Points will be surely rewarded for good suggestions.
    Thanks,
    SAM

    Hello SAM,
    How r u ?
    I believe there is no easy solution for this. We have some loads from Oracle DataBase with the Exponential values, both in the Oracle and in BW it shows Exponential Values. Only If we transfer the data to Excel we could see the proper values, otherwise not. In ur case that is not possible as u said earlier.
    May be this could be made possible with some ABAP Code, lets wait for some Inputs !
    Best Regards....
    Sankar Kumar
    +91 98403 47141
    CongraZzzzzz Dinesh ! on 10000 points. Great Job.

  • Help neede urgently(Problem in adding exponential numbers)

    Hi,
    Actually i want to add the contents of two files which contains exponential numbers.
    i'm not able to add these numbers. Can any one help me?
    import java.io.*;
    import java.nio.*;
    class  userFile
         public static void main(String[] args) throws IOException
              try
                   BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
              String s1,s2,s3;
              FileReader fr1,fr2;
              System.out.println("Enter first file :");
              s1=br.readLine();
              System.out.println("Enter second file :");
              s2=br.readLine();
              System.out.println("Enter new file :");
              s3=br.readLine();
              fr1= new FileReader(s1);
              fr2= new FileReader(s2);
              BufferedReader fin1=new BufferedReader(fr1);
              BufferedReader fin2=new BufferedReader(fr2);
              String str1,str2,str3;
              double i1,i2,i3;
              OutputStream fout=new FileOutputStream(s3);
              while((str1=fin1.readLine()) != null)
                   while((str2=fin2.readLine()) != null)
                   i1=Float.parseFloat(str1);
                   System.out.println(i1);
                   i2=Float.parseFloat(str2);
                   System.out.println(i2);
                   i3=i1+i2;
                   System.out.println("i3=" +i3);
                   str3 = Float.toString(i3);
                   byte buf[]=str3.getBytes();
                   fout.write(buf);
                   fout.write('\n');
              catch(NumberFormatException e)
                   System.out.println(e);
    }I need help urgently.
    Thanks in advance.

    By "exponential number, do you mean one in scientific notation (eg. -1.55743e21) or what?
    What do your files look like?
    What problem are you encountering? Is an exception being thrown? If so, give us the exact message (copy/paste). Is the results simply not what was expected? If so, give us the input, the expected results and the actual results for us to compare and consider.
    Chuck

Maybe you are looking for