sharepoint list view web part - Show item modified in the past 14 days in the list web part (SharePoint)

Proven – SharePoint list view web part to show item modified in the past 14 days

No comments

Loading

SharePoint list view web part to show items modified in the past 14 days  – sometimes we need to show or display the SharePoint list items that were modified in the last <n> number of days. Here in this example, I will describe how to show items modified in the past 14 days in the SharePoint list view web part.

Show item modified in the past 14 days in the SharePoint list view 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
SharePoint list-library web part filter with [today] function

Today function in SharePoint filter – [Today]

In this section, we will use make use of the [Today] function of the SharePoint filter.

Then we will land on the view modification page – go to the “Filter” section. Select “Show items only when the following is true:

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 view web part filter with [today] function
SharePoint list-library web part filter with [today] function
 Now navigate to the view page or home page of the site – look at the items displayed there – we can see that only those items that were modified in the last 14 days are being displayed.

SharePoint list-library web part filter with [today] function
SharePoint list-library web part filter with [today] function

Summary: SharePoint list view web part (list view web part SharePoint online)

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: SharePoint document library columns

You may also like the below SharePoint document library columns tutorials:

 

Download SharePoint Online PDF Book

Download SharePoint Online & Office 365 Administration eBook

Buy the premium version of SharePoint Online & Office 365 administration eBook from here:



Buy SharePoint Online & Office 365 Administration eBook


 

Get the free demo PDF eBook from here:

FREE DOWNLOAD

Send download link to:

Subscribe to get exclusive content and recommendations every month. You can unsubscribe anytime.

About Post Author

Do you have a better solution or question on this topic? Please leave a comment