Counting date transactions for last six months

Post Author: crystalrook
CA Forum: Formula
Any help is greatly appreciated.  I am running Crystal XI.
I have an order field (PurchaseOders.PODatePlaced) for each item. There can be multiple orders in the same month for each item of course.  I would like to COUNT each  PurchaseOders.PODatePlaced based on the month it was purchased for the last six months from a date parameter.
My table looks like this"
Item            PODatePlaced
1234           11/12/2007
1234            11/20/2007
1234            10/15/2007
1234            9/30/2006
1234            12/5/2007
1234             12/6/2007
I am trying to get the results to read as follows (only for the last 6 months):
Items          December         November     October
1234               2                      2                1
Thanks for your help

Post Author: crystalrook
CA Forum: Formula
I am adding a cross tab to an existing report so many of the fields are already in the report. I would like to only add the month fields and a count of the transactions. Can this be done?  In the group options how can I tell it to only use the last six months reguardless of activity for the month.  Current results are giving every date as a column.  Can I only get the months to be columns?
Any suggestions?

Similar Messages

  • Can't find data usage for last 6 months in Analyze My Plan

    I have accounts with Spring and Verizon.  On the Sprint account page, I can easily see my data usage for the last 12 months, both on system data and roaming data (I have been notified of exceeding the monthly roaming data cap).
    On the My Verizon website, I can see the last 6-months of Overview billing, but when I click on the data usage, it says there is no data available.
    Where can I see the last 12 months of my data usage for my MiFi device?

    Mooring10 wrote:
    Only 90 day?  that seems a mere pittance in the days of NSA data collection.  My Sprint account shows me on system and roaming data for the last 12 months.  I can't ascertain any seasonal trends to my data use with only 90 days.  I'm sure you are collecting and saving more than 90 days--common, its just a programming change to show more data.  Even my utilitiy bills show me that last 12 months of usage.  Please consider revising your website to display the last 12 months of on system, roaming, and total data usage.  Thank you.
    Your bills which are available for 18 months show the total usage amount for the billing cycle of each bill.

  • Icalender lost all data for last six months!

    Not sure if this is linked to Davmail gateway which synchronizes my Ipad, Iphone and office or from any recent uploads onto the Ipad or Mac, but all my calendar entries have vanished except for Nov and Dec. All calenders are highlighted on the PC and Ipad etc. I have backed up on a hard disk but cannot see how to find these entries anywhere. Has anyone else had this experience? More important, anyway I can get this valuable data back as it has gone from all sources?

        Have you heard of using a backup. I believe NVBackup will work with the E2 and it is free. This will put a complete clone of the E2 operating system files and everything on a memory card. So if this problem happens again you will have a easy way to recover all your info. NVBackup

  • The calendar sync is recently not working correctly, not display "All events" but it only displays the last six months for my individual entries. My repeating entires do go back further, though. How do I fix?

    I have an iPad 5.1.1. The calendar sync has started to not work correctly. I have it checked "All events," but it only displays the last two months for my individual entries. My repeating entires do go back further, though. How do I fix?

    HI Jason269. Thanks for your reply, however I wrote that I already have "All events" checked. If All Events is checked and it doesn't diaplay all events, how do I fix? It seems this is a common issue, as I have read many others on here state the same problem.
    I believe my problem occurred when I synced my iMac calendar to my iPad calendar using yahoo. Yesterday, I unsynced them on my iMac controls. When I checked my iPad calendar, all of my old entries reappeared - but only for five seconds and disappeared again. So, the data is saved and still there but cannot be displayed, even when I have All events checked. In fact, it only shows my individual entries for the last two months, but does show all my recurring entries. If I switched to last six months, I will see everything for the last six months. If I switch back to all events, it is only for the last two months.
    As I mentioned, others on here have expressed exactly the same issue, including the two month example and having used yahoo.
    For legal purposes, I need to be able to use the information from my indidual calendar entries in an upcoming court case. So I really need to fix this ASAP!

  • My itunes won't update. It's looking for 10.6.0.40. Last time it tried to update, I downloaded the msi to my desktop and I deleted it within the last six months. Now I can't uninstall or update.

    The last time my iTunes couldn't update. I used support from Itunes and downloaded it my desktop. My mistake. Because without thinking, I deleted it within the last six months from my desktop, without thinking I'd need it later. For the past month I've needed to update my Itunes and it can't find the msi. Now, my Ipad, my kids' ipod touches and my iphone can't update. Especially the ipod touches, iphone and work ipad have already updated to the OS6. And, now they won't work with this outdated iTunes. Help.

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Help for automating last six months aggregation

    Hi,
    I want to create a report which has to show last six month's total asset by monthwise (september, august, july, june, may, april).
    when i calculate last months total asset, then i should see total asset between september'08 and (september - 12) month. Like this i have to find out the total asset for this combination -- August and august -12, july and july -12, june & june - 12, may and may - 12, april and april -12 month.
    How can i achieve this in single report. Do i need to create any repository variable or logical measure column. any idea how to automate.
    thanks

    Thanks for your reply.
    select entitlement_month, total asset
    from table
    where
    eff_month is between previous_month and half_year_ago_month.
    how do i pass the month and calculate the total asset covered for a month and month -12.

  • Macpro 17inch just shut down while using.  Tried removing battery and SMC to no avail.  Have had this problem before over the last six months but would always restore.  Now you just click on the power button front light stays on for 2 sec

    Hi, My 17 inch Mac pro laptop just shut down and I can't get it to turn on again.  This has happen multiple times over the last six months.  Looked through the forum and tried removing the battery and resetting the SMC control to no avail. I was having issues also with the screen a month ago but that resolved by itself.  When I took it into the genius bar for screen problems I was told I'd probably need a new CPU board because the vram may be going bad and they just don't fix that
    problem.  Have held off because of a potential $500 repair and awaiting ivy bridge technology.  Does anyone in the community know how I can restart my portable.  Right now you turn on the machine and the front light stays on for 2 sec and you hear the machine click off?

    I think you may have already been told what the problem is.  However look at this and maybe it will help:
    http://support.apple.com/kb/TA25686?viewlocale=en_US
    http://support.apple.com/kb/TS1365?viewlocale=en_US
    http://support.apple.com/kb/TS1367
    http://support.apple.com/kb/TS1587
    Probably another genius bar appointment is the best way to exactly define the problem.
    Good luck.
    Ciao.

  • Selecting, reading and sum of billing quantity for last 12 months in transformation end routine

    Hi experts,
    i have requirement to write end routine to read a DSO for last 12 months sales quantity for each month and sum value pass to keyfigure
    not interested using bex variable, while data loading from source to target dso in end routine i am trying to read another DSO which is same as my
    target dso where information is stored by fiscal period, year material etc. finally there is  a keyfigure in target whih needs to be filled with sum of 12
    months sales quantity, for each record form sourc to target maximum of 12 records will be in read dso (for 12 months) my routine is like below.
    i am not expert in abap please kindly gothrough and guide me in this
    TYPES: BEGIN OF s_/BIC/AZOSLS00,
    FISCPER  type /BI0/OIFISCPER,
    FISCVARNT  type /BI0/OIFISCVARNT,
    PLANT  type /BI0/OIPLANT,
    STOR_LOC  type /BI0/OISTOR_LOC,
    /BIC/MATERIAL  type /BIC/OIMATERIAL,
    VTYPE  type /BI0/OIVTYPE,
    BILL_QTY  type /BI0/OIBILL_QTY,
    END OF s_/BIC/AZOSLS00.
    DATA: it_/BIC/AZOSLS00 TYPE TABLE OF s_/BIC/AZOSLS00,
    wa_/BIC/AZOSLS00  TYPE s_/BIC/AZOSLS00.
    SELECT
    FISCPER
    FISCVARNT
    PLANT
    STOR_LOC
    /BIC/MATERIAL
    VTYPE
    BILL_QTY
         FROM /BIC/AZOSLS00 INTO TABLE it_/BIC/AZOSLS00
           FOR ALL
          ENTRIES IN RESULT_PACKAGE
           WHERE
    below field is from value of fiscal period (which is fiscal period -999 ex:  for 001.2014 this
    value will be 002.2013 so 12 months including current period)
    FISCPER >=  RESULT_PACKAGE-/BIC/ZFISCPERF
    below is result filed fiscal period (here i dont know which keyword or statement to be used to select
    interval values this between statement giving syntax error that can not be used in where for for all entries
    between RESULT_PACKAGE-FISCPER
            AND
             FISCVARNT = RESULT_PACKAGE-FISCVARNT AND
             PLANT = RESULT_PACKAGE-PLANT AND
             STOR_LOC = RESULT_PACKAGE-STOR_LOC and
          /BIC/MATERIAL = RESULT_PACKAGE-/BIC/MATERIAL .
        SORT it_/BIC/AZOSLS00 BY FISCPER FISCVARNT PLANT STOR_LOC
        /BIC/MATERIAL .
        LOOP AT RESULT_PACKAGE ASSIGNING <result_fields>.
          READ TABLE it_/BIC/AZOSLS00 INTO wa_/BIC/AZOSLS00 WITH KEY
    below dont know what statement i need to use in read statement for interval of fiscal periods
    giving error that >= can not be used
         FISCPER >=  <result_fields>-/BIC/ZFISCPERF
    FISCPER = <result_fields>-FISCPER
             FISCVARNT = <result_fields>-FISCVARNT
             PLANT = <result_fields>-PLANT
             STOR_LOC = <result_fields>-STOR_LOC
          /BIC/MATERIAL = <result_fields>-/BIC/MATERIAL
           BINARY SEARCH.
          BREAK-POINT.
          IF sy-subrc = 0.
    below for each record there will be 12 records in read so sume of 12 records quantity i need to pass to result again dont know what to say here
    sum statement giving error
                <result_fields>-/BIC/ZLSTSLS12 =
                 sum(wa_/BIC/AZOSLS00-BILL_QTY).
              ENDIF.
        ENDLOOP.
    friends please help me in this.
    Thanks
    Chandra.

    Hiii,
    If you only want to store last  12 months data in Target ODS .
    Then Create filter in DTP and write routine in filter for calmonth or fiscal period.
    Refer the below link to create filter routine :
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80b2db87-639b-2e10-a8b9-c1ac0a44a7a6?QuickLink=index&…
    Regards,
    Akshay

  • Month doesn't appear in the axis for last 12 months

    Hi !
    I have created a graph which gives records for the last twelve months, my formula is:
    if {Commande.DATE} >= dateadd('m',-12,currentdate) and {Commande.DATE} <=currentdate then {Commande.DATE}
    At this point everything's fine ,
    I have to create another formula to have Month name
    from today which mean ,the order should be like this on my graph axis, 1st last month is febuary and last 12 months from today is March
    March - April - May - June - July - August - September - October - November -December - January Febuary
    here is that formula which I have called Month Sort order:
    If month({@last12months})=01then
    "Janv" else
    if month({@last12months})=02 then
    "Fév" else
    If month({@last12months})=03then
    "Mars" else
    if month({@last12months})=04 then
    "Avril" else
    If month({@last12months})=05then
    "Mai" else
    if month({@last12months})=06 then
    "Juin" else
    If month({@last12months})=07then
    "Juil" else
    if month({@last12months})=08 then
    "Août" else
    If month({@last12months})=09then
    "Sept" else
    if month({@last12months})=10 then
    "Oct" else
    If month({@last12months})=11then
    "Nov" else
    if month({@last12months})=12 then
    "Déc" else ""
    in the Graph/Chart expert ,in the resulting dialog box I have set  the following options:
    On Change of: i have set the formula Month Sort order which will bring me the  month name  and for the order I have set in the Original order .
    It works fine I retrieve records for last 12 months but on  my axis ,the name for
    the last 12 months doesn't appear  in this case ( March) it is blank ,I have the records for March but not the month name March in my axis  it show april  to febuary  but not March
    Thank you for helping me

    Thank you for your reply , but this doesn't solved my problem  ,
    I'm using a data from SQL2005 which is a stored procedure ,they have created a datefield named "DATE" and group the data the 1st of each month in this SQL stored procedure ,the only day for each month that I have in this data is the first of each month for each record found ,so I've changed the formula for this, to get records the 1st of each month for the last 12 months :
    the new Formula for is:
    if >= DateAdd("m",-12,CurrentDate) - day(CurrentDate)+1 and
    <=DateAdd("m",-1,CurrentDate) - day(CurrentDate)+1 then
    this condition formula bring me _Null datefield_ ,and this is why I see a null label axis at the bottom,do you have an idea how I can eliminate the null datefield , I need to have only the last 12 months data on this graph but I need all data for the past 3 years for 2 other grah on this same report
    Thank you very much ,

  • Can any one tell me how to deactivate vendors in sap whom we have not done business for last 18 Month

    Can any one tell me how to deactivate vendors in sap whom we have not done business for last 18 Month>

    Hi Jahanzaib,
    You can go to transaction FK05 and block the vendor if you want to deactivate the vendors.
    Thanks,
    Ameet

  • An unknown error occurred (0x80092013) what the **** is going on  from last six month i am unable to access i tune store?pls give me solution which should help me to shortout this problem as soon as possible

    An unknown error occurred (0x80092013) what the **** is going on  from last six month i am unable to access i tune store?pls give me solution which should help me to shortout this problem as soon as possible. i have not expected this from apple

    I have been trying for months to put iTunes on my laptop and kept getting installation errors in Windows 7. I gave up and just installed iTunes on my PC running XP.
    Now I have to install Quicktime on the laptop and once again I get an installation error 0x800736FD.
    All windows updates are fine, none failed.
    I have removed all apple software from my laptop using CCleaner, common files and folders. Tried reinstalling and still the same error.
    Could you offer any advice on how to get both quicktime and then iTunes working??
    Thank you in advance

  • Average for last 12 months

    hi,
    i have a column amount. i need to find the avg of it for last 12 months excluding current month.
    I have got a query to find it .but it is adding current month also with it.
    AVG(SUM(amount)) OVER (ORDER BY ACCOUNT_MONTH_NO
    ROWS BETWEEN 12 PRECEDING AND 0 FOLLOWING) rolling_avg,
    please help me to write a query as i am a naive user of oracle.

    Like..
    SQL> select * from test;
    ACCOUNT_NU ACCOUNT_MONTH_NO     AMOUNT
    ACC1                      1        100
    ACC1                      2        200
    ACC1                      3        300
    ACC1                      4        400
    ACC1                      5        500
    ACC1                      6        600
    ACC1                      7        700
    ACC1                      8        800
    ACC1                      9        900
    ACC1                     10       1000
    ACC1                     11       1100
    ACC1                     12       1200
    12 rows selected.
    SQL> select account_month_no,amount,
      2     avg(amount) over(order by account_month_no rows
      3            between 12 preceding and 1 preceding) avg
      4  from test
      5  where ACCOUNT_NUMBER  = 'ACC1';
    ACCOUNT_MONTH_NO     AMOUNT        AVG
                   1        100
                   2        200        100
                   3        300        150
                   4        400        200
                   5        500        250
                   6        600        300
                   7        700        350
                   8        800        400
                   9        900        450
                  10       1000        500
                  11       1100        550
                  12       1200        600
    12 rows selected.Post sample data and expected output, so that we can help you better

  • How can I find all my photos instead of the just the last six months?

    I need help finding all my photos, instead of just the last six months.

    Which PSE version ?
    The last six month option is generally one of the choices for 'smart albums', now called 'saved searches'.

  • HT1695 I have owner my iPad for approx six months. I have been connected to the Internet from my home thru my Wifi with no problems. Suddenly four days ago I have not been able to get my IPad to connect to my home wireless. All other computers in my home

    To follow up on my question. Only because this is the first time I am using this forum.
    I have owned the iPad for approximately six months.
    I have been using the iPad at home thru my wireless network, no problems.
    In addition to my IPad I connect to the intent with my laptop, and my cell phone. No problem.
    Suddenly approximately five days ago I have not been able to connect my IPad to the Internet. Laptop and cell phone still connect.
    However when I leave my home I am able to connect my IPad from the Public Library and from Starbucks.
    Can anyone give me some advice on how to get connected from my home.
    Not sure how or when I can expect a response to this problem.
    Thanks
    Bill
    <Email Edited by Host>

    Thanks, however I am not familiar with the Sleep and Homekey buttons on my IPad.
    What I plan to do when I get home from Starbucks is, Settings/general/Reset/reset network
    I have rebooted my router no luck.
    Am I missing something on not knowing about the Sleep and Homekey?
    Thanks,
    Bill

  • How to find vendor who does not have transactions for last one year

    HI all,
    We have around 20000 vendors, i want to find out who does not have any transactions for last 1 year.  Any valuable suggestions on this?
    Thanks and regards
    Ramarao

    HI,
    Actually above one mehtod is very painful method. Is there any method by writing ABAP query and any other short cut method
    Thanks and regards
    Ram

Maybe you are looking for

  • Is it possible to use an external Hard disk to install Windows OS (7 or 8) for bootcamp?

    I have recently got a Macbook Pro with Retina Display 13" late 2013, with 120 GB of memory. I want to install a Windows OS on my macbook but i dont want to take up the sace on it, so instead i got an external Hard Drive with 500 GB with the Mac OS Ex

  • How to get rid of the safari community toolbar?

    How to get rid of the community toolbar in safari

  • Changing Dimensions of menu items in menubar

    I wanted to make the menu items have an auto width instead of a fixed with. So I followed the direction in the Help file under "Change dimensions of menu items" to change the .css. The menu items now seem to stretch to fit the width of the text, but

  • Execution of oracle cliet take long time in HPUX

    Hi all I have problem with oracle home 11.2.0.2 on HPUX B.11.31 U ia64 In server I have two oracle home: 1. oracle 10.2.0.4 which work ok 2. 11.2.0.2 : execution of sqlplus /nolog (or another client like imp/ exp) take a lot of time (3 minutes) , I t

  • How to set random math?

    Flash game link:http://myglife.org/usa/wv/gehswiki/images/e/e3/Herominigame_10-7-08.swf Ok I am making a very simple flash game for a class. I have all the coding working but I was wondering if any of you know how to do a certain thing. Where the pow