Sum prior month KF1 + KF2

Hello,
I am stuck in what seemed like a simple calculation...
I have two key figures in my rows, and need to display fiscal year/month in the columns (requirements are for monthly totals across a rolling 24 months).
As part of a bigger calculation, I need to add the following KFs and display the result in each of the 24 monthly column.
prior month KF1 + KF2
For example:
Feb    = Jan KF1 + Feb KF2
March = Feb KF1 + March KF2
April    = March KF1 + April KF2
...etc.
I have tried using RKFs and offset variables, but this just changes the months that are displayed in the columns.  Basically, I need for the value of KF1 for month X to "exist" in the following month's column.
Help!

Hi,
I can see that you have a solution, but is it really working without a structure?
I mean do you have your 2 KFs in the rows and then your CALMONTH in the drilldown accross the columns and then see
KF1 = value for the month
and KF2 = value for the previous month?
please let me know because that would be new to me
Olivier.

Similar Messages

  • Sum prior month to next month

    Hi All,
    I have three key figures in my rows and the third one is a CK (a-b) , and need to display fiscal year/month in the rows.
    Now the issue is I need to carry forward the CK value of the first month to add with second month and carry the sum of 1st and 2nd month to 3rd month till the last month.
    Pls. help.
    biju

    Hi,
    I feel the Cell editor concept is the best one here to get the required output.
    /message/1742617#1742617 [original link is broken]
    Re: How to find growth %
    With rgds,
    Anil Kumar Sharma . P
    IBM - India.

  • Want to schedule WebI report for End date of Prior Month

    Hello Experts,
    We have WebI report created on top of Bex Query, We have key date as prompt for the report. Can we schedule the webi report for key date as last date of prior month, so if current month is February, my key date should be Jan 30 2011. I am not sure if this is possible?
    Thanks,
    Ravi

    You need to apply two FM to get the end day of the month.
    First you need to apply FM MONTHS_PLUS_DETERMINE. This will give you the date after 3 months.
                CALL FUNCTION 'MONTH_PLUS_DETERMINE'
                  EXPORTING
                    MONTHS        = 3   " << for 3 months
                    OLDDATE       = l_start_Date   " << 12/01/2007
                 IMPORTING
                   NEWDATE       = l_3_Date. " << 02/01/2008
    Then call the FM RP_LAST_DAY_OF_MONTHS . this will give you the end date of the month
      CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
        EXPORTING
          day_in            = l_3_Date  " << 02/01/2008
        IMPORTING
          last_day_of_month = l_3_Date  " < 02/29/2008
        EXCEPTIONS
          day_in_no_date    = 1
          OTHERS            = 2.
    Call both FMs again to get your another date(after 4 months).
    Regards,
    Naimesh Patel

  • Rate Lookup of prior month

    Hi experts,
    for a modified FX calculation I need the scanned month value and the corresponding FX rate. This is well handled by the LOOKUP command of Script Logic. In addition I need the prior month value and the corresponding prior month FX rate. I want to plan to achieve this by a second LOOKUP run that has this time shift by -1 period (=prior month).
    How would I code this in the Script Logic ?
    Environment: BPC 5.1, SQL Server 2005
    Any help is appreciated. Thanx.
    Regards.
    Wolfgang

    Hi Nilanjan,
    thanks for the quick response. Sorry, I have not understood what you mean exctly. Let's asuume we have a standard Rate Lookup, like the following
    *LOOKUP RATE
    *DIM ENTITY2="DEFAULT"
    *DIM SOURCECURR:INPUTCURRENCY=ENTITY.CURR
    *DIM SOURCECURR:INPUTCURRENCY="USD"
    *DIM RATE=ACCOUNT.RATETYPE
    *ENDLOOKUP
    *WHEN ACCOUNT.someproperty
    *IS "currentmonth"
    *REC(FACTOR=LOOKUP(DESTCURR1)/LOOKUP(SOURCECURR),CURRENCY="USD")
    *IS "priormonth"
    //* here I need the prior month FX rate 
    *REC(FACTOR=LOOKUP(DESTCURR1)/LOOKUP(SOURCECURR),CURRENCY="USD")
    *ENDWHEN
    where exactly do i need to place the PRIOR statement for the prior month FX rate ?
    Thanks.
    Regards.
    Wolfgang

  • Overage Charge for prior month on first bill

    Got my first Verizon bill today and found something interesting.  I was charged for going over my data for the prior month to the tune of $15 for a gig.  Problem is, I've only had the phone for a month and there is no prior month on my account!
    Or at least there shouldn't have been.  Looks like my billing cycle started the day after I got the phone, so all the data from setting up my phone in store was overage.  This is crap.  Anyone else notice this?

    That one day of the prior billing cycle was prorated based on the data plan you selected and divided by the number of days in the billing cycle.

  • Calculating prior months using off-set and crossing to prev year

    Gurus,
    I am getting current month period based on user entered value and calculating prior month by off-setting current month by 1.
    it works fine when current month value is greater than 1. If it is 1, prior month does get evaluated as 12 of previous year.
    Example...
    If Current period is - Feb, 2008 (02/2008). previous period comes fine as Jan, 2008.
    If current period is Jan, 2008 (01/2008) perious period is unknown. (I want it to be 12/2007).
    is there way to handle this without too much coding etc?
    Regards,
    -SM

    Mayank,
    What is SAP variable for Fical Year/Period, which will have both month and year value? (I guess I need to Fiscal posting period rather than Cal month?)
    Also what is SAP variable for Quarter/Year? I need to off-set of quarter also.
    Thanks, -SM

  • Find Prior Month Sales Per Salesman?

    I have salesmen throughout the country. Each salesman sells in a particular state. I want to total up each salesman's invoice sales for the prior month (I will also do this for: July 2010, %Difference between July 2011/July2010, YTD 2010, YTD2011, and percent difference between YTD2010 and YTD2011)
    The tables.fields I have are:
    ARSalesRep.Name
    ARInvoice.InvoiceDate
    ARInvoice.Invoicetotal
    ARInvoice.ShipToState
    How would I construct formulas for these?

    Hi, 
    A couple of ways you can do this: 
    1)  You can group on ARInvoice.ShipToState then on {ARSalesRep.Name}. 
    2)  Create 4 formulas and drop them into the Detail section: 
    YTD 2010
    If {ARInvoice.InvoiceDate} In [Date ((Year (Today) -1), 1, 1) to DateAdd (yyyy, -1, Today)] Then
         {ARInvoice.Invoicetotal}
    Else 0;
    YTD2011
    If {ARInvoice.InvoiceDate} In [Date ((Year (Today)), 1, 1) to Today] Then
         {ARInvoice.Invoicetotal}
    Else 0;
    July 2010
    If Year ({ARInvoice.InvoiceDate}) = (Year (Today) -1) And
         Month ({ARInvoice.InvoiceDate}) = Month (Today) Then
         {ARInvoice.Invoicetotal}
    Else 0;
    July 2011
    If {ARInvoice.InvoiceDate} In MonthToDate Then
         {ARInvoice.Invoicetotal}
    Else 0;
    3)  Right-click these fields and Insert Summary.  Drop the summarized fields into the  {ARSalesRep.Name} Group Footer.  You can hide the Detail section if you don't need to see it. 
    4)  Create a formula to calcuate the YTD difference using the summarized fields. 
    The other way would be to create a Crosstab report using the same formulas.  All depends on how you want to view your data. 
    Good luck,
    Brian

  • Display Net Outstanding Invoice amt only in Cust Statement for prior month

    Hi
    Our Client has requested for the Customer Statement to include only Net Outstanding Invoice balance for prior month while showing all transactions of Invoices and Payments including fully paid transactions for the current month only.  Currently they are not able to reconcile historical payments against Invoice because lots of them are partial payments only.
    Kedalene Chong

    Hello,
    Backdating of the statement is supported in 2007 A / 2007 B versions. Displaying fully
    paid transactions for the current month only will be considered for next release.
    Thanks for the valuable feedback.

  • Financial Reporting: Current Month vs Prior Month Variance for all Entities

    Silly/Easy Question:
    How can I set up a grid in Hyperion Financial Reporting to show these columns for all entities- Current Month NIBT, Prior Month NIBT, Variance
    So, the report would look like:
    Florida Current Month, Florida Prior Month, Florida Variance...Georgia Current Month, Georgia Prior Month, Georgia Variance...Ohio Current Month, Ohio Prior Month, Ohio Variance
    All I can get it to do at present is:
    Florida Current Month, Georgia Current Month, Ohio Current Month, Florida Prior Month, Georgia Prior Month, Ohio Prior Month, etc.
    Thanks!
    Note: we have many entities, so hard coding them in the report is out.

    Update: been working with Oracle dev on this. Seems FRS cannot produce a report such as this:
    ----------Entity-----------------------------------------Entity-----------------------------------------Entity
    ----------Curr Mo - Prior Mo - Variance----------Curr Mo - Prior Mo - Variance----------Curr Mo - Prior Mo - Variance
    Account
    Account
    Account
    Account
    Account
    The data can be extracted in other layouts, but this is one we'd like to utilize for Balance Sheet Variance analysis and Tax ETR reports.

  • Why are events being deleted in my history (prior months) on iCal?

    After downloading iCloud, I've noticed that any even scheduled in prior months has been deleted.  I like to keep this info for reference points in my business.  Can someone please give me advice on how to keep all past events on my Ipad / iCal?  And how can I restore these past events onto my iPad's iCal?  They are still showing up on the iCal on my iMac, which is really confusing!  Thank you!!!!

    sorry, "I've noticed that all the event scheduled in prior months have been deleted"....

  • Current Year & Prior Month

    Hello experts.  I tried a bunch of things, but I can't seem to get it right.  I want to get the format of my date like this: yyMM
    and have MM be the prior month.
    So, for 03/06/2015, I'd like to get this '1502'
    How can I do that?
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

    >>  I want to get the format of my date like this: yyMM .. So, for 03/06/2015, [gee, is that '2015-03-06' or '2015-06-03'?? ] I'd like to get this '1502' <<
    Why did you pick the worst possible local dialect for your display in the presentation layers? Google some articles on temporal data. This is more than SQL. 
    Since SQL is a database language, we prefer to do look ups and not calculations. They can be optimized while temporal math messes up optimization. A useful idiom is a report period calendar that everyone uses so there is no way to get disagreements in the DML.
    The report period table gives a name to a range of dates that is common to the entire enterprise. 
    CREATE TABLE Something_Report_Periods
    (something_report_name CHAR(10) NOT NULL PRIMARY KEY
       CHECK (something_report_name LIKE <pattern>),
     something_report_start_date DATE NOT NULL,
     something_report_end_date DATE NOT NULL,
      CONSTRAINT date_ordering
        CHECK (something_report_start_date <= something_report_end_date),
    etc);
    These report periods can overlap or have gaps. I like the MySQL convention of using double zeroes for months and years, That is 'yyyy-mm-00' for a month within a year and 'yyyy-00-00' for the whole year. The advantages are that it will sort with the ISO-8601
    data format required by Standard SQL and it is language independent. The pattern for validation is '[12][0-9][0-9][0-9]-00-00' and '[12][0-9][0-9][0-9]-[01][0-9]-00'
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Prior month rate or data

    Hi,
    How can we access the prior month rate in the business rule table? If I use, say OPEAVG, it returns the AVG rate from the last month of the previous year. If I set the OPENING_PERIOD to -1 in the selected scenario, it doesn't seem to work.
    Thanks,
    Regis

    Note that I created a member "PAVG" in the RATE dimension and had a logic to copy the prior month AVG into the current month PAVG. This logic works fine but when I use PAVG in the Business Rule table, it converts at rate 0. However if I use a different name, say LMAVG as member name instead of "PAVG", then it functions.
    Somehow, "P" seems to be assimilated to the opening rate that corresponds to the average rate of the last month of the previous year.

  • Calc Status doesn't change on Prior Months...

    After I load metadata I "consolidate all with data" for December of a given year. Once this consolidation is finished the Calc Status of Dec is "OK" but when I look at any Prior Month within the same year the Calc Status is "OK SC" It is my understanding that consolidating any given month would consolidate all prior periods within the same Scenario/Year. Is there a way to fix this so the prior periods are consolidated as well?

    It would consolidate prior months if there was some change in the data for those months. Here, you have changed metadata therefore the status is "OK SC" which means that it is calculated/consolidated but there is a System Change (SC) since the last calculation/consolidation. HFM has no way to know whether you wanted to keep the calculations according to the previous version of your rules, so it does not execute consolidation for those periods. Bare in mind that rules may change from period to period due to changes in regulation (or more generally in the client's business needs) in contrast to the reason that the system is not yet finalized, which is probably your case at hand. In this case you must manually execute the consolidation for those periods.

  • What authorities do I need to start a dispute with for Verizon charging for "Unbilled Data From Prior Months - GB "

    For the second month in a row, Verizon has added a $15.00 "data over usage" fee.  When I call customer service, I am told that the charge is for over usage of data from prior months in which they can't tell me what months we went over.  We've been Verizon customers for 10+ years & all of a sudden their customer service has severely declined.  I am always on Verizon's website looking at our usage and the past 6 month analysis to make sure we're staying within our range of usage and we've never gone over our allowed plan for data.  I plan to file a formal complaint/dispute with all of the consumer protection agencies and/or authorities but need to know which ones are for telecommunications issues for Georgia consumers.

    For a customer of 10 years to never read the customer agreement...:
    "HOW AND WHEN CAN I DISPUTE CHARGES?
    If you're a Postpay customer, you can dispute your bill within 180 days of receiving it, but unless otherwise provided by law or unless you're disputing charges because your wireless device was lost or stolen, you still have to pay all charges until the dispute is resolved. If you're a Prepaid customer, you can dispute a charge within 180 days of the date the disputed charge was incurred. YOU MAY CALL US TO DISPUTE CHARGES ON YOUR BILL OR ANY SERVICE(S) FOR WHICH YOU WERE BILLED, BUT IF YOU WISH TO PRESERVE YOUR RIGHT TO BRING AN ARBITRATION OR SMALL CLAIMS CASE REGARDING SUCH DISPUTE, YOU MUST WRITE TO US AT THE CUSTOMER SERVICE ADDRESS ON YOUR BILL, OR SEND US A COMPLETED NOTICE OF DISPUTE FORM (AVAILABLE AT VERIZONWIRELESS.COM), WITHIN THE 180–DAY PERIOD MENTIONED ABOVE. IF YOU DO NOT NOTIFY US IN WRITING OF SUCH DISPUTE WITHIN THE 180-DAY PERIOD, YOU WILL HAVE WAIVED YOUR RIGHT TO DISPUTE THE BILL OR SUCH SERVICE(S) AND TO BRING AN ARBITRATION OR SMALL CLAIMS CASE REGARDING ANY SUCH DISPUTE."
    SEE FULL AGGREEMENT HERE: Customer Agreement | Verizon Wireless

  • Prior Month/Quarter/year Measure

    Hi Gurus,
    I have 3 drop downs year,quarter and month in my report.
    Now in my report 2 measures are shown.Current Period and Prior Period.
    Now if i select 2011 as year in drop down then current period will be of 2011 and Prior Period will be of 2010.Same is the case for Quarter and Month.
    For this i have created 3 measures for AGO.(AGO Year,AGO Quarter and AGO Month).
    I have written case statement for the Prior Period Column in Answers so that if the user selects Year in the drop down then AGO year will be shown ,if user selects Quarter then AGO Quarter will be shown.
    Now i m getting error in the report
    A general error has occurred. [nQSError: 22036] Level in AGO function (Month) must be a rollup of (or equivalent to) the measure level (Year). (HY000)
    Please help me in this regard

    Fiscal Sales :=
    SUM ( 'LG_ACTUAL_VS_BUDGET_V'[Dollar Value] )
    Prior Year Fiscal Sales :=
    CALCULATE (
        [Fiscal Sales],
        FILTER (
            ALL ( 'LG_ACTUAL_VS_BUDGET_V' ),
            'LG_ACTUAL_VS_BUDGET_V'[Fiscal Year]
                = MAX ( 'LG_ACTUAL_VS_BUDGET_V'[Fiscal Year]
    ) - 1
    The second (and following) arguments to CALCULATE() have to be filter expressions or table expressions.
    In this case we are using the table expression, FILTER() - confusing, that.
    ALL( 'LG_ACTUAL_VS_BUDGET_V' ) means that we'll be applying a filter to every value in LG_ACTUAL_VS_BUDGET_V
    and returning a table that is a subset of that table based on the second argument to FILTER(). This is necessary, because your row filter (in this case the [Fiscal Year] that will be in the pivot table) would otherwise eliminate values for other years from
    the filter context.
    The second argument to our FILTER():
           'LG_ACTUAL_VS_BUDGET_V'[Fiscal
    Year]
                = MAX ( 'LG_ACTUAL_VS_BUDGET_V'[Fiscal Year]
    ) - 1
    This compares the values in the column [Fiscal Year] to MAX ( 'LG_ACTUAL_VS_BUDGET_V'[Fiscal
    Year] ) - 1. The MAX() function respects your row filter (remember, the [Fiscal Year] in the pivot table), and is necessary because we need to convert the values in that column to a single scalar value. We then subtract one.
    Thus FILTER() is returning a table of all values from LG_ACTUAL_VS_BUDGET_V where
    the fiscal year is the prior fiscal year compared to the current row context. This table is being used as the second argument to CALCULATE().
    CALCULATE() then determines the value of [Fiscal Sales] in the context of that table.
    I hope this helps a bit with your understanding of what's going on and how to properly
    use CALCULATE().

Maybe you are looking for