<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pentalogic Technology &#187; Filter</title>
	<atom:link href="http://blog.pentalogic.net/tag/filter/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.pentalogic.net</link>
	<description>Company blog and SharePoint Tricks and Tips</description>
	<lastBuildDate>Mon, 06 Sep 2010 14:04:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>SharePoint Archive Round-up</title>
		<link>http://blog.pentalogic.net/2010/06/sharepoint-archive-roundup/</link>
		<comments>http://blog.pentalogic.net/2010/06/sharepoint-archive-roundup/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 10:54:50 +0000</pubDate>
		<dc:creator>Clare</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[SharePoint Ideas]]></category>
		<category><![CDATA[Filter]]></category>
		<category><![CDATA[Planner]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[WebPart]]></category>

		<guid isPermaLink="false">http://blog.pentalogic.net/?p=1082</guid>
		<description><![CDATA[A collection of links to useful SharePoint tricks, tips and "how to's".  Including information on filtering and using SharePoint calculated columns.


Related posts:<ol><li><a href='http://blog.pentalogic.net/2008/10/advanced-sharepoint-view-and-filters/' rel='bookmark' title='Permanent Link: Advanced SharePoint View and Filter techniques'>Advanced SharePoint View and Filter techniques</a> <small>Advanced SharePoint view and filter techniques focusing on the task...</small></li>
<li><a href='http://blog.pentalogic.net/2010/06/sharepoint-reminder-webpart-version-1-7-8-now-available/' rel='bookmark' title='Permanent Link: SharePoint Reminder Webpart &#8211; version 1.7.8 now available'>SharePoint Reminder Webpart &#8211; version 1.7.8 now available</a> <small>New version 1.7.8 of SharePoint Reminder webpart is now available...</small></li>
<li><a href='http://blog.pentalogic.net/2010/04/use-sharepoint-filtered-views-stop-sending-sharepoint-alerts-to-yourself/' rel='bookmark' title='Permanent Link: Use SharePoint Filtered Views to Stop Sending Alerts to Yourself'>Use SharePoint Filtered Views to Stop Sending Alerts to Yourself</a> <small> How annoying is it when you have just created...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:right; margin-top:-100px; clear:both;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.pentalogic.net%2F2010%2F06%2Fsharepoint-archive-roundup%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.pentalogic.net%2F2010%2F06%2Fsharepoint-archive-roundup%2F&amp;source=pentalogic&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://blog.pentalogic.net/wp-content/uploads/2010/06/archives.png"><img class="alignleft size-full wp-image-1083" title="archives" src="http://blog.pentalogic.net/wp-content/uploads/2010/06/archives.png" alt="" width="248" height="193" /></a>As you&#8217;ve probably noticed we have had a few changes on our SharePoint blog in recent weeks.  We&#8217;ve been doing some work on making it a little more user friendly and a bit nicer to look at (hope we haven&#8217;t spoiled it with the photos!)</p>
<p>Whilst I was working on the blog I noticed that we have quite a few little gems hidden away in the archives. Old posts &#8211; things that were written maybe a couple of years ago, that those of you who are new to the blog might not be aware of, but might find useful.  The useful ones fall into a few categories &#8211; general SharePoint tricks, tips and ideas, and ideas and tips for users of our web parts.  So here they are, I hope you find them useful.</p>
<h3>SharePoint tricks tips and ideas</h3>
<p><a href="http://blog.pentalogic.net/2008/10/extend-and-customise-sharepoint-task-lists/" target="_blank">Extend and customise SharePoint Task lists</a></p>
<p>Task Lists are one of the best loved and most used features of SharePoint and this post shows you how to better tailor them to meet your particular needs.</p>
<p><a href="http://blog.pentalogic.net/2008/10/advanced-sharepoint-view-and-filters/" target="_blank">Advanced SharePoint View and Filter techniques</a></p>
<p>This article explores some of the uses of SharePoint Views and Filters.</p>
<p><a href="http://blog.pentalogic.net/2008/11/working-days-weekdays-holidays-sharepoint-calculated-columns/" target="_blank">Working Days, Weekdays and Holidays in SharePoint Calculated Columns</a></p>
<p>SharePoint Out of the box doesn&#8217;t automatically distinguish between working days and weekends but if you are setting things like job duration or due dates you may need to &#8211; this article shows you how.</p>
<p><a href="http://blog.pentalogic.net/2008/11/truth-about-using-today-in-calculated-columns/" target="_blank">The Truth about using [Today] in SharePoint Calculated Columns</a></p>
<p>This article explains why the often repeated trick for using [Today] in SharePoint calculated columns does not work, and suggests workarounds.</p>
<p><a href="http://blog.pentalogic.net/2008/11/the-truth-about-using-today-in-filters/#more-94" target="_blank">The … ehem… Truth about using [Today] in SharePoint Filters</a></p>
<p>This one looks at the differences between SharePoint 2003 and 2007 when using [Today] in filters.</p>
<p><a href="http://blog.pentalogic.net/2009/09/setting-default-duration-for-new-calender-events/" target="_blank">Setting a default duration for new SharePoint Calender Events</a></p>
<p>So you might be a medical receptionist scheduling appointments for doctors, appointments are always 45 minutes long unless the doctor tells you differently, how much easier would it be to just have SharePoint create an end time 45 minutes after the start time automatically?</p>
<p><a href="http://blog.pentalogic.net/2009/11/howto-filter-items-current-calendar-month-view-sharepoint/" target="_blank">How To Use Filters in SharePoint to show items in the current Calendar Month</a></p>
<p>It&#8217;s easy to think of occasions when you might want to filter a SharePoint list to show items falling in the current calendar month: &#8220;sales this month&#8221; springs to mind, or &#8220;subscriptions due for renewal this month&#8221;. This post shows you have to achieve this using calculated columns.</p>
<h3>SharePoint Reminder Webpart Ideas</h3>
<p><a href="http://blog.pentalogic.net/2009/06/setting-variable-due-in-or-overdue-by-time/" target="_blank">SharePoint Reminder Webpart – Setting a variable Due In or Overdue By time</a></p>
<p>Lots of people use Reminder to send an alert when a message is due soon or overdue.  Usually its fine for the message to go out at a fixed time before or after the event, for all list items, but there are occasions where you might want to vary the times at which you send your alerts.  For example, sending alerts for overdue helpdesk items: for high priority items you might want to send an alert when an item is 1 hour overdue, whereas for low priority an alert for items 1 day overdue might be fine.  This article shows you how.</p>
<p><a href="http://blog.pentalogic.net/2009/08/customize-sharepoint-alerts-with-mail-merge/" target="_blank">Customize SharePoint Reminder Emails with Merge Data</a></p>
<p>Whilst SharePoint&#8217;s out of the box alert emails come in a standard format, with Reminder its possible to customize the alert emails you send by merging data from your list items.</p>
<p><a href="http://blog.pentalogic.net/2009/10/tip-dont-send-email-alerts-for-old-items/" target="_blank">Tip – don’t send SharePoint email alerts for old items.</a></p>
<p>There are some situations where, when you are setting up a Reminder for the first time, you could end up sending out alerts for a lot of very old list items, this post shows you how to avoid doing that.</p>
<p><a href="http://blog.pentalogic.net/2009/10/send-email-alert-task-completed/" target="_blank">Tip – Sending an SharePoint email Alert when a Task is completed</a></p>
<p>If you are using Reminder to drive simple workflow you may very well want to send an email when a task is completed &#8211; maybe when a holiday request form has been filled in for example.  This post shows you how.</p>
<h3>SharePoint Planner Webpart Ideas</h3>
<p><a href="http://blog.pentalogic.net/2009/10/tip-multiple-columns-planner-gantt-chart/" target="_blank">Tip – Showing multiple columns in SharePoint Planner Webpart</a></p>
<p>There may be times when you want to display timeline or category information from more than one list column in a gantt chart. For example in the chart below we have taken information from the “priority” and “title” columns of a list to populate the category labels.</p>
<p><a href="http://blog.pentalogic.net/2010/02/sharepoint-gannt-charts/" target="_blank">5 things you never knew you couldn’t do with SharePoint Gantt Charts</a></p>
<p>Shows you a few of the things that aren&#8217;t possible with SharePoint OOTB gantt charts, but can be done with Planner.</p>


<p>Related posts:<ol><li><a href='http://blog.pentalogic.net/2008/10/advanced-sharepoint-view-and-filters/' rel='bookmark' title='Permanent Link: Advanced SharePoint View and Filter techniques'>Advanced SharePoint View and Filter techniques</a> <small>Advanced SharePoint view and filter techniques focusing on the task...</small></li>
<li><a href='http://blog.pentalogic.net/2010/06/sharepoint-reminder-webpart-version-1-7-8-now-available/' rel='bookmark' title='Permanent Link: SharePoint Reminder Webpart &#8211; version 1.7.8 now available'>SharePoint Reminder Webpart &#8211; version 1.7.8 now available</a> <small>New version 1.7.8 of SharePoint Reminder webpart is now available...</small></li>
<li><a href='http://blog.pentalogic.net/2010/04/use-sharepoint-filtered-views-stop-sending-sharepoint-alerts-to-yourself/' rel='bookmark' title='Permanent Link: Use SharePoint Filtered Views to Stop Sending Alerts to Yourself'>Use SharePoint Filtered Views to Stop Sending Alerts to Yourself</a> <small> How annoying is it when you have just created...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.pentalogic.net/2010/06/sharepoint-archive-roundup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use SharePoint Filtered Views to Stop Sending Alerts to Yourself</title>
		<link>http://blog.pentalogic.net/2010/04/use-sharepoint-filtered-views-stop-sending-sharepoint-alerts-to-yourself/</link>
		<comments>http://blog.pentalogic.net/2010/04/use-sharepoint-filtered-views-stop-sending-sharepoint-alerts-to-yourself/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 12:52:08 +0000</pubDate>
		<dc:creator>Clare</dc:creator>
				<category><![CDATA[Filter]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[SharePoint Alert]]></category>
		<category><![CDATA[SharePoint Ideas]]></category>
		<category><![CDATA[filters]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint alerts]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://blog.pentalogic.net/?p=701</guid>
		<description><![CDATA[
			
				
			
		
How annoying is it when you have just created or amended an item in SharePoint, and you immediately get an Alert email about it?
You know the kind of situation: you might be working in a team list, you have the list set up to alert you when an item assigned to you is added or [...]


Related posts:<ol><li><a href='http://blog.pentalogic.net/2009/10/send-email-alert-task-completed/' rel='bookmark' title='Permanent Link: Tip &#8211; Sending an SharePoint email Alert when a Task is completed'>Tip &#8211; Sending an SharePoint email Alert when a Task is completed</a> <small>This post shows you how to set up a SharePoint...</small></li>
<li><a href='http://blog.pentalogic.net/2010/07/5-things-you-never-knew-you-couldnt-do-with-sharepoint-alerts/' rel='bookmark' title='Permanent Link: 5 Things you never knew you couldn&#8217;t do with SharePoint Alerts'>5 Things you never knew you couldn&#8217;t do with SharePoint Alerts</a> <small>SharePoint Alerts: an overview of capabilities, limitations and enhancements offered...</small></li>
<li><a href='http://blog.pentalogic.net/2009/12/sharepoint-alerts-not-working/' rel='bookmark' title='Permanent Link: SharePoint Alerts not working?'>SharePoint Alerts not working?</a> <small> This is one of the most common questions posed...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:right; margin-top:-100px; clear:both;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.pentalogic.net%2F2010%2F04%2Fuse-sharepoint-filtered-views-stop-sending-sharepoint-alerts-to-yourself%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.pentalogic.net%2F2010%2F04%2Fuse-sharepoint-filtered-views-stop-sending-sharepoint-alerts-to-yourself%2F&amp;source=pentalogic&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>How annoying is it when you have just created or amended an item in SharePoint, and you immediately get an Alert email about it?</p>
<p style="text-align: left;">You know the kind of situation: you might be working in a team list, you have the list set up to alert you when an item assigned to you is added or amended, so as soon as you add or amend an item yourself an alert email pings through to your inbox. Completely unnecessary inbox clutter.</p>
<p>So, lets switch off those annoying &#8220;alerts to myself&#8221; &#8211; has to be an easy one click operation, right?</p>
<p><span id="more-701"></span></p>
<p>Wrong!</p>
<p>What we want to do is &#8220;not send alerts to me, for items assigned to   me, when I have created or amended an item myself&#8221;</p>
<p>So, lets have a look at a Task List first:</p>
<p>OK, so that&#8217;s fine, just select &#8220;Alert Me &#8220;  from the &#8220;List Actions&#8221; drop down and then from &#8220;Send me an alert when&#8221;  we need to select the &#8220;Someone else changes an item assigned to me&#8221; option.  Nice and easy.</p>
<p style="text-align: center;"><img class="size-full wp-image-724 aligncenter" title="task-screen-shot2" src="http://blog.pentalogic.net/wp-content/uploads/2010/04/task-screen-shot2.jpg" alt="task-screen-shot2" width="309" height="279" /></p>
<p><br class="spacer_" /></p>
<p>So now lets look at a Project Tasks list:</p>
<p>Oh dear, the option we need &#8220;Send Alert when Someone else changes an item assigned to me&#8221; simply doesn&#8217;t exist.  Even though there is an &#8220;assigned to&#8221; column in the list.</p>
<p style="text-align: center;"><img class="size-full wp-image-725 aligncenter" title="option-missing" src="http://blog.pentalogic.net/wp-content/uploads/2010/04/option-missing.jpg" alt="option-missing" width="369" height="225" /></p>
<p>It&#8217;s the same story with any other list &#8211; there is no simply one   click mechanism to turn off alerts to yourself.</p>
<p>So how do we do this then?</p>
<p>Well you need to set up a filtered view.</p>
<p>Call it something like; &#8220;My Items, Modified by others&#8221;.</p>
<p>Set up the filter  so the Assigned to&#8221; column is equal to [Me] and the &#8220;Modified by&#8221;  column is not equal to [Me].  Like this:</p>
<p style="text-align: center;"><img class="size-full wp-image-726 aligncenter" title="create-view-screenshot2" src="http://blog.pentalogic.net/wp-content/uploads/2010/04/create-view-screenshot2.jpg" alt="create-view-screenshot2" width="373" height="334" /></p>
<p>Then, when you go to set up your Alert you get this option:</p>
<p style="text-align: center;"><img class="size-full wp-image-727 aligncenter" title="calendar-alert-shad" src="http://blog.pentalogic.net/wp-content/uploads/2010/04/calendar-alert-shad.jpg" alt="calendar-alert-shad" width="384" height="236" /></p>
<p>So, it&#8217;s do-able, but its a bit of a hassle.  In order to simply switch off alerts to yourself, for items assigned to you that you have just created or amended you need to create a filtered view which you wouldn&#8217;t really need for any other reason. And the alert will have to be set up individually for each user of the list who needs this functionality.</p>
<p>This annoying little glitch doesn&#8217;t just apply to SharePoint out of the box alerts, as far as we are aware you will also have the same problem in all the 3rd party alert enhancement tools on the market.</p>
<p>So for our <a title="Pentalogic SharePoint Reminder" href="http://www.pentalogic.net/sharepoint-products/reminder" target="_blank">Reminder</a> we decided to eliminate the problem:</p>
<p>Ticking the &#8220;Don&#8217;t email the last modifier&#8221; box will solve the problem in one click, for everyone on the list.  We hope it makes you working day just a little bit easier.</p>
<p>This feature comes with newly released <a href="http://www.pentalogic.net/sharepoint-products/reminder/reminder-download">Reminder  v1.7.6</a>.</p>
<p><br class="spacer_" /></p>
<p style="text-align: center;"><a title="Pentalogic SharePoint Reminder" href="http://www.pentalogic.net/sharepoint-products/reminder" target="_blank"><img class="size-full wp-image-728 aligncenter" title="Reminder-Screen-shot2" src="http://blog.pentalogic.net/wp-content/uploads/2010/04/Reminder-Screen-shot2.jpg" alt="Reminder-Screen-shot2" width="283" height="410" /></a></p>
<p><a href="http://www.pentalogic.net/sharepoint-products/reminder/reminder-download"><img class="aligncenter size-full wp-image-1398" title="reminder dowmload" src="http://blog.pentalogic.net/wp-content/uploads/2010/07/reminder-dowmload.jpg" alt="SharePoint Reminder Webpart" width="350" height="130" /></a><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>


<p>Related posts:<ol><li><a href='http://blog.pentalogic.net/2009/10/send-email-alert-task-completed/' rel='bookmark' title='Permanent Link: Tip &#8211; Sending an SharePoint email Alert when a Task is completed'>Tip &#8211; Sending an SharePoint email Alert when a Task is completed</a> <small>This post shows you how to set up a SharePoint...</small></li>
<li><a href='http://blog.pentalogic.net/2010/07/5-things-you-never-knew-you-couldnt-do-with-sharepoint-alerts/' rel='bookmark' title='Permanent Link: 5 Things you never knew you couldn&#8217;t do with SharePoint Alerts'>5 Things you never knew you couldn&#8217;t do with SharePoint Alerts</a> <small>SharePoint Alerts: an overview of capabilities, limitations and enhancements offered...</small></li>
<li><a href='http://blog.pentalogic.net/2009/12/sharepoint-alerts-not-working/' rel='bookmark' title='Permanent Link: SharePoint Alerts not working?'>SharePoint Alerts not working?</a> <small> This is one of the most common questions posed...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.pentalogic.net/2010/04/use-sharepoint-filtered-views-stop-sending-sharepoint-alerts-to-yourself/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Use Filters in SharePoint to show items in the current Calendar Month</title>
		<link>http://blog.pentalogic.net/2009/11/howto-filter-items-current-calendar-month-view-sharepoint/</link>
		<comments>http://blog.pentalogic.net/2009/11/howto-filter-items-current-calendar-month-view-sharepoint/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 21:55:53 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Calculated Columns]]></category>
		<category><![CDATA[Filter]]></category>
		<category><![CDATA[SharePoint Ideas]]></category>
		<category><![CDATA[Tip]]></category>
		<category><![CDATA[View]]></category>

		<guid isPermaLink="false">http://blog.pentalogic.net/?p=373</guid>
		<description><![CDATA[
			
				
			
		
Its very easy using the Filter feature of SharePoint views to show only items completed in the last 30 days or items due in the next X days; for example :-
Completed &#62;= [Today]-30
On the Advanced SharePoint View and Filter techniques post Ed asked how you could filter for the current calendar month rather than a [...]


Related posts:<ol><li><a href='http://blog.pentalogic.net/2008/11/the-truth-about-using-today-in-filters/' rel='bookmark' title='Permanent Link: The &#8230; ehem&#8230; Truth about using [Today] in SharePoint Filters'>The &#8230; ehem&#8230; Truth about using [Today] in SharePoint Filters</a> <small>This post looks at the different requirement for using [Today]...</small></li>
<li><a href='http://blog.pentalogic.net/2008/10/advanced-sharepoint-view-and-filters/' rel='bookmark' title='Permanent Link: Advanced SharePoint View and Filter techniques'>Advanced SharePoint View and Filter techniques</a> <small>Advanced SharePoint view and filter techniques focusing on the task...</small></li>
<li><a href='http://blog.pentalogic.net/2010/09/today-sharepoint-calculated-default-values/' rel='bookmark' title='Permanent Link: Using [Today] in SharePoint calculated default values'>Using [Today] in SharePoint calculated default values</a> <small>You can't use Today in SharePoint calculated columns but you...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:right; margin-top:-100px; clear:both;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.pentalogic.net%2F2009%2F11%2Fhowto-filter-items-current-calendar-month-view-sharepoint%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.pentalogic.net%2F2009%2F11%2Fhowto-filter-items-current-calendar-month-view-sharepoint%2F&amp;source=pentalogic&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Its very easy using the <a href="http://blog.pentalogic.net/2008/11/the-truth-about-using-today-in-filters/">Filter feature of SharePoint views to show only items completed in the last 30 days</a> or items due in the next X days; for example :-</p>
<pre>Completed &gt;= [Today]-30</pre>
<p>On the <a href="http://blog.pentalogic.net/2008/10/advanced-sharepoint-view-and-filters/">Advanced SharePoint View and Filter techniques</a> post Ed asked how you could filter for the current calendar month rather than a rolling 30 day period (for example all tasks due this calendar month).</p>
<p>Like all great questions it seemed simple enough &#8211; something like only showing items where the Month and Year of the due date = the Month and Year of the current date.</p>
<p><span id="more-373"></span></p>
<p>Alas, we <a href="http://blog.pentalogic.net/2008/11/truth-about-using-today-in-calculated-columns/">can&#8217;t use [Today] in calculated columns</a> and we can&#8217;t use functions like Month([Due Date]) in the filter &#8211; so this approach will not work.</p>
<p>The solution is to turn this on its head &#8211; its a bit weird, so bear with me!</p>
<p>We need to have two calculated fields, one showing the first day of the month that the due date is in and one showing the last day of the month that the due date is in.</p>
<p>We can then use the filter to show only records where</p>
<p>[Today] &gt;= First Day Of Month</p>
<p>AND</p>
<p>[Today] &lt;= Last Day Of Month</p>
<p>So looking at this in graphical form we have :-</p>
<div id="attachment_375" class="wp-caption aligncenter" style="width: 500px"><img class="size-full wp-image-375 " title="Timeline" src="http://blog.pentalogic.net/wp-content/uploads/2009/11/Timeline.png" alt="Timeline" width="490" height="82" /><p class="wp-caption-text">Timeline</p></div>
<ul>
</ul>
<ul>
<li>In this diagram the current date is 15th Nov (the orange dotted line).</li>
<li>Task 1 &amp; 2 should be shown if the current date [Today] is in between the first and the last day of November (the blue line)</li>
<li>Task 3 will not be shown until [Today] is between the first and the last day of December (the blue line)</li>
</ul>
<table border="0" cellpadding="3">
<tbody>
<tr>
<td><img class="aligncenter size-full wp-image-390" title="create-column" src="http://blog.pentalogic.net/wp-content/uploads/2009/11/create-column1.png" alt="create-column" width="209" height="359" /></td>
<td>
<p>To put this into SharePoint open your list, click Settings &gt; List settings &gt; Create Column and setup the following two columns.</p>
<p><br class="spacer_" /></p>
<ul>
<li>The first column will be called something like Start of Month</li>
<li>Set the column type to Calculated and the data type to Date only </li>
<li>Uncheck the &#8216;Add to default view&#8217; button as we want these columns to stay behind the scenes</li>
</ul>
<ul>
<li>The Start of Month column formula should be</li>
</ul>
<pre>    =DATE(YEAR([Due Date]), MONTH([Due Date]), 1)</pre>
<p><br class="spacer_" /></p>
<ul>
<li>The End of Month formula :-</li>
</ul>
<pre>    =DATE(YEAR([Due Date]), MONTH([Due Date])+1,1)-1

    <em>(Which is the first day of next month - 1)</em></pre>
</td>
</tr>
</tbody>
</table>
<p>View a few records to check the formula is working OK and you see the correct dates.</p>
<table border="0" cellpadding="3">
<tbody>
<tr>
<td><img class="aligncenter size-full wp-image-391" title="View-filter" src="http://blog.pentalogic.net/wp-content/uploads/2009/11/View-filter1.png" alt="View-filter" width="223" height="217" /></td>
<td>
<p>Now create a new view, call it something like &#8220;Due This Month&#8221; and setup the filter for</p>
<pre>Start of Month is less than or equal to [Today]
 AND
End of Month is greater than or equal to [Today]</pre>
</td>
</tr>
</tbody>
</table>
<h4><strong>Further tips</strong></h4>
<p>You can use this with date fields other than [Due Date] &#8211; e.g. [Created] for items created in the current month, [Modified] for items well&#8230; urm&#8230; modified in the current month!</p>
<p>Using the same technique you can also use the following formula</p>
<h4><strong>The current week (Sunday to Saturday inclusive)</strong></h4>
<pre> Start Week =[Due Date] - WEEKDAY([Due Date]) +1
 End Week   =[Due Date] +7 - WEEKDAY([Due Date])
</pre>
<h4><strong>The previous month</strong></h4>
<pre> Start Month =DATE(YEAR([Due Date]), MONTH([Due Date])+1, 1)
 End Month   =DATE(YEAR([Due Date]), MONTH([Due Date])+2,1)-1
</pre>
<h4>The next month</h4>
<pre>
<pre> Start Month =DATE(YEAR([Due Date]), MONTH([Due Date])-1, 1)
 End Month   =DATE(YEAR([Due Date]), MONTH([Due Date]),1)-1</pre>
</pre>
<h4><strong>The current year</strong></h4>
<pre> Start Year =DATE(YEAR([Due Date]),1,1)
 End Year   =DATE(YEAR([Due Date]),12,31)
<strong>
</strong></pre>
<h4><strong>Edit</strong></h4>
<p>I should make clear that this technique will not work correctly on Event lists with recurring event as SharePoint only records the start time of the first event, not each occurrence in the series.</p>
<h4><strong>References</strong></h4>
<ul>
<li><a rel="nofollow" href="http://office.microsoft.com/en-us/sharepointtechnology/CH101032601033.aspx" target="_blank">Date and time functions</a></li>
</ul>


<p>Related posts:<ol><li><a href='http://blog.pentalogic.net/2008/11/the-truth-about-using-today-in-filters/' rel='bookmark' title='Permanent Link: The &#8230; ehem&#8230; Truth about using [Today] in SharePoint Filters'>The &#8230; ehem&#8230; Truth about using [Today] in SharePoint Filters</a> <small>This post looks at the different requirement for using [Today]...</small></li>
<li><a href='http://blog.pentalogic.net/2008/10/advanced-sharepoint-view-and-filters/' rel='bookmark' title='Permanent Link: Advanced SharePoint View and Filter techniques'>Advanced SharePoint View and Filter techniques</a> <small>Advanced SharePoint view and filter techniques focusing on the task...</small></li>
<li><a href='http://blog.pentalogic.net/2010/09/today-sharepoint-calculated-default-values/' rel='bookmark' title='Permanent Link: Using [Today] in SharePoint calculated default values'>Using [Today] in SharePoint calculated default values</a> <small>You can't use Today in SharePoint calculated columns but you...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.pentalogic.net/2009/11/howto-filter-items-current-calendar-month-view-sharepoint/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
		</item>
	</channel>
</rss>
