Filter a List for data from the Previous Month

Hello,
I have audit data for each month of the year.  At the beginning of one month I pull a report from the previous month.  I would like to have a view in my SharePoint list that shows only the data from the previous month.
I am not a programmer or developer, so I was wondering if this is possible without out of the box tools.
Here is what I have done so far:
Created two calculated columns to find the start and end date of the previous month
          Previous Month Start =DATE(YEAR([Date of Review]),MONTH([Date of Review])-1,1)
          Previous Month End   =DATE(YEAR([Date of Review]),MONTH([Date of Review]),0)
I have verified these two calculations do show the correct dates. 
So I can generate the dates, but I don't know how to set up a view filter that will show only data from the previous month. 
Please help.

What you need is the calculated column to display the start and the end of the next month, not the previous month. Then you can do a view filter where Start<Today & End>Today.
EX: If you have a document with date 15-03-2014, you need to save the dates 01-04-2014(start) and 30-04-2014(End).
Then If Start < [Today] and End > [Today], you can show the document

Similar Messages

  • Is there a way to show the end dates of the previous month stand out?

    is there a way to show the end dates of the previous month in bold or make it stand out? so 30,31 and 1st of this month don't all look the same? For example the 30,31st get a regular text since they are a part of the the last month and this month gets bold dates? Its hard to read the dates anyways.

    Pics and more
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.
    5:05 PM Sunday; January 4, 2009

  • Function module to get the same date of the previous month

    Hi
    Can anybody tell me how to get the
    same date of the previous month.
    example if i am entering date as 30 may 2007
    i want the date as 30 april 2007

    CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
    EXPORTING
    date = pa_end
    days = '00'
    months = '01'
    signum = '-'
    years = '00'
    IMPORTING
    calc_date = pa_end.
    ENDIF.
    nd try below FMs as well...
    CCM_GO_BACK_MONTHS
    HR_PT_ADD_MONTH_TO_DATE
    RP_CALC_DATE_IN_INTERVAL
    Hope it will solve your problem...
    Reward points if useful..
    Thanks & Regards
    ilesh 24x7

  • How to get the first 3 characters from the previous month?

    Hi,
    I need to get in a View Column only the first 3 characters of the previous month of data from the bellow query.
    SELECT ID, Department, Capital_Project_Number, 
    Capital_Site_Number, 
    Funding_Source, Milestone, 
    Account, Year, Month, Data
    FROM  Table
    Where Month = DATENAME(Month, DATEADD(Month, - 1, GETDATE())) and (Year = YEAR(GETDATE()));
    Go

     Left(DATENAME(Month, DATEADD(Month, - 1, GETDATE())),3)
    --Or
     convert( varchar(3), DATEADD(Month, - 1, GETDATE()),100)

  • Call object was called with start date in the previous month

    We have a single cycle maintenance plan for 30 days.
    Shift Factor Late Compl.   : 100%
    Tolerance                    :  10%
    Shift Factor Early Compl. :  100%
    Tolerance                    :    10%
    Cycle modification factor:    1
    Factory calendar            :  NIL
    Call horizon                    : 100%
    Scheduling period          :  90 DAY
    Scheduling indicator       : Time
    Call no . 11 was a plan date of 14.08.2009 has completion date 14.08.2009. Schedule type/status has "scheduled complete".
    Call no. 12 was called on 13.09.2009 which is in the past.
    Can someone explain why the system called the order with a starting date in the previuos month , that is , 13.09.2009.
    And how to rectify it to make it current date for the next call object?
    Thanks,
    Manohar

    I checked the algorithm for call no. 12
    Start of Cycle                07.08.2008
    Last planned date         14.08.2009
    Compl.Predecess           14.08.2009        Absolute shift                +   0 Da
    Planned cycle/offset      +    30 Da          Relative shift            0 % =   0 Da
    Shift                                 +     0 Da           erance value           0 % =   0 Da
    Planned Dates Due   13.09.2009    Completed on
    Last call on              15.10.2009    Called by               IP1020091015
    Workorder generated has start date 13.09.2009.
    Should we restart this plan , as the start dates in call object are at least 1 month old ?
    Thanks,
    Manohar

  • How do I connect an old Time Capsule to look for data from a previous OS?

    Hello. I replaced my old Time Capsule with a new one a few months ago, and broke in the new Time Capsule with a fresh backup of a clean 10.9 install after migrating my user account.
    Today, I noticed that there were some folders full of personal data that are neither on my MBP, nor in my Time Machine backups on the new Time Capsule. I am hoping that these folders still exist on my old Time Capsule which I used with 10.8.
    I'm wondering how to search through my old Time Capsule and its Time Machine backups. Specifically, I'm wondering how to connect it to my MacBook Pro, and whether I will be able to search for my (hopefully not) lost data through the Time Machine interface, or through the directory structure contained in Backups.backupdb.
    Can anyone help me out with a plan to proceed?
    Thank you very much.

    1. Turn off Time Machine in System Preferences
    2. Unplug new Time Capsule
    3. Turn off Wi-Fi in the menu bar
    4. Attach old Time Capsule to power
    5. Attach old Time Capsule to MBP via ethernet
    6. Wait for old Time Capsule to appear in Finder > Sidebar > Shared
    7. Select old Time Capsule in Finder > Sidebar > Shared and Connect to old Time Capsule
    8. Select the Data directory
    9. Double-click on the .sparsebundle file that represents the volume that was backed up on the old Time Capsule
    10. Hold down the option key and click on the Time Machine icon in the menu bar and select Browse Other Backup Disks...
    11. Select the Time Machine backup disk you would like to browse and choose Use Selected Disk
    12. Browse old Time Capsule backup in Time Machine environment, restore data as normal, exit Time Machine as normal
    13. Eject old Time Machine backups (the .sparsebundle you mounted) under Devices in Finder > Sidebar
    14. Eject old Time Capsule under Finder > Sidebar > Shared
    15. Disconnect ethernet; disconnect old Time Capsule from power.
    16. Plug in new Time Capsule (it boots); turn Wi-Fi on (reconnect to network, if necessary); turn Time Machine back on in System Preferences

  • Getting last date of the previous  month

    Hi
       Am giving one date. FOr that day i hav to take previous month last date.
    How can i do. IMportant : Last date of previous month

    u can make the code work like this.
    data: date like sy-datum,
          date1 like sy-datum.
    date = sy-datum.
    CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
      EXPORTING
        day_in                  = date
    IMPORTING
       LAST_DAY_OF_MONTH       = date1
    EXCEPTIONS
       DAY_IN_NO_DATE          = 1
       OTHERS                  = 2
    add 1 to date1.
    write:/ 'next month start date:', date1.
    *to fetch the march month last date.
    date1+4(2) = 03.
    CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
      EXPORTING
        day_in                  = date1
    IMPORTING
       LAST_DAY_OF_MONTH       = date1
    EXCEPTIONS
       DAY_IN_NO_DATE          = 1
       OTHERS                  = 2
    write:/ 'last date of march:', date1.
    Please close your previous threads.

  • 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/

  • Did my icloud data from a previous phone transfer to my last phone, and if so can i delete the old cloud?

    I got an iphone for christmas of 2013, and had it for two or three months before it fell out of my lap and the screen cracked.
    I got a replacement and all my stuff from the previous phone was on the new one- my notes, pictures, etc.
    I cracked that phone and got it replaced yesterday, and started to panick because none of my notes were there, and my pictures (which the store transfered for me) were all out of order.
    I have important things in my notes that I need, along with my music and pictures.
    My question is, if all the data from the previous phone was on my old phone, can I delete the cloud storage for the previous phone because it was all on my old phone?

    Not sure what it is you are asking? If you are looking for your Notes, then what does deleting the iCloud storage have to do with it?
    Do you have the same iCloud account signed onto the new phone? When you go to iCloud.com on a computer, can you see your notes? If so, then make sure that the Notes option is turned on in Settings>iCloud. If your notes are in iCloud.com, then they should push down to any device that is signed onto the same iCloud account and that has the Notes option turned on.
    Cheers,
    GB

  • All the dayname dates of a previous month

    i have a date '01/25/2015' which is sunday. how to get all the sunday dates of the previous month 
    so the result is
    07/12/2014,   14/12/2014,   21/12/2014,    28/12/2014

    Because you asked to see all Sundays in Previous Month. I am guessing you want the same day(Monday, Tuesday, ...) from previous month based on the day that you passed. 
    If so, please check:
    DECLARE @Today DATE = CURRENT_TIMESTAMP -- You can change to any date that you want
    DECLARE @myDate DATE = DATEADD(MONTH, DATEDIFF(MONTH, '01/01/1900', @Today) - 1, '01/01/1900')
    WHILE @myDate < DATEADD(MONTH, DATEDIFF(MONTH, '01/01/1900', @Today), '01/01/1900')
    BEGIN 
    IF DATEPART(WEEKDAY, @myDATE) = DATEPART(WEEKDAY, @Today) 
    BEGIN 
    PRINT(@myDate) 
    END 
    SET @myDate = DATEADD(DAY, 1, @myDate) 
    END 
    Best Wishes, Arbi; Please vote if you find this posting was helpful or Mark it as answered.

  • FM for the last date of the previos month

    Hi folks
    my requirement is if we enter the calendar month say YYYYMM in the selection
    screen. it has to get the previous month last date in the format DDMMYYYY
    For eg.,  selection screen input  200704
                required output : 31/03/2007
    Is there any standard function module.
    please urgent
    Thanks in Advance
    Rao

    Hi,
    Please try this.
    data: wa_idate like sy-datum,
          wa_odate like sy-datum.
    wa_idate(6) = p_date.
    wa_idate+6(2) = '01'.
    wa_odate = w_idate - 1.
    OR
    call function 'RP_CALC_DATE_IN_INTERVAL'
      exporting
        date      = wa_idate
        days      = 0
        months    = 1
        signum    = '-'
        years     = 0
      importing
        calc_date = wa_odate.
    write: / 'Last date of the previous month: ', wa_odate.
    Regards,
    Ferry Lianto

  • Regarding the first day of the previous month

    hi experts,
                  suppose the date is '010406' what i want that is der any function module so that i can get the first date of the previous month i.e '010306' plz let me know......or sud i add logic for that if yes plz help me........

    better to use own logic for your requirement....
    suppose you have date field
    data : date1 like sy-datum,
    mon(2) type n,
    year(4),
             prev like sy-datum.
    date1 = '20070720'.
    mon = date1+4(2).
    year = date1+0(4).
    if mon ne '01'.
    mon = mon - 1.
    concatenate year mon '01' into prev.
    else.
    mon = '12'.
    year = year - 1.
    concatenate year mon '01' into prev.
    endif.
    write : / prev.
    if the date is like your format i.e. 010406 then
    data : date1(6) value '010406',
    mon(2) type n,
    year(4),
             prev like sy-datum.
    date1 = '20070720'.
    mon = date1+2(2).
    year = date1+4(2).
    if mon ne '01'.
    mon = mon - 1.
    concatenate year mon '01' into prev.
    else.
    mon = '12'.
    year = year - 1.
    concatenate year mon '01' into prev.
    endif.
    write : / prev.
    regards
    shiba dutta

  • Get data from a specific month?

    I have this code:
    <h1><cfoutput>#self#</cfoutput></h1>
    <cfquery datasource="Intranet" name="month_data">
      select * from CSEReduxResponses where status=1 and execoffice_status=0
       AND MONTH([approveddate]) = MONTH(GETDATE())
       </cfquery>
    <cfquery datasource ="Intranet" name="GetDeptSubmissions">SELECT * FROM CSEReduxResponses</cfquery>
    <cfquery dbtype="query" name="GetApproved">SELECT * FROM GetDeptSubmissions WHERE status = 1 AND execoffice_status = 1</cfquery>
    <cfquery dbtype="query" name="GetDenied">SELECT * FROM GetDeptSubmissions WHERE status = 1 AND execoffice_status = 2</cfquery>
    <cfif month_data.RecordCount gt 0>
    <cfoutput>
              <h2>Comments / Ratings Administration</h2>
              <div>
                        <div class="display_count pending_outer">
                                  <div class="display_count_desc pending_inner">Pending</div>
                                  <cfif month_data.RecordCount gt 0><a href="cse_execoffice_pending.cfm"></cfif>
                                            <span class="display_count_number">#month_data.RecordCount#</span>
                                  <cfif month_data.RecordCount gt 0></a></cfif>
                        </div><!--- /div class="display_count" --->
                        <div class="display_count approved_outer">
                                  <div class="display_count_desc approved_inner">Approved *</div>
                                  <cfif GetApproved.RecordCount gt 0><a href="cse_execoffice.cfm?approved"></cfif>
                                            <span class="display_count_number">#GetApproved.RecordCount#</span><br>
                                  <cfif GetApproved.RecordCount gt 0></a></cfif>
                        </div><!--- /div class="display_count" --->
                        <div class="display_count denied_outer">
                                  <div class="display_count_desc denied_inner">Denied</div>
                                  <cfif GetDenied.RecordCount gt 0><a href="cse_execoffice.cfm?denied"></cfif>
                                            <span class="display_count_number">#GetDenied.RecordCount#</span><br>
                                  <cfif GetDenied.RecordCount gt 0></a></cfif>
                        </div><!--- /div class="display_count" --->
              </div>
    </cfoutput>
    </cfif>
    Right now it display the the output if the 'month_data.recordcount gt 0' , but this would be for all the
    data from the current month because of the query 'month_data'
    What I want to do display_count for each month.
    for example right now it display the data from April, but once its May I would like to display another
    'display_count' from the month of March, even if the other Pending from April still has not hit zero(0).
    any help/advice will help, not sure if there is a better way to do this.
    this is a example of what i have right now, this has 3 peding in the month of April

    Carl Von Stetten wrote:
    It looks like you've posted this same or related question twice on StackOverflow (http://stackoverflow.com/questions/22970021/how-can-i-show-a-output-fr om-a-specific-date and http://stackoverflow.com/questions/23092245/how-to-output-different-da ta-from-different-months).  If you're going to cross-post to multiple forums, then mention that and provide links to your posts on other forums so people can see what others are suggesting and not duplicate efforts.
    Plus http://forums.adobe.com/message/6295752#6295752
    @No_name_123
    As I suggested elsewhere, I hope you will spend more time doing the code than explaining your requirements for fellow developers to do the code for you. I would avoid saying things like these:
    ... What I want to do display_count for each month....
    ... I would like to display another 'display_count' from the month of March...
    Instead, I would write some code, or even pseudocode, and then ask for suggestions on it.
    Message was edited by: BKBK

  • The problem here is i am not able to get the data from the list

    hi all,
    i have the following code
    EnrichedProductCatalogue enrichedProductCatalogue1 = new EnrichedProductCatalogue();
    enrichedProductCatalogue1.setAssetCount(2);
    enrichedProductCatalogue1.setBlockingProduct("Weekend Freebee");
    enrichedProductCatalogue1.setBlockingReason("Compatability");
    ArrayList<String> availableActionsList = new ArrayList<String>();
    availableActionsList.add(EnrichedProductConstants.ADD.toString());
    availableActionsList.add(EnrichedProductConstants.REMOVE.toString());
    enrichedProductCatalogue1.setAvailaibleActions((ArrayList<String>)availableActionsList);
    BundleProduct bundleProduct = null;
    Product product = new Product();
    product = new Product();
    product.setProductName("International");
    product.setProductClassName("International");
    ArrayList<UiCategory> uiCategory = new ArrayList<UiCategory>();
    UiCategory uiCategory1 = new UiCategory();
    uiCategory1.setCategoryName("Simply");
    UiCategory uiCategory2 = new UiCategory();
    uiCategory2.setCategoryName("Freebees");
    uiCategory.add(uiCategory1);
    uiCategory.add(uiCategory2);
    product.setUiCategory(uiCategory);
    bundleProduct = new BundleProduct();
    bundleProduct.setCommercialProduct(product);
    enrichedProductCatalogue1.setBundleProduct(bundleProduct);
    listOfEnrichProducts.add(enrichedProductCatalogue1);
    listOfEnrichProducts.add(enrichedProductCatalogue1);
    here i have an list called listOfEnrichProducts.
    here i am adding two objects of enrichedProductCatalogue.
    which contains a object called BundleProduct.
    which has a reference for Product class.
    here this product class has a list which contains objects of another class called UiCategory.
    the problem here is i am not able to get the data from the list which contains UiCategory objects .
    the following is the UI
    <af:table var="row" rowBandingInterval="0" id="t1"
    value="#{pageFlowScope.sample1}"
    binding="#{pageFlowScope.sampleManagedBean.dataTable}"
    partialTriggers="apimethods ::apimethods">
    <af:column sortable="false" headerText="ProductName" id="c2">
    <af:outputText value="#{row.bundleProduct.commercialProduct.productName}" id="ot15"/>
    </af:column>
    <af:column sortable="false" headerText="ProductClass" id="c12">
    <af:outputText value="#{row.bundleProduct.commercialProduct.productClassName}" id="ot19"/>
    </af:column>
    <!--
    <af:column sortable="false" headerText="UICategoryName" id="c32">
    <af:forEach var="item" items="#{row.bundleProduct.commercialProduct.uiCategory}" >
    <af:outputText value="#{item.categoryName}" id="ot119"/>
    </af:forEach>
    </af:column>
    -->
    <af:column sortable="false" headerText="AssetCount" id="c22">
    <af:outputText value="#{row.assetCount}" id="ot1"/>
    </af:column>
    <af:column sortable="false" headerText="blockingReason" id="c3">
    <af:outputText value="#{row.blockingReason}" id="ot2"/>
    </af:column>
    <af:column sortable="false" headerText="blockingProduct" id="c4">
    <af:outputText value="#{row.blockingProduct}" id="ot3"/>
    </af:column>
    <!--<af:column sortable="false" headerText="availaibleActions" id="c1">
    <af:commandButton text="#{row.availaibleActions}" id="cb1"
    actionListener="#{pageFlowScope.sampleManagedBean.callAction}"
    partialSubmit="true">
    <af:setPropertyListener from="#{row.availaibleActions}"
    to="#{pageFlowScope.avalibleaction}" type="action"/>
    </af:commandButton>
    </af:column>-->
    </af:table>
    Can anyone pls give some solution ...

    Hi Frank,
    value="#{pageFlowScope.sample1}"
    here sample is
    Map<String, Object> flowScope1 =
    ADFContext.getCurrent().getPageFlowScope();
    flowScope.put("sample1", listOfEnrichProducts);
    this is not the problem . i am able to get all the values except the following .
    ArrayList<UiCategory> uiCategory = new ArrayList<UiCategory>();
    UiCategory uiCategory1 = new UiCategory();
    uiCategory1.setCategoryName("Simply");
    UiCategory uiCategory2 = new UiCategory();
    uiCategory2.setCategoryName("Freebees");
    uiCategory.add(uiCategory1);
    uiCategory.add(uiCategory2);
    product.setUiCategory(uiCategory);

  • MDX calculation based on date logic for the Jan 1 of current year through the 15th of the previous month

    Hello, 
    We need some help with an SSAS MDX query based on date logic. One of the problems is that I don't have access to the Cube but have been given a query example with the logic needed for the calculation. Here's the scenario; 
    The ETL process will run on the first Tuesday after the 15<sup>th</sup> of a given month. The Analysis Cube data queried should include the current year up to the end of the previous month. For example, on May 19<sup>th</sup>
    (the first Tuesday on or after the 15th) the query should include data from January 1<sup>st</sup> through April 30<sup>th</sup>.
    The 15<sup>th</sup> of the month is not part of the query, it is a factor in when the query is run. The query will always be in terms of complete months.
    SELECT
                    NON EMPTY { [Measures].[Revenue Amount],
                    [Measures].[Utilization],
                    [Measures].[AVG Revenue Rate],
                    [Measures].[Actual Hours] }
    ON
                    COLUMNS,
                    NON EMPTY { ([dimConsultant].[User Id TT].[User Id TT].ALLMEMBERS * [dimConsultant].[Full Name].[Full Name].ALLMEMBERS * [dimConsultant].[Employee
    Type].[Employee Type].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION,
                    MEMBER_UNIQUE_NAME
    ON
                    ROWS
    FROM
                    ( SELECT
    ( { [dimDate].[Week Date].[1/4/2015], [dimDate].[Week Date].[1/11/2015], [dimDate].[Week Date].[1/18/2015], [dimDate].[Week Date].[1/25/2015], [dimDate].[Week Date].[2/1/2015] } )
                    ON
                                    COLUMNS
                    FROM
                                    ( SELECT
    ( { [dimIsBillable].[Is Billable].&[True] } )
                                    ON
    COLUMNS
                                    FROM
    [SSASRBA]
    WHERE
                    ( [dimIsBillable].[Is Billable].&[True], [dimDate].[Week Date].CurrentMember ) CELL PROPERTIES VALUE,
                    BACK_COLOR,
                    FORE_COLOR,
                    FORMATTED_VALUE,
                    FORMAT_STRING,
                    FONT_NAME,
                    FONT_SIZE,
                    FONT_FLAGS

    Hi Hans,
    Thank you for your question.  
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.  
    Thank you for your understanding and support. 
    Regards,
    Simon Hou
    TechNet Community Support

Maybe you are looking for

  • Troubles updating ipod, cannot disconnect, songs erased (tried the 5 Rs)

    hey guys, i'm sorry to ask for help with my first post but i've been having some issues with my 2nd gen iPod nano lately. when i connect my iPod to my computer, i get a message in iTunes saying "Songs on the iPod "Han's iPod" cannot be updated becaus

  • COPA Production Variances

    Hi, Would Production variance GL account be a cost element for the purpose of flowing data to COPA?

  • InDesign 5.5 on Mac OSX 10.8.2 crashes - XML-related?

    Hi all, One of our compositors has had repeated problems with InDesign CS 5.5 crashing. Our workflow generally entails importing well-formed XML for book designs, and it usually works fine. On occasion, this one compositor has experienced frequent cr

  • Place Holder Formula column in reports doing problem

    Hi I am working on some existing reports where there are many palceholders formula coloumns using no return values and they are blank and giving me errors can anybody tell me what should i write on that place holder formula columns for the return val

  • Audio File Degradation in Captivate

    I recently recorded an MP3 file with Audacity in a professional audio booth and when I put that file into Captivate and play it on the timeline it sounds great- no quality degradation.  However, when I preview the project in a "Web Browswer" or simpl