<?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: Monthstart Function in a set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Monthstart-Function-in-a-set-analysis/m-p/543761#M203155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ({$ &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ORDERED_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;= $(=Monthstart(date(vMaxDate)))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; } &amp;gt; }&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ORDERED_AMOUNT_CHF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jul 2013 08:53:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-05T08:53:58Z</dc:date>
    <item>
      <title>Monthstart Function in a set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-Function-in-a-set-analysis/m-p/543759#M203153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use this syntax in my set analysis, but a i have always a return of 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ({1 &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ORDERED_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;= $(=Monthstart(vMaxDate))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; } &amp;gt; }&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ORDERED_AMOUNT_CHF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;ORDERED_DATE is a date and vMaxDate a Date variable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Wath's wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 08:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-Function-in-a-set-analysis/m-p/543759#M203153</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-05T08:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart Function in a set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-Function-in-a-set-analysis/m-p/543760#M203154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure that both date have the same format?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 08:52:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-Function-in-a-set-analysis/m-p/543760#M203154</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2013-07-05T08:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart Function in a set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-Function-in-a-set-analysis/m-p/543761#M203155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ({$ &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ORDERED_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;= $(=Monthstart(date(vMaxDate)))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; } &amp;gt; }&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ORDERED_AMOUNT_CHF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 08:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-Function-in-a-set-analysis/m-p/543761#M203155</guid>
      <dc:creator />
      <dc:date>2013-07-05T08:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart Function in a set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-Function-in-a-set-analysis/m-p/543762#M203156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;store &lt;/P&gt;&lt;P&gt;(=Monthstart(vMaxDate))"&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; in a variable and check is the date format same for both the dates you r comparing in ur expression &amp;amp; then apply it or u can use new created variable also.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 10:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-Function-in-a-set-analysis/m-p/543762#M203156</guid>
      <dc:creator>rajni_batra</dc:creator>
      <dc:date>2013-07-05T10:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart Function in a set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-Function-in-a-set-analysis/m-p/543763#M203157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Always a result of 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 10:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-Function-in-a-set-analysis/m-p/543763#M203157</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-05T10:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart Function in a set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-Function-in-a-set-analysis/m-p/543764#M203158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You right we use a date format 'YYYY-MM-DD' for the ORDERED_DATE and the same for vMaxDate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this formula for only the vMaxDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;=Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ({1&amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ORDERED_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(=vMaxDate)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ORDERED_AMOUNT_CHF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the total amount for this day.&amp;nbsp; In this case the date format is valid at the both side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also try some date formating of the monthstart but without any success.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 10:12:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-Function-in-a-set-analysis/m-p/543764#M203158</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-05T10:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Monthstart Function in a set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Monthstart-Function-in-a-set-analysis/m-p/543765#M203159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jelpache,&lt;/P&gt;&lt;P&gt;I've simulated the problem and my expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum&lt;SPAN style="font-size: 8pt;"&gt;({$ &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;datestart&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'&amp;gt;=$(=monthstart(vOggi))'}&amp;gt;} 1)&amp;nbsp; (equal to yours) works. what you must check is if one of the dates (probably &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ORDERED_DATE) is date-time, in this case convert it to date and try again&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 10:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthstart-Function-in-a-set-analysis/m-p/543765#M203159</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2013-07-05T10:30:11Z</dc:date>
    </item>
  </channel>
</rss>

