29,421 total views, 6 views today
Sometimes we need to show or display the SharePoint list items that were modified in last <n> number of days. Here in this example, I will describe how to show items modified in the past 14 days in the personal web part.
For example – I will modify the default “Documents” library web part. Select the web part – then click on “Edit current view” from the list view selection drop-down list like below.
![SharePoint list-library web part filter with [today] function](https://global-sharepoint.com/wp-content/uploads/2019/12/Shared-Documents1.gif)
Show the items when the column
Modified is greater than or equal to
[Today]-14
Then click on the “Ok” button.
Note:
In this 14 is <n> number, we can give the number as per our need.
![SharePoint list-library web part filter with [today] function](https://global-sharepoint.com/wp-content/uploads/2019/12/Shared_Documents_FilterbyDays.gif)
![SharePoint list-library web part filter with [today] function](https://global-sharepoint.com/wp-content/uploads/2019/12/Shared_Documents_FilterbyDays2.gif)
In this post we have learned the below:
- How to show items modified in the past 14 days in the personal web part.
- How to use [Today] function in the SharePoint list or library view filter.
- How to display selected items using filters in SharePoint.
See Also:
- List view threshold error(5000 items issue) in SharePoint On-Premise/SharePoint Online
- How to create indexed column in SharePoint on-premise and online – O365?
- SharePoint – O365 – How does the database column indexing work in SharePoint?
You must log in to post a comment.