<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How do I say, within the month?! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-say-within-the-month/m-p/780988#M276681</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on an expression, and want to say that if the due date is within then current month, then yes else no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ([Due Date] = Month(Today()), 'Yes', 'No')&amp;nbsp; as [Due This Month]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or am I nearly right, just not quite there?! Story of my life! lol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Di&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Nov 2014 13:59:06 GMT</pubDate>
    <dc:creator>dinicholls</dc:creator>
    <dc:date>2014-11-06T13:59:06Z</dc:date>
    <item>
      <title>How do I say, within the month?!</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-say-within-the-month/m-p/780988#M276681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on an expression, and want to say that if the due date is within then current month, then yes else no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ([Due Date] = Month(Today()), 'Yes', 'No')&amp;nbsp; as [Due This Month]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or am I nearly right, just not quite there?! Story of my life! lol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Di&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 13:59:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-say-within-the-month/m-p/780988#M276681</guid>
      <dc:creator>dinicholls</dc:creator>
      <dc:date>2014-11-06T13:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I say, within the month?!</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-say-within-the-month/m-p/780989#M276682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Month([Due Date])=Month(today()),'Yes','No')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or else&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Match(month([Due Date])=Month(today()),'Yes','No')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 14:07:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-say-within-the-month/m-p/780989#M276682</guid>
      <dc:creator />
      <dc:date>2014-11-06T14:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I say, within the month?!</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-say-within-the-month/m-p/780990#M276683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Almost... If you use&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (Month([Due Date]) = Month(Today()), 'Yes', 'No')&amp;nbsp; as [Due This Month]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;you will check that the months match. But you will also get a match on November last year with November this year. Then it might be better to use&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (MonthStart([Due Date]) = MonthStart(Today()), 'Yes', 'No')&amp;nbsp; as [Due This Month]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;HIC&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 14:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-say-within-the-month/m-p/780990#M276683</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-11-06T14:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I say, within the month?!</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-say-within-the-month/m-p/780991#M276684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Diane,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some functions migth be helpful&amp;nbsp; - check help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor494"&gt;&lt;/A&gt;&lt;A name="InMonth"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;InMonth (&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;date, basedate , shift&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;returns true if &lt;SPAN class="Italic"&gt;date&lt;/SPAN&gt; lies inside the month containing &lt;SPAN class="Italic"&gt;basedate&lt;/SPAN&gt;. The month can be offset by &lt;SPAN class="Italic"&gt;shift&lt;/SPAN&gt;. &lt;SPAN class="Italic"&gt;Shift&lt;/SPAN&gt; is an integer, where the value 0 indicates the month which contains &lt;SPAN class="Italic"&gt;basedate&lt;/SPAN&gt;. Negative values in &lt;SPAN class="Italic"&gt;shift&lt;/SPAN&gt; indicate preceding months and positive values indicate succeeding months. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;inmonth ( '2006-01-25', '2006-01-01', 0 )&lt;/SPAN&gt; returns true&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;inmonth ( '2006-01-25', '2006-04-01', 0 )&lt;/SPAN&gt; returns false&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;inmonth ( '2006-01-25', '2006-01-01', -1 )&lt;/SPAN&gt; returns false&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;inmonth ( '2005-12-25', '2006-01-01', -1 )&lt;/SPAN&gt; returns true&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor495"&gt;&lt;/A&gt;&lt;A name="InMonthToDate"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;InMonthToDate (&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;date, basedate , shift&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;returns true if &lt;SPAN class="Italic"&gt;date&lt;/SPAN&gt; lies inside the part of month containing &lt;SPAN class="Italic"&gt;basedate&lt;/SPAN&gt; up until and including the last millisecond of &lt;SPAN class="Italic"&gt;basedate&lt;/SPAN&gt;. The month can be offset by &lt;SPAN class="Italic"&gt;shift&lt;/SPAN&gt;. &lt;SPAN class="Italic"&gt;Shift&lt;/SPAN&gt; is an integer, where the value 0 indicates the month which contains &lt;SPAN class="Italic"&gt;basedate&lt;/SPAN&gt;. Negative values in &lt;SPAN class="Italic"&gt;shift&lt;/SPAN&gt; indicate preceding months and positive values indicate succeeding months. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;inmonthtodate ( '2006-01-25', '2006-01-25', 0 )&lt;/SPAN&gt; returns true&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;inmonthtodate ( '2006-01-25', '2006-01-24', 0 )&lt;/SPAN&gt; returns false&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;inmonthtodate ( '2006-01-25', '2006-02-28', -1 )&lt;/SPAN&gt; returns true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 14:10:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-say-within-the-month/m-p/780991#M276684</guid>
      <dc:creator />
      <dc:date>2014-11-06T14:10:41Z</dc:date>
    </item>
  </channel>
</rss>

