Need to apply MTD logic for actual and prior year

Hi Team,
We are facing an issue with MTD calculation based on formula variables,
Issue: MTD Only (Actual and Prior Year) – show the same value for MTD. 
Requirement:
When the query is run for a selected month, the query should be run for that month based on the Last TECO Date (Input Variable).
• For example, dashboard is run for January 2014, the calculation of MTD should be based on the Last TECO Date : i.,e if I enter older date/month (not current date)[ 1/20/2014 means it should calculate for 1/1/2014 – 1/31/2014]
• If the dashboard is run for the current month, the MTD calculation should be on Last TECO Date = 1st day of month – Current Day
The above same calculation logic should be applicable for MTD prior year: instead of the input variable value, the value for previous year should be considered
Final Calculation:
If Last Labour Date is blank, 0, else Last TECO Date – Last Labour Date (by individual line item)
Here we created two formula variables for last teco date and last labour date.
Also created 2 Customer Exit variable for MTD Actual calculation.
We have pulled the formula variable and CE variable into the selection and created a new CKF (Teco date).
We have done the final calculation on the basis of the ( (labour date ==0)*0 + last teco date-last labour date )for MTD ACTUAL.
MTD Prior Year-
when have done calculation on the basis of the( (labour date ==0)*0 + last teco date-last labour date )for MTD Prior year by giving offset -12 to the value.
Here for MTD Actual and MTD Prior year values are coming same  ,we tried with by doing customer exit variables as well, Still values are coming same.
please give your valuable inputs/suggestions to proceed for this requirement .

I assume the Sales measure is a monthly measure. The Prior year calculation as I described will give you the sales for the same month in the previous year when selecting month in your report. When selecting year it will add up all months of the prior year until now and you will indeed see the Prior year YTD.
If you want to see the total sales for the previous year you have to use the same calculation as 'Prior year' and map it to the year level of your time dimension. This will work as a 'partition by year'.

