<?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 Re: Set Expression of 'InMonthToDate' in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Expression-of-InMonthToDate/m-p/593471#M678901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;InMonthToDate() returns true/false, hence you can't directly write like: Date={"&amp;gt;$(=InMonthToDate())"}. May be you can try like: Date={"&amp;gt;$(=If(InMonthToDate(), Date))"},,,, that is compare the date field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer your second questtion: No, it's not necessarily so.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 May 2014 07:17:51 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2014-05-05T07:17:51Z</dc:date>
    <item>
      <title>Set Expression of 'InMonthToDate'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-of-InMonthToDate/m-p/593470#M678900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used InMonToDate in current project, not least it allows &lt;SPAN style="text-decoration: underline;"&gt;Financial Year&lt;/SPAN&gt; and standard &lt;SPAN style="text-decoration: underline;"&gt;Calendar Year&lt;/SPAN&gt; easily switched by having start month. But if I needed to achieve this in set expression, how could I write it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;[Expression]&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;[in Set Analyses]&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Date =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;=$(=MonthStart(Today(0),$(=-X)))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;=$(=MonthEnd(Today(0),$(=-X)))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above is one thought to achieve InMonthToDate, but is there something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(=InMonthToDate(....)) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd apprecaite for any feedback in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Additional Question 2.] is it the case, that I cannot write set analyses in multiple lines, but always need making it being single line?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 07:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-of-InMonthToDate/m-p/593470#M678900</guid>
      <dc:creator>atsushi_saijo</dc:creator>
      <dc:date>2014-05-05T07:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression of 'InMonthToDate'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-of-InMonthToDate/m-p/593471#M678901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;InMonthToDate() returns true/false, hence you can't directly write like: Date={"&amp;gt;$(=InMonthToDate())"}. May be you can try like: Date={"&amp;gt;$(=If(InMonthToDate(), Date))"},,,, that is compare the date field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer your second questtion: No, it's not necessarily so.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 07:17:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-of-InMonthToDate/m-p/593471#M678901</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-05-05T07:17:51Z</dc:date>
    </item>
  </channel>
</rss>

