HFM Rule - # of Months Revenue Included in AR Balance (URGENT)

Hello Group,
I am trying to come up with a simple HFM rule to pinpoint the # of months of periodic Revenue that is in a given month's AR Balance. I thought this would be a slam dunk....But I seem to be stuck....Conceptually....Very straigtforward. Can someone help me?
For Example:
December A/R Balance = 10,000
December Revenue (MTD) = 3,000 = 1 Month Accum 3000
November Revenue (MTD) = 4,000 = 1 Month Accum 7000
Octover Revenue (MTD) = 500 = 1 Month Accum 7,500
September Revenue (MTD) = 2,000 = 1 Month Accum 9,500
August Revenue (MTD) = 3,000 = .16 Month (10,000 AR - 9,500 YTD = 500 remaining in AR Balance)....Then 500 / 3,000 = .16 Month Accum 10,000 (Accum MTD Rev to match AR)
# Months of Reveune in AR Balance Calculated = *4.16* Months of Revenue in A/R Balance.

This has now been resolved after we put the Time dependancy with the Call Routines

Similar Messages

  • Display last month revenue

    Hi All,
    I have below requirement.
    i have data in my table as below.
    Month Name
    Revenue
    Jan-2013
    500
    Feb-2013
    300
    Mar-2013
    null
    April-2013
    null
    May-2013
    900
    Jun-2013
    null
    Jul-2013
    450
    Aug-2013
    null
    requirement is to display last month revenue where ever revenue is null
    ex: For march revenue should be displayed as 300 and April too 300, for Jun 900 and july 450 should be displayed.
    how can i achieve this.

    Question: Revenue is number type right? how come you are getting NULL it suppose to be 0.
    use ifnull and set to 0 just in case your data is right, and then try the below
    case when Revenue=0 then MSUM (Revenue, 2) else Revenue end
    I'm not sure how it works when 2 NULLs like march and april, to test this I dont have similar data.
    give me updates

  • Crystal Reports monthly revenue calculation

    Hy I would like to create a cross tab from B1 data sources to show the monthly revenue. I use SBO 8.8 and CR 2008.
    My problem is that I don't know exatly how the SBO is calculating on the sales analysis.
    Normaly is working like this:
    (oinv.doctotal-oinv.vatsumoinv.rounding)-(orin.doctotal-orin.vatsumorin.doctotal)-(ocsv....)-(ocsi......)
    Normaly the correcting invoices has parent invoice but some times not so I have also problems to chose the right linking field between the charts.
    Thank you for the help!
    Regards,
    Balazs

    Balazs,
    No one here would know anything about the available data columns or the internal calculations in SBO. You will have much better luck posting your question in one of the [SAP Business One|/community [original link is broken]; forums.
    If you get hung up with the report design itself, come back and post your design questions here.
    Jason

  • Last/latest 10 months data ( including current month)

    Hi,  
    I need to find the last/latest 10 months data ( including current month)
    Year
    1/1/2014
    1/2/2014
    1/3/2014
    1/4/2014
    1/5/2014
    1/6/2014
    1/7/2014
    1/8/2014
    1/9/2014
    1/10/2014
    1/11/2014
    1/12/2014
    1/1/2013
    1/2/2013
    1/3/2012
    1/4/2012

    Hi,
    this is my data 
    Year column with Nvarchar datatype. 
    Year
    1/1/2014
    1/2/2014
    1/3/2014
    1/4/2014
    1/5/2014
    1/6/2014
    1/7/2014
    1/8/2014
    1/9/2014
    1/10/2014
    1/11/2014
    1/12/2014
    1/1/2013
    1/2/2013
    1/3/2012
    1/4/2012
    now form this yea) column i need to fetch the latest/last 10 months data only .
    OutpUt for the Query to be:
    Year
    1/3/2014
    1/4/2014
    1/5/2014
    1/6/2014
    1/7/2014
    1/8/2014
    1/9/2014
    1/10/2014
    1/11/2014
    1/12/2014
    Hope this will give you clear picture

  • I want to buy the Creative Cloud Photography plan that includes Photoshop and Lightroom but I currently have a plan $9.99 a month that includes only Photoshop CC. How do I switch plans?

    If you're already on an installment plan for $9.95 per month that includes only Photoshop CC, how do switch plans to obtain the combination Photoshop and Lightroom plans for the same price?
    Thanks,
    Dennis

    Cancel old and buy new is the only way I know, but you MAY be able to exchange
    Return, cancel, or exchange an Adobe order

  • How to find the last 4th business day of the month (not include weekend)

    Hi,
    I need help how to code the ABAP program to locate the last 4th business day of the month (not include Satuday, Sunday and holidays).
    For example for the last 4th business day in 2008 are:
    1/28/2008,
    2/26/2008
    3/26/2008
    4/25/2008
    5/27/2008
    6/25/2008
    7/28/2008
    8/26/2008
    9/25/2008
    10/28/2008
    11/21/2008
    12/26/2008
    Thank you so much!
    Helen

    Hello Helen
    I would use a two-step approach:
    (1) Set date to the first of day of month (e.g. 20080201 = 01.02.2008)
    (2) Subtract four working days from this date
    If I remember correctly there is a function group BKK available which contains fm's for adding workdays to a given date (search for 'BKKWORKDAY). To subtract a number of working days use a negative number.
    See also: [BKK_GET_MONTH_LASTDAY|reg :BKK_GET_MONTH_LASTDAY;
    Regards
      Uwe

  • I have monthly subscription app how can i know about who cancel subscription ? and how i can calculed the monthly revenue ?

    i have monthly subscription app how can i know about who cancel subscription ? and how i can calculed the monthly revenue ?

    Apple20141 wrote:
    Or open sim tray and find out the carrier ring the carrier and give them numbers on sim
    The carrier will not give out information about the owner of the phone.

  • HFM Rule Help

    Hello all,
    I'm trying to write a rule in the Calc sub which would essentiall accomplish the following:
    Entity(“Apple”).Account(“AR”).ICP(“Banana”) has data of 100
    I would like to flip the ICP and Entity combination using the Calc subroutine and set the following:
    Entity(“Banana”).Account(“AP”).ICP(“Apple”) to 100
    I am a novice with HFM rules commands, but advanced in programming and vbscript. I've tried to use HS.EXP to accomplish, but I guess it can't be used with an entity member on the left side of the equation. HS.SETDATAWITHPOV is promising, but I can't find a sample piece of code that uses it effectively.
    My last attempt was to populate an array with base entity and icp members for the account I wanted...then match that in my calc sub. Still having trouble. It doesn't look like it should be this difficult.
    Any ideas?
    Thanks!

    hello
    here is a sample of setdata...
    If CurCustom1 = "INC"      Then HS.SetDataWithPOV "A#P487000.I#[ICP None].C1#MVT" & ".C2#" & CurCustom2 & ".C3#" & CurCustom3 &".C4#ARET11", Data , True
    You shoul also have look to data unit
    regards

  • Calling HFM rule from FDM

    Hi Experts,
    I am working on version 11.1.13 and I am new to FDM. Just wanted to know if I can execute a HFM rule from within FDM before exporting the data to the target HFM application?
    I know this is a possibility with the Essbase adapter but just wanted to check about the HFM adapter and how to do it?
    Thanks!!

    The Data Protection feature built in to FDM will do this for you. It allows you to input a string value which will protect all intersections in HFM that have data which contain that string. You can also flip the comparison operator to do the converse i.e. protect all data in intersections that does not contain the string. What FDM actually does is extract all data that meets the data protection criteria specified and appends it to the dataset you are loading thus preventing data from being overwritten. All you really need to do is make sure that the string value you use in the criteria is unique and will not be found as a substring anywhere else in the intersection (as FDM treats the intersection as one long string).
    When I have implemeted it in the past we usually have discrete memebers on the C4 dimension that identify where data has been source from. Hope that helps.

  • HFM Rule not calculating

    Hi All,
    We have a Rule in HFM to translate the entity currency to parent currency/USD,
    the rule goes like below..
    'Translate
    sub Translate()
         'Translate P&L using the PVA methodolgy (Translate Monthly Results) for all scenarios starting in 2009.
         If HS.Year.Member > "2008" Then
              HS.Transperiodic "", "", "A#Cumulative Rate", ""
         End If
    end sub
    sub noinput()
    end sub
    when we are running the consolidate, the translation is not happening,
    again we had to go to each cell and right click and translate,
    can anyone check if there is any error or any other issues with the rule,
    Thanks in advance,
    Kris

    Can you clarify the following:
    Are you using the default translation at all? If so, what you will see is that the data is loaded or keyed in at foreign currency entity in the entity currency value dimension. If you are at base level and hit consolidate nothing will happen. If you are at the parent and the parent has USD as its default currency, after the consolidation occurs you will see the data at the base level foreign entity in USD fully populated.
    Your rule however, appears to execute only if the year is 2009 or later, and it appears to be trying to calculate a the periodic rate, using the Account cumulative rate to translate every account usingthe periodic method.
    There is nothing wrong with your rule except for what I mentioned earlier about the year maybe being read as a string in the if statement, compared to an integer. You never mentioned if you tried the changes I proposed and what the results where.

  • HFM Rule subtraction of 2 empty accounts equals -1,45519152283669E-11

    Hello all,
    it is curious and i don´t know why this occurs, so i hope someone can help me please.
    I have two accounts they stored no data, so they are empty.
    Another account will be calculated like
    Account3 = Account1 - Account2
    Account1 and Account2 are empty, but if i calculate account3 with these 2 empty accounts i get the value -1,45519152283669E-11.
    I checked the values from the other accounts with a write2file function to a logfile. And Account1 = 0, Account2 = 0 but Account3 returns this curious value.
    What is wrong? The HS.Round(0.1)-Function will not help in this problem.
    Many thanks in advance for your help.
    Martin

    Hi Martin
    Generally the HFM calculations are carried out with 15 significant decimal digits; this includes the digits to the left and right of the the decimal point. The round-off error noted is considered normal for floating point calculations. In fact, the relative error is 1.29 x 10^-15.
    That is 15 significant decimal digits is the maximum accuracy can expect with the product.
    HS.Round() functions can be used to narrow down numbers especially in dynamic account rules.
    You can verify the same in the below oracle knowledge base document.
    Accuracy of HFM in Floating Point Calculations (Doc ID 1437033.1)
    Hope this helps.
    thank you
    Regards,
    Mahe

  • How to get an account with an IsICP -"R" attribute calculated in the HFM Rule file

    Till recently everything was going fine with the calculations in our HFM setup ( Version 4.1)
    We have say around 8 Expense accounts which roll up into a Parent account say ALL446 which finally rolls up into Operating Expenses.
    Operating Expenses
      |__ parent account
          |_INVALO
           |_ALL446
              |__222446
              |__242446
    And we have a calculation in the rule file as below
    HS.EXP "A#BE FIXED COST = A#Operating Expenses +A#SGA - A#BE VC OP F10"
    This was calculating correctly till we did the below change
    Added IsICP attribute to couple of accounts say 222446 and 242446 ( in the above example) in the metadata which finally rolls up into Operating Expense.
    Note: we did not add any Plug account attribute to the accounts
    Now the problem what we have in hand is -> Fixed Cost is not calculating correctly.- It happens that the two accounts for which we added the IsICP are not showing up in the calculation and the data in those two accounts are not adding up in Fixed Cost.
    POV in GRID/Excel -> actual,2013,periodic,<Entity Currency>, ICP Top, AllCustom1, AllCustom2, AllCustom3, None( for custom4)
    But when we retrieve Operating Expenses in Excel - it is showing the correct amount, even in the grid - but looks like when the rule tries to calculate Fixed Expenses using the above rule - these accounts are not adding up in the Operating expenses.
    I tried the formula ( to check what number is coming into Fixed cost ) - the result is zero - But in the grid/excel I see amount for acct2. Same POV as above
    HS.EXP "A#BE FIXED COST = A#222446"
    and if I add & Tops to the account like below ( getting some weird number instead of what is there in acct2)
    HS.EXP "A#BE FIXED COST = A#222446" & Tops
    Questions:
    1) Where exactly I am going wrong ?
    2) Is it MANDATORY to have a Plugaccount attribute when we have IsICP turned to "R" ?
    3) What will happen if we do not have a Plugaccount for the IsICP account ?
    4) How to correct the formula to make sure I get the number in the acct2 into Fixed Cost??
    5) Do we need to have the IsICP turned on to the immediate parent of the account having IsICP and the Top parents of the account too??
    6) Is it possible to get the exact number what we have in 222446 into BE Fixed Cost account via Rule?- why I am not getting it
    Notes:
    BE Fixed Cost-> account type -"Expense", IsCalculated - yes, IsConsolidated - yes, IsICP- N, Custom1TopMember - AllFunctions, Custom3TopMember- AllCustom3, enabled allcustom1,2,3,4aggregations
    Operating Expenses->"Expense", IsCalculated - No, IsConsolidated - yes, IsICP- N, Custom1TopMember - AllFunctions, Custom3TopMember- AllCustom3, enabled allcustom1,2,3,4aggregations
    INVALO ->"Expense", IsCalculated - No, IsConsolidated - yes, IsICP- N, Custom1TopMember -none, Custom3TopMember- none,
    enabled allcustom1,2,3,4aggregations
    Problematic account 222446 -> "Expense", IsCalculated - No, IsConsolidated - yes, IsICP- R, Custom1TopMember - Operations, Custom3TopMember- AllCustom3, enabled allcustom1,2,3,4aggregations
    The Entity on which I am trying to get the data( mentioning wherever I have attributes for this entity)
    DefCurrency - DEM, Allowadjs- enabled, IsICP - enabled, Userdefined 2 - financial, - SecurityasPartner attribute - is not selected through out the applicaiton.
    Variable
    Tops = ".I#[ICP Top].C1#AllCustom1.C2#AllCustom2.C3#AllCustom3.C4#[None]"
    tried attaching the attachments ( but service is unavailable)
    Waiting for all of your valuable suggestions..

    1) why was I not getting the formula right when I use & Tops
    I'm assuming that BE Fixed Cost has N for IsICP, in that case you can not write to invalid intersections as it would attempt to use the same ICP information
    2) Is it MANDATORY to have a Plugaccount attribute when we have IsICP turned to "R" ?
    No
    3) What will happen if we do not have a Plugaccount for the IsICP account ?
    It will not run eliminations
    4) Do we need to have the IsICP turned on to the immediate parent of the account having IsICP and the Top parents of the account too??
    If you want it to rollup, yes you would need that.  We have all Parent accounts as isICP set to Y and top member to ICP Entities so that they roll up
    5) which will have priority the rule or the Grid where we have the calculated member like the BE Fixed Cost - because in the grid I had icptop, allcustom1,2 3 and when had & Tops to the account - I got some weird numbers...
    I'm not following the question here, grids are just really a display mechanism, rules will handle all of the calculations.

  • Can we use Boolean or Validations in HFM Rules

    Hi Gurus
    Can we use Boolean or Validations for input cells in HFM?
    Example:
    1. I want to restrict the user to enter only single digit (0 or 1 are valid) in to a cell for a special purpose. (in smartview or webform)
    2. I want to restrict the user to enter only single Character (Y or N are valid) in to a cell for a special purpose.(in smartview or webform)
    After submitting the data, If the data does not matches to the given condition it has to through an Error message or validation message to the end user.
    Can we write these kind of rules in HFM?
    Regards
    Smilee

    Hi Smilee,
    HFM's model of validation and error checking is not as you describe. Data cannot be validated at the form/data-entry level. Instead, HFM's validation model goes like this:
    1. You must provide with a validation account for each validation you need, with a common parent usually declared in the validation accounts in the ApplicationSettings. A zero (or within tolerance limits) in the validation account means correct, any other value means error.
    2. You must write a normal calculation rule, which checks the user's input for valid data entry and place a zero or other value to the validation account.
    3. The user inputs her values (via form, or data load, FDM, SmartView etc.), saves her data and calculates.
    4. As soon as all the validation calculations write zeros to the to validation account during calculations, the user can submit successfully (submission is part of process management). However, if any of the validations fail (meaning non zero value to the top validation account) the user cannot submit until she corrects the error value. Errors can be traced easily, judging by the exact validation account which fails.
    Another observation regarding your point 2 is that only numeric values can be written in HFM cells, no alphabetic characters are allowed. You should replace Y/N logic to 0/1.
    Regards,
    Kostas

  • Does the 12 euro per month package include a full version of lightroom and photoshop

    I wonder if the proposed limited package of 12 euro per month (if submission for a whole year) includes the full version of photoshop and lightroom or is it limited in use ? for exemple maximum of ... hours per month of GB per month etc...?

    Hi DJL-photo ,
    Welcome to Adobe Forums
    The Photoshop Photography Program Plan do not have any limitation of Usage , Its a Subscription with a one year committment where in you will be charged on monthly basis .
    How ever if you want to store any files etc , then we have 20 GB space for storage like in Creative Cloud
    Let us know if that helps !
    Thanks
    Garima
    Message was edited by: Garima.J

  • Web Analysis and HFM : show  Current Month

    Hi,
    I tried to create a table which displays only figures coming from HFM and related to the current month.
    In fact, I created a table which is populated with HFM data.
    This table has only one column : "June", which is the current month.
    What should I do to have automatically "July" the next time I open it if the current month is July ?
    Thanks for your help folks,

    Hi,
    This can be achived,but little bit tedious process...
    Create an intermediate report with three columns.
    first column : Monthcolumn,which you are using in prompt.
    Second column :This column is for selected month
    Try to convert Jan 2012 to 201201,Feb 2012 to 201202...This can be achieved by writing a case statement like below
    cast((Case when substring(column from 1 for 3)='Jan' then 01...........)||substring(column from 5 for 4) as int)
    Third column:Prior month
    cast((Case when substring(column from 1 for 3)='Jan' then 01...........)||substring(column from 5 for 4) as int)-1
    Now add the same column formula to the main report and hide it(let's say column name will be "HIDED")
    cast((Case when substring(column from 1 for 3)='Jan' then 01...........)||substring(column from 5 for 4) as int)
    Now you can apply filter based on another request on the hided column.
    HIDED<=Second column in intermediate report.
    HIDED>=Third column in intermediate report.
    Now you will get the desired reults in your report.
    Hope this helps.
    Thanks,
    Pramod.

Maybe you are looking for

  • Itunes starts but fails to open due to audio configuration problem

    Hi I have been running itunes 7.1 quite successfully until today. Running on windows xp/toshiba laptop. Problem occurs when i select itunes on desktop, itunes appears on task bar below, after a number of seconds the following error message appears "i

  • Save as dialog window display is slow with EVERY app

    Hello guys, Since upgrading to Yosemite 10.10.2 I see a VERY annoying issue each time any application opens a "Save as..." dialog : the dialog takes about 5 seconds to load. I think I also hear something like a small beep during the time the Save win

  • Regarding ENTITY bean local interfaces

    Hi all, I have a component session bean - containing a number of service methods for creating, retrieving, updating & deleting instances of a related entity bean. This session bean is used by another session facade bean, which invokes the various ser

  • Is iphone 3g version 3.1.2 worth updating to 4.2?

    I have an iphone 3g that I didn't update, because my hp laptop's screen blacked out and wasn't fixable. Now I read that the new update slows down the iphone 3g, but I actually don't use my iphone anymore as a phone, only for my music and apps. Should

  • Amazon Android Appstore refusing Air based Droid apps

    I recently submitted a few apps to the Amazon Android Appstore and am just now recieving refusal emails due to the apps looking for Adobe Air updates on the Android Marketplace. I use FlashBuilder to compile to mobile with no code added to otherwise