Similar Messages

  • Need to display different colors for Actuals and forecasting values in WAD

    Hi Gurus,
    My requirement in the report is, I need to display different colors for particular values like Actuals(say value type 10) and for forecasting values(say value type 20) , and data will uploaded from flat file.
    Scenario : If I upload the data for March Month, I receive actual values upto March(Jan to March month) and from April to Dec(Forecast values with value type 20),  Every month I will be getting file and similarly for subsequent months, i will get current month actual values and forwarding months forecasting values,
    Now , my requirement is, When ever i execute the Report, Say if i execute for April Month, Upto April( Jan to April for actual values should be displayed in one color) and from May to Dec ( forecast values should be displayed in different color).
    I had tried with following options like exceptions and could not display , as it runs based on key figure values where as my requiremnet is based on the CALMONTH , i need to show different colors for both actual and forecast values.
    Kindly, help me out from this,
    Thanks

    Hi,
    it is not necesseary that you need to do that in WAD , you can do the same in BEx platform, Since WAD is build above the bex reports. so automatially any changes done in Report will be replicated in WAD
    Go for Exceptions in Bex. Give some range for Actuals and Forcasting at the creation of the exception.
    if you do those changes in BEX automatically it will replicate in the WAD.
    for more information please read this link
    http://help.sap.com/saphelp_nw04/helpdata/en/68/253239bd1fa74ee10000000a114084/content.htm
    hope this will solve your problem.
    Santosh

  • How to use the Time Variants PYTD and Prior Year Annual?

    Hi,
    We have a time dimension which has the generic columns i.e Month, Year.
    We need to calculate the Time variants for the Facts Say Sales. I was able to calculate the Prior Month, Current YTD
    I have some doubts regarding the other variants:
    1. Prior Year : Does this include the Prior Year Annual?
    2. Prior YTD: How to calculate it?
    Somehow I am getting the same results for PYTD and Prior Year.
    The formula used are :
    Prior Year:
    AGO(Sales, Year, 1)
    PYTD:
    AGO(Sales CYTD, Year, 1)
    Has anybody encountered similar issue?

    I assume the Sales measure is a monthly measure. The Prior year calculation as I described will give you the sales for the same month in the previous year when selecting month in your report. When selecting year it will add up all months of the prior year until now and you will indeed see the Prior year YTD.
    If you want to see the total sales for the previous year you have to use the same calculation as 'Prior year' and map it to the year level of your time dimension. This will work as a 'partition by year'.

  • I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money? Does it have a line in and how do you monitor sound? Will I need adaptors and a interface?

    Can anybody help?
    I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money?
    Does it have a line in and how do you monitor sound?
    Will I need adaptors and an interface?
    Also, I am guessing as Logic only runs on MAC surely then they would not the best spec to recommend to run it?
    I see all the upgrades as additional memory or a faster process?
    Is a retina screen necessary, and why flash based storage against a 1TB hard drive, and a i5 instead of an i7
    The main reason for this purchase is to play live and use backing tracks and record found sounds and make creative songs.
    I hope you can provide some valuable feedback, as I am a longtime MAC user and see upgrades and changes happen regularly but the most important thing is the songs not the equipment.
    I have £500 already and willing to add another 500 to 700 pounds, then software extra.

    Can anybody help?
    I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money?
    Does it have a line in and how do you monitor sound?
    Will I need adaptors and an interface?
    Also, I am guessing as Logic only runs on MAC surely then they would not the best spec to recommend to run it?
    I see all the upgrades as additional memory or a faster process?
    Is a retina screen necessary, and why flash based storage against a 1TB hard drive, and a i5 instead of an i7
    The main reason for this purchase is to play live and use backing tracks and record found sounds and make creative songs.
    I hope you can provide some valuable feedback, as I am a longtime MAC user and see upgrades and changes happen regularly but the most important thing is the songs not the equipment.
    I have £500 already and willing to add another 500 to 700 pounds, then software extra.

  • After upgrading to NX-OS 5.04, out snmp traps monitoring system is not generating ticket / incident for the snmp traps and my question is whether we need to apply new MIBS for that?

    after upgrading to NX-OS 5.04, out snmp traps monitoring system is not generating ticket / incident for the snmp traps and my question is whether we need to apply new MIBS for that?

    Looking at the error message "The Network Adapter could not establish the connection" , It appears hostname and port may be incorrect. Review the targets.xml under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\emd and
    emoms.properties under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\config folder to make sure host ( sap_solman) and port (1527) are correct.
    As far as setting the environment variables goes, you can go to control panel -> system -> advanced -> environment variables and set the ORACLE_HOME and ORACLE_SID
    -Ramesh

  • Tables related to PM order for actual and commitment items

    Hello Experts,
    I need help in finding the tables related to PM order for actual and commitment items.
    I need develop a report which can show the actual and commitment items for each order and Operation/component under that each ITEM wise and its related documents.
    For the component we can find the table RESB.
    But i am getting the difficult to find the data related to Operation (services)
    In my client we can able to see PM orders with activity types and SKF
    How can build the logic to find the values for each operation item and its commitments (PO, PR) and actual that is FI documents
    Please guide me the   TABLES and fields or else give me the hints, how can find the tables
    Thanks and Regards,
    Narendra

    Hi,
    The tables are COEP (actuals) and COOI (commitments); that is if you mean the financial figures.
    Regards,
    Eli

  • ACCOUNTING FOR ACTUAL AND ESTIMATED OVERHEADs

    Hi
    I have some basic questions about the accounting flow for actual and applied OVERHEADs in SAP,
    When I receive the goods from production I credit Cost Of Goods Manufactured (Mat CostOHProcess Cost+ Prod Cost)
    1. How does the accounting entry flow in the above case.
    2. How do we provide for these expenses in advance or do we need to pass a JV (Provision/Payable a/cs)
    3. When the actual costs are booked, how do we book the same in Finance,  as we have already inventorised the estimated expenses.
    Thanks & Regards

    Eduardo,
    you don't HAVE to create a new cube, as Ravi says you could use the Actual cube, make it Real time and keep on switching the cube behavior between loading and planning.
    However what I would do is create a real time cube as a copy of the actual one. Build a multiprovider with exactly the same structure and an aggregation level on top of the multiprovider. The old plan data can remain in the Actual cube and using the layouts and planning functions you can use it without a problems.
    Then all the new planning data should be written to the new cube.
    This way, once the old plan data becomes obsolete your data will be partitioned in two cubes, with the advantage of reporting using a multiprovider.
    Regards,
    C

  • I need to add the logic for posting key,

    I need to add the logic for posting key, if posting key = 50 then amount is credit (add negative sign in amount field).
    I creadted this scenario in mapping, We wanted to make sure that the negative sign was placed in the amount field if the posting key was = 50.  So it seems we are good.  We will just need to test.
    How i can test this case?
    Please do needful.
    Thanks in advance.

    Hi,
    You need to use an IfElse node function in your mapping in which the input should be the posting key from the source structure.
    You need to check in the IfElse statement whether the posting key=50, if it is true, then use concat node function to concat the negative sign("-") along with the original value to be passed to the amount field on the target side. Else, if the condition is false(i.e posting key!=50), then simply pass the value to the amount field as it is without adding the negative sign.
    After the mapping is done, go to the test tab and then insert the values in the source fields and then execute from the lower left button showing start transformation.  You need to test with the value of posting key=50 once and with the value not equal to 50 once.In the first case, the output amount field should have the negative sign, which should not be present in the second case.
    You will find your target structure in the righter half of your screen. That's it mate
    Thanks
    Biswajit

  • Rolling forecase for Actual and Plan

    Hi
    Iam working on Rolling Forecast for Actual and Plan report.. My Planning here is Quaterly based so for example say we plan it on April so the months after april (May - Dec) would be Planning. So when my month keeps on moving the forecase also moves..
    So can you please guys help me to get out of this with an solution..
    Thanks

    Hi,
    If you are using BI-IP for your scenario of forecasting then you can refer to the below links for forecatsing strategies.
    http://help.sap.com/saphelp_nw70/helpdata/en/43/0c033316cd2bc4e10000000a114cbd/frameset.htm
    for forecasting strategies
    http://help.sap.com/saphelp_nw70/helpdata/en/43/0c033316cd2bc4e10000000a114cbd/frameset.htm
    If you are using SEM-BPS you can consult these links:
    http://help.sap.com/saphelp_sem60ep1/helpdata/en/0a/242537cedf2056e10000009b38f936/frameset.htm
    http://help.sap.com/saphelp_sem60ep1/helpdata/en/0a/242537cedf2056e10000009b38f936/frameset.htm
    Forecast (old)
    http://help.sap.com/saphelp_sem60ep1/helpdata/en/0a/242537cedf2056e10000009b38f936/frameset.htm
    Forecast(Exit)
    http://help.sap.com/saphelp_sem60ep1/helpdata/en/0a/242537cedf2056e10000009b38f936/frameset.htm
    Regards,
    Priyanka Singh

  • I purchased an IPad Mini for my mother-in-law using my Apple ID. I need to open an ID for her and take mine off the Mini. How would I do this?

    I purchased an IPad Mini for my mother-in-law. I used my Apple account since she didn't have one.  I need to open an account for her and change the account on the IPad Mini from mine to hers.  Can anyone point me in the right direction to get this done?  Thanks.

    Best way
    What to do before selling or giving away your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT5661http://support.apple.com/kb/HT5661
    Apple ID: Changing your Apple ID
    http://support.apple.com/kb/ht5621http://support.apple.com/kb/ht5621
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895http://support.apple.com/kb/HT4895
    Apple ID: What to do after you change your Apple ID
    http://support.apple.com/kb/HT5796?viewlocale=en_US&locale=en_UShttp://support.apple.com/kb/HT5796?viewlocale=en_US&locale=en_US
    iTunes Store: Associating a device or computer to your Apple ID
    http://support.apple.com/kb/ht4627http://support.apple.com/kb/ht4627
    iOS: Changing the signed-in iTunes Store Apple ID Account
    http://support.apple.com/kb/ht1311http://support.apple.com/kb/ht1311
    How to Delete an Apple ID
    http://www.wikihow.com/Delete-an-Apple-IDhttp://www.wikihow.com/Delete-an-Apple-ID
    Apple ID Support - Manage Account
    https://www.apple.com/support/appleid/manage/https://www.apple.com/support/appleid/manage/
    Create an Apple ID
    https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/wa/createAppleIdForIK B?localang=en_US&path=https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/wa/createAppleIdForIK B?localang=en_US&path=
     Cheers, Tom

  • HT1222 What if i should update to ios 7 coz i read on paper yesterday that you should wait coz you need to be in queue for download and there could be bug so that they can be resolved

    What if i should update to ios 7 coz i read on paper yesterday that you should wait coz you need to be in queue for download and there could be bug so that they can be resolved?

    do whatever you'd like to do.  No one's forcing you to update.

  • If purchase iWork  for mini mac do i need to purchase iWork again for iPad and iphonee

    if purchase iWork  for mini mac do i need to purchase iWork again for iPad and iphonee

    Yes. Mac mini runs OS X, iPad and iPhone run iOS - different operating systems
    that require different versions of Pages, Numbers, & Keynote to run. Like
    the iOS version, once you purchase the version for your Mac mini, you may install
    it on as many OS X desktops/laptops/minis that you own.

  • Do we need to create message interfaces for idocs and rfcs thatare imported

    do we need to create message interfaces for idocs and rfcs thatare imported
    from sap server
    in scenarios from sap system to file or vice versa
    i knew that we need not create message types
    do we also skip creating message interfaces

    hi,
    you create an abstract message interface for IDOC only if you want to use
    them in a BPM (integration process)
    for more about IDOCs have a look at my book:
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Can one move or upload a garageband project done on an iPad into logic for further and finer tweaking?

    Can one move or upload a garageband project done on an iPad into logic for further and finer tweaking?

    Share your GarageBand iPad project to iTunes as a project. Then you can import it into GarageBand and upgrade it to a GarageBand Mac project. And Logic can open GarageBand for Mac projects.

  • I need to download Creative Cloud for Photographers and lightroom, I get an error message

    I need to download Creative Cloud for PHotographers and Lightroom that I just purchased.  I get an error message when I click on the link I was sent with the order.

    And what error message exactly? What system? What browser? You need to be more specific.
    Mylenium

