Previous Month Value

Hi,
I have a couple of accounts that use the previous month value across years. However, sometimes it's necessary update the value in the middle of the year and this change should be reflected in the following months and years mantaining the old value in previous months and years.
Somenthing like this:
Year - FY12
Jan- 100
Feb- 100
Mar- 100
Apr- 100
May- 100
Jun- 100
Jul- 100
Aug- 100
Sep- 100
Oct- 100
Nov- 100
Dec- 100
FY13
Jan- 100
Feb- 100
Mar- 100
Apr- 100
May- 100
Jun- 100
Jul- 100
Aug- 100
Sep- 100
Oct- 100
Nov- 100
Dec- 100
If I change the value in November->FY12 to 200, I want:
Year - FY12
Jan- 100
Feb- 100
Mar- 100
Apr- 100
May- 100
Jun- 100
Jul- 100
Aug- 100
Sep- 100
Oct- 100
Nov- 200
Dec- 200
FY13
Jan- 200
Feb- 200
Mar- 200
Apr- 200
May- 200
Jun- 200
Jul- 200
Aug- 200
Sep- 200
Oct- 200
Nov- 200
Dec- 200
Any help?
Thanks

I typically just aggregate up the Base + Adj to get "Total Adjusted". No need for a formula, unless you want to introduce specific override functionality. (Where the override amount would ignore what's in "Base" and "Adj") You may be able to get away with making "Total Adjusted" dynamic calc. This will depend on a lot of different factors, but it's something you should consider.
Sometimes I put my adjustments into a separate form. Sometimes they're on the same form. That really depends on business requirements.
Let's say you don't want to make this a separate dimension. Then the next option is typically creating specific adjustment accounts. The accounts where you're carrying the balance forward would look to see if an adjustment has been made in one of these specific adjustment accounts, and if so, add that adjustment to the prior value. I tend to prefer a separate adjustment dimension as it offers more flexibility, but if you've already got a database built, adding another dimension can be painful.
- Jake

Similar Messages

  • How to Bring the Quarter Period and Previous Month Value for given Input

    Hi to all,
          I want bring Quarter Period and Previous Month value for the given Input. Plz help me on this
    Example :
    Input : 06.2008
    Output:
    Input     Prev.Month  Quarter 1   Quarter 2   Quarter 3 
    06.2008  05.2008      03.2008     12.2007     09.2008
    12.2008  11.2008      09.2008      06.2008    03.2008
      Is there any Standad Exit for this or we have to write coding ?
    Regards,
    Saran

    Hi,
    You can solve this by using Replacement path.There you have a option offsets.Here give the current period.Based on that give the number which previouse month you suppose to want.
    I think this 'll help you
    assign points if this helps
    Regards
    JT Goud

  • Display previous month value in report

    Hi,
    I have a requirement to display the previous month amounts on monthly basis. here is the example.
    In the Cube I have data like this:
    <b>Customer   Month         Amount</b>
    C1        Jan 2004        $500
    C1        Feb 2004        $600
    C1        March 2004      $1000
    I want to display in Report with another key figure to show the difference between current month and previous month. Report should look like:
    <b>Customer   Month  Amount  <i>Prev_Month_Amount     <u>Diff</u>.</i></b>
    C1      Jan 2004   $500         0               $500
    C1      Feb 2004   $600       $500              $100
    C1      Mar 2004   $1000      $600              $400
    I have tried using restricted key figures.but it is showing the same amount in prev. moth amount colunm till feb 2004. anyone had similar req. please advise me.
    Thanks in advance,
    Ram

    Hi,
    I can only think about a 2 structure approach with cell calculations.
    This will result in a static report with 12 rows for each customer. Then you would need to use the new feature of zero supression, to hide those month where no data exists.
    Heike

  • Last Month value for the keyfigure in Report

    HI ALL,
    how do we get keyfigure value for the last month in the report.
    for ex:  for  amount keyfigure should come for the last month  rest of the key figures should come for the current month values.
    SBU |    AMOUNT (LAST MONTH VALUE) |      QTY(CURRENT MONTH) |     NETPROFIT(CURRENT MONTH)
    The above shown is ex as i required in same manner. Even i restricted with calmonth offset value -1 in keyfigure but it is not working. please help me to get solution .
    Thanks
    Pinky Reddy

    Hi Pinky,
    It is not advisable to use offset to get the previous month value.This is not effective in the case when your current month is Jan & u have to get the previous year's dec month value.It is always better to opt for Exits
    Do use the code mentioned below.
    Note:- ZCUSMFIS3 - Variable in the selection screen for entering current month
               'ZPREVPER - Variable with which the amount key figure has to be resticted.
      WHEN 'ZPREVPER'.
        IF I_STEP = 2. "after the popup
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
                                  WHERE VNAM = 'ZCUSMFIS3'.              
            V_PERIOD = LOC_VAR_RANGE-LOW+4(3).
            V_FYEAR = LOC_VAR_RANGE-LOW+0(4).
            V_FVARIANT = 'B1'.
            V_FISCPERYEAR = LOC_VAR_RANGE-LOW.
            IF V_PERIOD = '001'.
              V_PERIOD = '012'.
              V_FYEAR = V_FYEAR - 1.
              CONCATENATE V_FYEAR V_PERIOD INTO V_FISCPERYEAR.
            ELSE.
              V_FISCPERYEAR = V_FISCPERYEAR - 1.
              LOC_VAR_RANGE-LOW = V_FISCPERYEAR.
            ENDIF.
            CLEAR L_S_RANGE.
            L_S_RANGE-LOW = LOC_VAR_RANGE-LOW. "YYYYMMDD - DD will indicate the no of days
            L_S_RANGE-SIGN = 'I'.
            L_S_RANGE-OPT = 'EQ'.
            APPEND L_S_RANGE TO E_T_RANGE.
            EXIT.
          ENDLOOP.
        ENDIF.
    Hope this provides the solution for your requirement.
    Regards,
    Saswati.

  • How to get previous month data from current month values

    Hi Experts,
    I have made one universe from BW Query in which Fiscal year period is entered in interval.
    I have made a universe from that and want to develop webI reports on top of that.
    In my webI reports, i have used one cross tab. In Rows section i have added Company Code and in Column section i have used Fiscal Year/Period and in Value section i have added Sales Value. I want this value of previous month.
    Requirement:
    Ex.
                            Feb'09          Mar'09     and so on...
    Comp_code1   Sales of Jan'09         Sales of Feb'0f         and so on....
    I am getting this.
    Ex.
                            Feb'09          Mar'09     and so on...
    Comp_code1   Sales of Feb'09         Sales of Mar'09         and so on....
    I hope i have clear my requirements.
    Please help as soon as possible.
    Thanks in Advance,
    Rishit

    Hi Rishit,
    Follow the below steps to get the desired result.
    Step1: Convert your fiscal year period from char to a date in your database or in your designer however its feasible.
    to_date('substr('009.2009',2)','mm.yyyy')
    you will get the result 01 sep 2009
    Step2: Convert this format to 01/09/2009 by using date functions.
    Step3: Create a Detail associated to the 'date' field (typically your fiscal period).
    Step4: Create a cross tab Like : Rows section should have Company Code and in Column section should have 'date'(created detail) and in Value section should be Sales Value.
    you should get the following result.
    01/02/2009 01/03/2009 and so on...
    Comp_code1 Sales of Feb'09 Sales of Mar'09 and so on....
    Step5: Use the following formula in your Column (date) formula bar.
    =(<date>-1)-DayNumberOfMonth(<date>-1)+1
    You will get the following result:
    01/01/2009 01/02/2009 and so on...
    Comp_code1 Sales of Feb'09 Sales of Mar'09 and so on....
    Format the cell according to your reruirement.
    Let me know if you will get any break in the above steps.
    Regards,
    Swati.

  • Set default value for date/time to previous month

    Hi All
    I have two date/time parameters in my report and I want to set the default value for both the parameters
    For start date parameter I want the first date of previous month and for end date parameter I want the last date of previous month.
    Can someone please point me to the right direction
    Thanks
    Rone

    Hi Rone,
    These links can be helpful for you:
    http://www.bidn.com/blogs/hardikabhavsar/bidn-blog/1639/default-date-parameters-in-ssrs
    http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/584a98ae-bb75-4740-9198-e6be3c1aec12/
    Regards,
    Manoj
    *Happy to help
    http://experiencingmsbi.blogspot.com/

  • Previous month end based on prompted values

    Hello All,
    I need to create a SR report that shows:
    Received in current month: count of Service requests recorded in current month selected. For instance if date prompt selection was March 2010 then count of SR recorded from Mar 1- 31,2010
    Open Service Requests at month end Count of SRs where "Date Completion entered in system" is null as last day of month selected(eg March 31)
    Carry over from Previous month: same as Open Service Request as month end less one month.( eg Feb 28)
    I currently have a prompt which lets the end user choose the Month and Year they want to run the report for. I am getting the right values in my first two columns but my carry over is giving me problems. Any idea how I can write a formula for 'Carry over from Previous month'??
    Any help is appreciated!
    Sonia

    Hi Max,
    The carry over is causing problems. However, the formula for the month end chosen is
    SUM(CASE WHEN CAST ("Service Request"."Closed Date and Time" AS DATE) IS NULL OR CAST ("Service Request"."Closed Date and Time" AS DATE) > TIMESTAMPADD (SQL_TSI_MONTH, 1, (TIMESTAMPADD (SQL_TSI_DAY, - (DAYOFMONTH(CAST ("- Service Request Custom Attributes".INDEXED_DATE_0 AS DATE))), CAST ("- Service Request Custom Attributes".INDEXED_DATE_0 AS DATE))))THEN 1 ELSE 0 END)
    But when I use this formula for previous month (-1).. It does not work. It gives me zero.
    Thanks!
    Sonia

  • Dafault value previous month in BEx

    Hi Experts,
    I have a report where I have to get default value as previous month of current month. Field is of type 0calmonth.
    Ex. when user runs the report in october/2009, in the selection screen - the default value for that month should be 09/2009.
    Ex. If he runs in January/2009, it should be 12/2008 of previous year.
    Ex.  He also has the right to change that field the way he wants. He can run report in 05/2009 and put value for month of 01/2009.
    How can I do this.

    Hi,
    while putting a variable on 0CALMONTH choose it in below mentioned way,
    right click--> filter --> variable --> range --> Less or equal --> <your variable>.
    now in the where ever you have used key figures, put them in selection and also insert 0calmonth and restrict it with same <your variable with offset -1>.
    this will work.
    Regards,
    Akshay

  • How to get previous month's values for current month

    Hi..
    I have a requirement on a report, where for a particular month, the key figure value should be from the previous month.
    Eg: KF1 value for Sept 2007 should come from Aug 2007, KF value for Dec 2007 should be the value of Nov 2007, etc.
    There are other key figures on the report which do not need this logic. It is only for one key figure.
    Should we do this on the backend or front-end, and how? Any tips will be appreciated.
    Thanks
    R.

    hi,
    Use a Restricted Keyfigure.
    Drag your KF1 and Drag Calandar Month with a Variable Current Cal Month with variable Offset to -1.
    KEERTTHi

  • Parameter for Current Month and Previous Month

    I'm trying to create a parameter for current month and previous month based on the ex_date, but not sure what i'm doing wrong. 
    where ex_date = @SelectDate
    I created a second dataset below for the values in the parameters.
    SELECT Month(CURRENT_TIMESTAMP) AS 'Month', 'Current Month' as 'Current Month'
    union all
    SELECT Month(CURRENT_TIMESTAMP)-1 AS Month, 'Previous Month' as 'Previous Month'
    Results
    Month Current Month
    3 Current Month
    2 Previous Month
    Once I preview it I get "Conversion failed when converting date and/ or time from character string" I changed the data type to "date/Time" but that did not make a difference. The date is convert (varchar(10), ex_date, 101) so looks like
    11/12/2014. 
    I've also tried expressions like =month(now()) to pull current month with same error so i'm not sure what i'm doing wrong. Any ideas?

    i tired this real simple report
     in the first dataset - my main report query - select name from sysdatabases where month(crdate())=@month
    in the second dataset - select month(getdate()) as Month1
    in the parameters - choose int data type and available values - select the second data set
    in the first data set- add this parameter..( i am assumming you know this, since you have done)
    in the preview you should get the drop down with current month number - 3
    and if you run the report, it will display the database names that were created in march. remember we are no checking year, so will get all that were created in march across the years.
    Hope it Helps!!
    I'm looking to have the dropdown say "Previous Month" and "Current Month" as a option. I know how to get the information in SQL, but not sure how this translates or put into a parameter.
    Current Month
    list_date BETWEEN
    DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE()), 0)
    AND
    DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE()) + 1, 0)
    Previous Month
    list_date between
    CONVERT(varchar,dateadd(d,-(day(dateadd(m,-1,getdate()-2))),dateadd(m,-1,getdate()-1)),106) /* Last Month */
    and
    CONVERT(varchar,dateadd(d,-(day(getdate())),getdate()),106)

  • How to Get Previous Month Salary for a particular employee?

    Hi
    I am developing a report to get the Net Pay Difference from Previous month.
    I am using logical database pnp.
    My question is how can we get the last month (Previous from current selected month) salary of perticular employee. I read the thread which is related to this but I can't understand the reply's. I think it is due to that I am new in ABAP and my experience in only 22 days. If someone reply with code example then it will more helpful for me.
    Also If you can tell me the table name from where we can get the salary of particular month of particular employee then it will also helpful for me.
    Regards
    Iftikhar

    Hi,
    Payroll data is stored in cluster tables.
    You can either use macro for retrieving the data or Function module.
    1. Use FM -CU_READ_RGDIR for getting the RG directory values.Pass  
      employee Number and molga.You will get all the sequence Numbers from this
      FM.
        The last record will be the latest  one.
    2.  Then Use FM - PYXX_READ_PAYROLL_RESULT for getting the payroll  
         results table.Pass cluster ID- 'IN'  ,pernr ,sequence number for which period
          you want (In your case ,current period minus   1) and
          READ_ONLY_INTERNATIONAL            = 'X',
    3. You will get all the results from PAYROLL_RESULT                     = it_result
      Then you can loop this internal table like LOOP at it_result-inter-rt into wa..
    Get the net pay value(/560 wage type)
    Reward points if helpful.
    Regards,
    Manoj.

  • First day of previous month

    Hi,
    I created a data parameter and I want my date parameter default value to be the first day of previous month, the expression {$FIRST_DAY_OF_MONTH()$} is pointing to the fitst day of current month and when I tried {$FIRST_DAY_OF_MONTH()-1$} it is just subtracting a day(thought to go back one month)...Is there way I can point my default value to first day of previous month.?
    Regards

    hmm is BI Publisher in Beta? Are there any workarounds you can suggest me to achieve this?
    I see the user stated that a workaround is possible at RTF template level? How can we achieve this?
    Re: Default date as first of month
    Edited by: user8937215 on Aug 10, 2010 7:30 AM

  • How to show Increase/Decrease of Sales Amount compare to Previous Month.

    Hi,
    My users need to view the percentage decrease/increase of Sales $ compared to previous month, for each Month.
    How can I create a Restricted Key Figures that show Sales $ Amount as of Previous Month (take note it is not just Previous Month from Current Month, but each Month's Previous Month). i.e
    Nov 06  - Sales $ = 1000
    N0v 06 - CKF_A - Variance Compare to Prev. Month: 100%
    Dec 06 - Sales $ = 800
    Dec 06 - CKF_A - Variance Compare to Prev. Month: -20%
    (800-1000/1000)
    Jan 06 - Sales $ = 1000
    Jan 06 - CKF_A - Variance Compare to Prev. Month: 25%
    (1000-800/800)
    How can I create CKF_A and achieve similar result?
    Most of the variables for 0CALMONTH or 0FISCPER seems pointing to one value only.
    I don't want to create Restricted Key Figures for each and every month.
    Please help.
    Thanks,
    Sean Yit.

    Sean,
    You don't have to create RKFs for each and evry month. But you need to create just two RKFs.
    Lets say that you want to display the months in rows and Sales in the first column and the variance in the second column. Just restrict Sales by the month characterstic with a user entry variable (range if it is more than one month the user wants to display), then in the next column create another RKF by restricting Sales with the same month characterstic. This time offset the first varaible by minus one (-1). In the properties of this RKF, select always hide option.
    Now create a CKF (calculated key figure), by using the variance% formula option.
    CKF = RKF2 "%" RKF1.
    I hope this helps..

  • Help with Setting Previous Month Date Parameter for SSAS via SSRS

    Hi All,
    Firstly, any assitance is greatly appreciated.
    Now, I am working on developing a report for a business area that will be sent on the first of every month. The report will contain data for all records created in the previous month, current year.
    I have been able to successfully implement a default year parameter, which will default to current year-
    ="[REFERRAL LODGEMENT DATE].[CAL YEAR].&["+CSTR(Year(Today))+"]". However, when I attempt to set a previous month paramater it is not setting when the report is generated. The code I have used
    is as follows: 
    ="[REFERRAL LODGEMENT DATE].[CAL MONTH NAME].&["+CSTR(Month(Today)-1)+"]"
    Cheers

    Before you spend more time trying to fix the parameter, let me suggest that you can write MDX to come up previous month data.
    if you can't go that route, couple of things to consider for your approach:
    1) don't subtract 1 from January that won't work. you'll need to handle it using the ssrs expression.
    2) when you use the month function it's going to return a month index so effectively you are passing something like [REFERRAL LODGEMENT DATE].[CAL MONTH NAME].&[7] to SSAS, is that the current format?
    you can use the MonthName function to get month names but again make sure that the formatting is right.
    to see the parameter value, you can display it on the ssrs report and see if it's the right format.
    Paras Doshi (Blog: ParasDoshi.com | Twitter:
    @Paras_Doshi )

  • How to find current month, previous month Net Sales by means of formula?

    Hello Gurus,
    I need my crystal report to display data as below:-
                                            Net Sales
    PG1         Current month      Previous Month     Prior year-month    %Variance
    Panels      $                          $                          $
    Frames
    Can anyone kindly suggest formula for generating these values?
    I have already formulated current, previous, prior year months' start dates and end dates.
    Further details:-
    Data filters are requested for Company-->Region-->Customergroup-->All Product group
    Datasource is Universe
    Reporting for 2 years data
    Your suggestions and help will be much appreciate.
    Thanks,
    Prarthana

    hi Prarthana,
    there are a couple of different ways of doing this...one way is to create formulae similar to below...
    1) formula for current month sales
    if month({your date field}) = month(currentdate)
    and year({your date field}) = year({your date field})
    then {your sales field}
    2)  formula for previous month sales
    if month({your date field}) = month(dateadd("m", -1, currentdate))
    and year({your date field}) = year(dateadd("m", -1, currentdate))
    then {your sales field}
    3) formula for 2 months ago
    if month({your date field}) = month(dateadd("m", -2, currentdate))
    and year({your date field}) = year(dateadd("m", -2, currentdate))
    then {your sales field}
    put those formulas on your details sections and then right click on them and choose Insert > Summary and choose Sum as the summary type and change the Summary Location to match the appropriate groups.
    cheers,
    jamie

Maybe you are looking for

  • How do I put a shot cut to my desktop from amazon website?

    I want a link of Amazon homepage on my desktop and can't figure out how to do it.

  • Ipad not charging in charging slot

    ipad does not pick up charger

  • Trying to Upgrade to 10.5 and BSoD

    Okay, so I went to my local Apple Store, and asked one of the people that worked there if I would be able to update my iBook G4 from 10.3.9 to Leopard and he said yes, but I can't remember if they get paid for their sales so I don't know if I should

  • Filling paths with color in Photoshop CS4

    I am working in Photoshop CS4...have been for years.  All of a sudden, when I try to fill a closed path with a color, it fills the entire artboard with color, except not inside the path.  I have not selected "inverse" or anything....and it has never

  • Bmm Help

    Hi, I have following tables in physical layer - which are at different levels. Dim1: Year, State ,State id 10 records Dim2: Year, State, County , County id 90 records Dim3: Year, State, County, City, City id 150 records Fact table in Physical and bmm