This Year / Last Year on Rolling 12 months

I have a requirement to create a LY vs. TY comparison report with rolling 12 months - which means, TY measure will be the fact from current date to 12 months ago and the LY measure will be from 12 months ago to 24 months ago.
I was hoping to use the AGO function to calculate the LY and create a filter in the report using - Date between (SQL_TSI_YEAR, -1, CURRENT_DATE ) and CURRENT_DATE.
But this does'nt seem to be working. The result splits the AGO measure based on the year, instead of just summing the sales amount. Would anyone have a better idea on how I can achieve this?
Prompt response would be greatly appreciated.
Thanks,
Ruchi.

Thanks for your responses. I shall take a look at the blog.
Meantime, I dont have month or year on the report. The metric is supposed to be summed by the rolling 12 months. and calendar is not on the report.
Anyway by which I can create 2 different metrics for rolling 12 months as TY and from 12 to 24 months as the LY, instead of havng to create a filter on the report?
Thanks again,
Ruchi.

Similar Messages

  • Hi, I have I Phone 5 , i brought this in last year september 2013, my phone is not able to connect with network.

    Hi,
    I have I Phone 5, I brought this in last year september 2013, its not connected this network, i have done all setting changes, reset all the setting but its not able to connect this network

    Warrenty should still cover it

  • Dear sir, i am fully dis-appointed about my above case no : *******. I have face this problem last 9 and half months and still the issue is not resolved. This iPHONE4S purchase from Australia and now i am in india.

    Dear sir,
    i am fully dis-appointed about my above case no : *******. I have face this problem last 9 and half months and still the issue is not resolved. This iPHONE4S purchase from Australia and now i am in india. Your apple team told that the problem in your device and ready to replace it. But Now what happen they told you must have to send this iPHONE to Australia. But I have checked the courier people is not ready to take this device to australia. I will send it if any body of my relative comes to india but it will take a long time may be 8 to 10 months . I already suffering this problem since last 9 and half months and also for replacement it will take another 10 months. so it will very difficult for me. i request you to please send a new device at my address and i will send you this iPhone 4S return back when my some relative comes to australia.
    <Post Edited By Host>

    Just a reminder to you.  Apple is not here.  This is a user forum and the only people here are users like you.  Posting the same rant multiple times achieves nothing. Keep it up and your future post will be deleted just like the one that just was.

  • - How to Display Sales Qty & Value for This Year & Last Year in 2 Columns -

    Dear All,
    I'm having trouble in extracting the last year figures based date entered. I'm actually would like to create a query where I'm able to know the "TOP 10 item sold based item category". I've created a query, which show the top10 item sold (total quantity & value) for this year, but not able to display the last year figure (quantity). Please advise & thanks for your help and time.
    SET ROWCOUNT 10
    SELECT T1.ItemCode, T2.ItemName, T3.ItmsGrpNam, SUM(T1.Quantity) as "Total Qty Sold", SUM(T1.TotalSumSy) as "Total Amount"
    FROM ODLN T0  INNER JOIN DLN1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod
    WHERE T0.DocDate >='[%0]' AND  T0.DocDate <='[%1]' AND  T3.ItmsGrpNam ='[%A]' 
    GROUP BY T1.ItemCode, T2.ItemName, T3.ItmsGrpNam
    ORDER by SUM(T1.Quantity) DESC
    I wish to have the output as follow
    Item   Qty (2008)  Qty (2007)    Value(2008)   Value(2007)
    A       300             150               1000                      500
    B       250             300                 800                      650
    C       100             250                 700                      550
    Currently, My results display:
    Item   Qty (2008)  Value(2008) 
    A       300             1000                     
    B       250               800                     
    C       100               700                     
    Cheers,
    Serene

    Hi,
    if you want more flexible, you could try this modified Istvan's query:
    SELECT top 10 T1.ItemCode, T2.ItemName, T3.ItmsGrpNam,   SUM(T1.Quantity) as "Total Qty Sold",
      SUM(T1.TotalSumSy) as "Total Amount" ,
      (select sum (r.Quantity) from ODLN h
         inner join DLN1 r on h.DocEntry=r.DocEntry  
         where h.DocDate>='[%4]' and h.DocDate<='[%5]'
             and r.ItemCode=T1.ItemCode) '2007 Sold',
      (select sum (r.TotalSumSy) from ODLN h
         inner join DLN1 r on h.DocEntry=r.DocEntry  
         where h.DocDate>='[%6]' and h.DocDate<='[%7]'
             and r.ItemCode=T1.ItemCode) '2007 Amount'
    FROM ODLN T0 INNER JOIN DLN1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod
    WHERE T0.DocDate >='[%0]' AND T0.DocDate <='[%1]' AND T3.ItmsGrpNam between '[%2]'  and '[%3]'
    GROUP BY T1.ItemCode, T2.ItemName, T3.ItmsGrpNam
    ORDER by SUM(T1.Quantity) DESC
    Rgds,

  • Current year /last year in reports

    I need to report summarised data for range of periods and I need to compare the current year results with last year.
    For example I need to report Jan to June of current year and compare in the same reports the results of last year.
    How to select the last year? I tried with offset (year-1) but it does not work.
    Since I am giving the range of period( 1 to 6) in selection the period , hence the offset does not populate.
    Sure mark for helpful answers.

    Mani,
    as with your other topic in the BCS forum, there are ways to use the offset for this, but it all depends what variables you use for the period/year derivation.  It also depends if you are using BCS and need the YTD values.
    so, here are a couple of options:
    if you are using the fiscal year/period variable, then you will be restricted by what your FY variant is. (thus the value of your offset).  I think even if you use K4, taking -12 from your value will get you to the same period prior year.
    as with other recommendations here in the forum, you can offset just the year variable if your are using two separate ones (one for posting period one for fiscal year).  As BCS doesn't have the cumulative KF's, this is pretty much the only option that you have if you need to get the YTD values (since you need period 00 for the YTD values in the BS)
    You mentioned that the offsets don't work for you - double check that by using the text variables in the column headers, and you should see what data is being pulled in there.  Also, make sure that you are restricting the variables (fiscal year) on each column.  If you put the restriction on the entire query, it will only give you one value, so instead you need to put the fiscal year variable in each column (with appropriate offsets)
    let us know if that worked

  • Had this problem last year but now there is a version for android I thought I ought to be able to open  a document created for adobe only.

    http://www.gpappraisals.nepcsa.nhs.uk/?page_id=449  this year but instead I get  Please wait... If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document. You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by visiting  http://www.adobe.com/go/reader_download. For more assistance with Adobe Reader visit  http://www.adobe.com/go/acrreader. Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. Mac is a trademark of Apple Inc., registered in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.  can I really only use this document on a Windows device?  Any help much appreciated.

    Thanks - having looked up XFA I now understand this so have to ask a supplementary but important question before I consider spendign more money - if I had a tablet with Windows 8.1 installed would Adobe reader be able to open an XFA file on that or is it a problem across all versions on mobile platforms?

  • HT4060 I HAVE AN IPAD MINI, It was purchased this time last year and has been the best thing I have ever had till now it will not charge!!!!

    I have an ipad mini and its not charging

    If your iPod Touch, iPhone, or iPad is Broken
    Apple does not fix iDevices. Instead, they exchange yours for a refurbished or new replacement depending upon the age of your device and refurbished inventories. On rare occasions when there are no longer refurbished units for your older model, they may replace it with the next newer model.
    ATTN: Beginning July 2013 Apple Stores are now equipped to do screen repairs/replacements in-house on iPhone 5 and 5C. In some cases while you wait. According to Apple this is the beginning of equipping Apple Stores with the resources needed to do most repairs for iPhones, iPads, and iPod Touches that would not require major replacements. Later in the year the services may be extended as Apple Stores become equipped and staffed with the proper repair expertise. So, if you need a screen repaired or a broken screen replaced or have your stuck Home button fixed, call your local Apple Store to see if they are now doing these in-house.
    You may take your device to an Apple retailer for help or you may call Customer Service and arrange to send your device to Apple:
    Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
    To contact product and tech support: Contacting Apple for support and service - this includes international calling numbers.
    You will find respective repair costs in the appropriate link:
    iPod Service Support and Costs
    iPhone Service Support and Costs
    iPad Service Support and Costs
    There are third-party firms that do repairs on iDevices, and there are places where you can order parts to DIY if you feel up to the task:
    1. iResq or Google for others.
    2. Buy and replace screen yourself: iFixit

  • I got this computer last year because it was fast--now it's the slowest one I've ever had.

    My macbook is just over a year old, and ever since downloading the new software it takes >10 seconds to open ANY application.  I thought the new software would make it faster, not slower? I have <500 pictures, about the same amount of songs, and 3 movies.  What is wrong with it?

    Well, then you don't have a choice.
    I'm running Mavericks on an iMac (mid 2011) with similar content (perhaps rather more photos, but the same number of videos and music) and have not noticed a slowdown since upgrading fromm Mountain Lion.  Most people seem to be OK on Mavericks. 
    Can I point you to this piece by ds store, a regular contributor here.  It may be of some assistance:
    https://discussions.apple.com/docs/DOC-6201

  • Iphone 3G and wifi problems.  I've been reading the string about this from last year.  I have an iphone 3G with the latest ios 4.2.1 software.  Every time I connect to my home wifi - Belkin N  - it comes up after a few minutes with "Incorrect Password".

    I re-enter the password correctly but it keeps happening.  Any suggestions?

    I have a belkin n surf as well and i have got this and other problems. my iphone 3g and 4 often keep on loosing connectivity. especially if the bluetooth is one (either connected or not). it often fails to find my wifi network after waking up from sleep.
    the problem i think is most certainly with belkin n. its one of the worst routers out there. unfortunately i didn't read the reviews before buying it. i have other problems with it to like connecting it to a dc++ hub. the setting up for port forwarding is a pain and it tends to connect to the internet on its own even though there are no settings to disable automatic connection.
    i was later told by many people online and also read it in the reviews that its one of the very bad router out there along with other belkin routers. belkin has even arranged a replacement for me as its under warranty but i'm avoidng travelling to the other end of the city cause i know all models have the same problem. the worst of them all is a mere 3mbps transfer speed form one computer to another over wifi file sharing even if they both are connected via 802.11n and are placed withing full signal coverage range, with no firewall or security on either on the machines or router. tried it over several macbooks and windows pcs.
    i'm getting lynksys for good.

  • HT1863 I purchased apple care through sprint when I got this phone last year in November. Do I need to register it to use it? I'm no longer with sprint how do I figure out what kind of care plan I had??

    I don't have sprint anymore but I need to get my iPhone replaced its not working the way it should anymore. How do I go about doing this. I never registered my AppleCare I didn't know I had to but I certainly paid for it!!! Please someone help! My phone is a ball of glitch madness

    Go to Settings>General>About.  Scroll down a bit then copy your serial number.
    Open Safari and navigate to selfsolve.apple.com.  Paste the serial number into that field and tap Return. 
    This should tell you your waranty status.

  • The update could not be installed. Please make sure there are no other copies of Firefox running on your computer, and then restart Firefox to try again.I had this problem last year with thunderbird but forgot what I had to close to get it resolved

    this was a prompted update.

    Thanks for the info about Trojan. It may be the problem. Meanwhile I went to Admin/Owner side and did some cleaning -- including trying to reload my Favorite/Bookmarks that have always carried forth from previous levels of Windows XP and earlier.
    The new computer here did not grab the Bookmarks from the previous, and yesterday I thought I had them loaded, and today went to Worker-Bee side and they are not showing.
    About those add-ons... I have no idea, but think I got everything up to date yesterday. I will look at your earlier reply tomorrow or this weekend when I have more time at home to learn from it.
    Thank you for your time in helping.
    Late here, heading to sleep. Marilyn

  • Are there some audio cd's that i tunes won't accept to burn ? i bought this pc last year and first time i used i tunes and purchased some music and tried to burned it on a cd-r it worked but after that it kept on saying the cd's i am loading were not blan

    is there a setting on how to burn murn from i tunes because it's my first time i tried to burn a cd

    I have an article you can read to burn cd's. but I also have to add that soomtimes you have to play arround with the brand of cd that you use to get the ones that work the best. Hears the link.http://support.apple.com/kb/ht2239

  • Line Chart - Current Year Sales, Current year Returns, Last year Sales, Last Year Returns

    We have a report that summarises monthly sales & credits for 2 years in a group footer.   The footer is a sum of a formula in the detail section that calculates the monthly sales at the Item code level
    Item 1
    Group Footer 1     July     Aug     Sept     Oct          
    Sales Last Yr     @July_LY_Sales @Aug_LY_Sales     @Sep_LY_Sales  @Oct_LY_Sales          
    Credits Last Yr @July_LY_Credits @Aug_LY_Cred     @Sep_LY_Cred   @Oct_LY_Cred          
    Sales This Yr @July_CY_Sales @Aug_CY_Sales     @Sept_CY_Sales @Oct_CY_Sales          
    Credits This Yr @July_CY_Cred @Aug_CY_Cred     @Sep_CY_Cred @Oct_CY_Cred          
    <Curr Yr Graph1>
    <Last Year Graph2>
    Item 2
    Group Footer 1     July         Aug           Sept                               Oct          
    Sales Last Yr  @July_LY_Sales   @Aug_LY_Sales @Sep_LY_Sales @Oct_LY_Sales          
    Credits Last Yr @July_LY_Cred  @Aug_LY_Cred     @Sep_LY_Cred @Oct_LY_Cred          
    Sales This Yr   @July_CY_Sales  @Aug_CY_Sales     @Sept_CY_Sales @Oct_CY_Sales          
    Credits This Yr    @July_CY_Cred   @Aug_CY_Cred     @Sep_CY_Cred @Oct_CY_Cred          
    <Curr Yr Graph1>
    <Last Year Graph2>
    In the footer under the data, we want a 4 line graph (or 2 x 2 line graphs for this year & last year).  One line for sales for the current 12 months, and with it, a line plotting the credits, so as to see the trend over that year.  And then we want a line graphing the previous years sales and a line graphing the previous year credits for the 12 months. 
    On the data tab in chart expert, we selected the Place chart for each SHDOC.ITEM (Item number) in the footer and this is positioning correctly.  We have tried selecting "On change of shdoc.item and we have also tried For each record.  We selected on change of shdoc.item to generate the graph for each item.  We then added the 12 formula for the current year in the Show Value panel  
    In the show value panel we tried using the detail formula, the Report Area: Sum of <formula> and the Group 1: Sum Formula.  They all display as @July or @Aug which is a dependent formula used to identify the month
    We have added the above formula for each month and each value, but we can't work out how to group the monthly data into the 4 series of 4 lines (1 colour each) - Current Year Sales, Current Year Returns, Last Year Sales, Last Year Returns for the charting.  We have tried to create a graph with only 1 set of monthly data (viz, just 12 months current year sales) But no matter what options we take, we seem to get 12 line chart representing each month rather than 1 line representing 12 months.
    Can someone point us in the right direction?

    Please re-post if this is still an issue but search forums first, lots of chart questions have been answered.

  • IOS 7 Wifi greyed out..... same as last year

    This time last year my phone 'died' when IOS 6 was installed, the phone was less than a year old and was replaced for a new phone at the apple store brighton, i understand I wasnt the only person who lost Wifi altogether.
    Low and behold......... IOS7 has done the same to my 4s............ gutted is an understatement, anyone know whats going on? Once was unlucky, twice im pretty fuming, just had a really unsatisfying call with apple who kindly advised me first off I was out of warranty and that the new handset provided in the apple store only had 90 days warranty on it? am confused.
    So tried all the usual stuff, shouting at it, incantations outside and am now resounded to a trip to brighton to the apple store on saturday.....
    my questions are..... anyone else suffered the same? any chance apple with replace my phone? if not what costs am i looking at...............
    am really hacked off here and yes have tried all the resets, reboots, rebuilds etc etc....
    Apple.....im dissapointed......... as a matter of point all our other IOS products upgraded fine with no issue.
    Any help, moral support or random acts of kindness appreciated.......
    Kinda wished Id stayed with android!
    Our contract with T Mob is up for renewak in feb so an early release is not an option.

    S,
    All of the Settings text is Grey...
    but seriously,
    What is Greyed-out? the WiFI Icon? The WiFi icon should be a strong blue  Does it say "Off" to the right?
    As Traxx suggested, Try a hard reset. Usually if a hardware option is unacessible it means that there is a hardware failure.
    -Alan

  • Schedule a process chain on last saturday of every month

    Hi Guys,
    My requirement is to schedule process chain on last saturday of every month. Is there any way to do this?
    I am already aware of below document. So please do not reply with the same. But please let me know if I am missing on anything.
    I have a requSchedule a Process chain on specific weekdays
    Thanks,

    HI R P,
    As mentioned in 'Schedule a Process chain on specific weekdays' document to use decision step. You can go with it just before setting actual data flow PC steps. Here a help for  you.
    Logic for decision step-
    Create a new custom function/method (say ABC) to calculate last Saturday of every month by using Standard Method 'FIRST_DAY_IN PERIOD_GET' (this gives last Sunday of every month) and use code logic accordingly to get last Saturday.
    Now, pick this ABC function from 'User- Defined function' section for your decision step formula.
    Hope this help.
    Thanks!
    Pratish

Maybe you are looking for

  • Transport issue - Source system does not exist

    Hi at all! I've got a problem after transport from BW QA-system (EBW) to BW PRD-system (PBW). All transports got the same error message, that the Source System DEV500 doesn't exist. But DEV500 is the development R/3 system. How could it be? Because w

  • Can't modify TNS timeout on database client outgoing request  -

    Dear all, I have two Oracle Database connected by dblink over TCPIP. One is a client for the other. When my client application (in db client) try to retrieve data from the db server and this one is shutdowned, It receives this message ORA-12535 "TNS:

  • Integration between Siebel marketing 7.8 and OBIEE 10g

    Hi All, Could you please let us know which lastest version of obiee 10g supports Siebel markeitng 7.8 application. Please provide any links to the documentation and your valuable suggestions in implementation. Thanks Mahendra

  • Problems with movie playback after iTunes update

    Recently updated iTunes to 11.1.1.11 and now my Disney movies won't play - the audio keeps dropping out. Any help?

  • Photoshop crashing cs6 imac os 10.7

    Hello my adobe photoshop cs6 keeps crashing and closing. i have tried uninstalling and reinstalling it but still happens. this is the report. my other adboe software seems fine Process:         Adobe Photoshop CS6 [234] Path:            /Applications