Maybe you are looking for

  • Flash video performance poor in Firefox 3 and other newer Gecko-based browsers; fails to detect mouse movement in full-s

    Regardless of configuration, I have found Flash video performance on Firefox 3 to be severely sub-par. Numerous visual lags occur throughout a typical Youtube video as it cannot seem to manage to maintain a steady frame rate. When in full-screen, mou

  • Dreamweaver CS4 - Dynamic Form Question

    Hello you all.  I've been tasked with developing a form for my company that allows a user to add as many contacts into a form field as they like, i.e., they would enter a contact first and last name and then click on a "+" sign or button to add anoth

  • Mail Problems- Sending mail and auto check not working

    I am trying to connect to my schools exchange mail server over imap and can no longer seem to send out mail, it tells me it cannot send from the designated server. This seems to have been a problem since I upgraded to tiger a few months ago. Also mor

  • Windows Partition on an external drive

    I have this set up with 2 internals with osX .9 on one for final cut & osX .6 for media 100i on the other( can't upgrade the os because of the version of Media 100). I have audio editing software for win2k or XP that isn't available for mac. I have a

  • Mac SE FDHD fails to boot

    I have a Mac SE I upgraded to a Mac SE FDHD with 4 MB of RAM. I installed a bunch of updates for Mac OS 7.1 and now it won't boot. First I installed System Update 3.0 and it still worked. Afterwards I installed the CFM-68K Runtime Enabler and it stil