<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Filtering by current month</title><link>https://www.infopathdev.com:443/forums/thread/59574.aspx</link><pubDate>Mon, 04 Oct 2010 14:28:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59574</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59574.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=59574</wfw:commentRss><description>&lt;p&gt;concat(addDays(today(), -7), &amp;#39;T09:30:00&amp;#39;)&lt;/p&gt;
&lt;p&gt;should do the trick.&lt;/p&gt;</description></item><item><title>Re: Filtering by current month</title><link>https://www.infopathdev.com:443/forums/thread/59573.aspx</link><pubDate>Mon, 04 Oct 2010 14:20:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59573</guid><dc:creator>freeagentml</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59573.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=59573</wfw:commentRss><description>&lt;p&gt;now one more question...&lt;/p&gt;
&lt;p&gt;How would return this with a time of 9:30 AM?!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Currently&amp;nbsp;I am pulling data from last week(tues 9/28- mon 9/4). BUT I really want to be pulling it&amp;nbsp;starting at&amp;nbsp;&amp;quot;9/27 at 9:30 AM&amp;quot; because this is the time I do it everyday. &lt;/p&gt;
&lt;p&gt;Without adjusting this I lose all the data with a created date of that monday between the hours of 9:30 AM -11:59 PM.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Re: Filtering by current month</title><link>https://www.infopathdev.com:443/forums/thread/59478.aspx</link><pubDate>Thu, 30 Sep 2010 15:15:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59478</guid><dc:creator>freeagentml</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59478.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=59478</wfw:commentRss><description>&lt;p&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:black;FONT-SIZE:10pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;Figured it out...&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:black;FONT-SIZE:10pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;I can just return the current year with&lt;/span&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:black;FONT-SIZE:10pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:black;FONT-SIZE:10pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;concat(substring(today(), 1, 4), &amp;quot;&amp;quot;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:black;FONT-SIZE:10pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;Then when i reference this field, i just apply the filter contains &amp;quot;Reference cell&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:black;FONT-SIZE:10pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;and it only returns values from this year&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Filtering by current month</title><link>https://www.infopathdev.com:443/forums/thread/59471.aspx</link><pubDate>Thu, 30 Sep 2010 13:25:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59471</guid><dc:creator>freeagentml</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59471.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=59471</wfw:commentRss><description>&lt;p&gt;Exactly what I needed. Thanks! &lt;/p&gt;
&lt;p&gt;Now if you didn&amp;#39;t mind...&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What would need to be modified in that to give &amp;quot;Jan/01/xxxx&amp;quot;?&lt;/p&gt;</description></item><item><title>Re: Filtering by current month</title><link>https://www.infopathdev.com:443/forums/thread/59452.aspx</link><pubDate>Thu, 30 Sep 2010 03:41:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59452</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59452.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=59452</wfw:commentRss><description>&lt;p&gt;This formula should work:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;concat(substring(today(), 1, 8), &amp;#39;01&amp;#39;)&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Filtering by current month</title><link>https://www.infopathdev.com:443/forums/thread/59427.aspx</link><pubDate>Wed, 29 Sep 2010 16:20:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59427</guid><dc:creator>freeagentml</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59427.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=59427</wfw:commentRss><description>&lt;p&gt;Hey everyone,&lt;/p&gt;
&lt;p&gt;I would like to start off with a thank you to everyone because I&amp;#39;ve been trolling these boards for awhile and they are of great help.&lt;/p&gt;
&lt;p&gt;Let me set up what I am doing for you...&lt;/p&gt;
&lt;p&gt;I am trying to return specific results from a list of tickets(taken from a SharePoint List) by Last Week(past seven days), this month(xxx/01/xxxx) and Year to date(Jan/01/xxxx).&lt;/p&gt;
&lt;p&gt;I have had success with the &amp;quot;Last Week&amp;quot;. I created a field(LastWeekReference)&amp;nbsp;and entered this function &amp;quot;addDays(today(), -6)&amp;quot;&lt;/p&gt;
&lt;p&gt;Then&amp;nbsp;to return the number of tickets titled&amp;nbsp;&amp;quot;SPOC Tickets&amp;quot; since last week. I used &amp;quot;count(@Origin[(@Origin = &amp;quot;SPOC Ticket&amp;quot;) and (msxsl:string-compare(@DateCreated, LastWeekReference) &amp;gt; 0)])&amp;quot; and it works great.&lt;/p&gt;
&lt;p&gt;What would the format for This Month&amp;#39;s reference column be? I do not want to say &amp;quot;addDays(today(),-30)&amp;quot; because eventually the count will be off.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Is there something like the excel function &amp;quot;&amp;amp;DATE(YEAR(TODAY()),MONTH(TODAY()),1)&amp;quot;? &amp;lt;--- (in excel this returns the xxx/01/xxxx for whatever month you access it in.)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;-M&lt;/p&gt;</description></item></channel></rss>