<?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: RE:Date error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066560#M524160</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;replace with the '2014-may-10' with the field name, in the code below &lt;STRONG&gt;datefield&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Source: &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;datefield&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014-may-05&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014-may-06&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014-may-07&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014-may-08&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014-may-09&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014-may-10&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; datefield,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; date(MonthStart(date#(&lt;STRONG&gt;datefield&lt;/STRONG&gt;, 'YYYY-MMM-DD')), 'YYYY-MMM') as newdatefield&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident Source;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Feb 2016 13:53:53 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2016-02-07T13:53:53Z</dc:date>
    <item>
      <title>RE:Date error</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066552#M524152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What wrng in my expression&lt;/P&gt;&lt;P&gt;my date field as&lt;/P&gt;&lt;P&gt;date&lt;/P&gt;&lt;P&gt;2014-may-05&lt;/P&gt;&lt;P&gt;2014-may-06&lt;/P&gt;&lt;P&gt;2014-may-07&lt;/P&gt;&lt;P&gt;2014-may-08&lt;/P&gt;&lt;P&gt;2014-may-09&lt;/P&gt;&lt;P&gt;2014-may-10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=date(MonthsStart( "date"), 'YYYY-MMM')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i want to display date as&amp;nbsp;&amp;nbsp; :2014-may&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i get this date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 11:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066552#M524152</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-07T11:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Date error</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066553#M524153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=date(MonthStart(date#(date, 'YYYY-MMM-DD')), 'YYYY-MMM')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 11:11:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066553#M524153</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-07T11:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Date error</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066554#M524154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnx marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its shwng error in expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;IMG alt="error-date.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113823_error-date.png" style="height: 371px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 11:14:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066554#M524154</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-07T11:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Date error</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066555#M524155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You tried it with MonthsStart which requirred more than one parameter and therefore throws an error but you need instead MonthStart - to compare:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month&lt;STRONG&gt;s&lt;/STRONG&gt;Start&lt;/P&gt;&lt;P&gt;MonthStart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Details to their differences could you find within the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 11:33:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066555#M524155</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-07T11:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Date error</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066556#M524156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnx marcus.....even though it is nt gvng any value.. as expression is ok .&amp;nbsp; MonthStart&amp;nbsp; i used dis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 12:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066556#M524156</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-07T12:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Date error</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066557#M524157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried this within a textbox and it's working fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=date(MonthStart(date#('2014-may-10', 'YYYY-MMM-DD')), 'YYYY-MMM')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 13:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066557#M524157</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-07T13:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Date error</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066558#M524158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you use the below command in the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(Date#(date,'YYYY-MMM-DD'),'YYYY-MMM')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sreeman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 13:16:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066558#M524158</guid>
      <dc:creator />
      <dc:date>2016-02-07T13:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Date error</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066559#M524159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah.. its gvng&amp;nbsp; correct now but....we are gvng the date manually ryt.......if my data chnges?&amp;nbsp; how can i ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 13:29:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066559#M524159</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-07T13:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Date error</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066560#M524160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;replace with the '2014-may-10' with the field name, in the code below &lt;STRONG&gt;datefield&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Source: &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;datefield&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014-may-05&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014-may-06&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014-may-07&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014-may-08&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014-may-09&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014-may-10&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; datefield,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; date(MonthStart(date#(&lt;STRONG&gt;datefield&lt;/STRONG&gt;, 'YYYY-MMM-DD')), 'YYYY-MMM') as newdatefield&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident Source;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 13:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066560#M524160</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-02-07T13:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Date error</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066561#M524161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnx maxgro........if i want to do in frnt end.&amp;nbsp; how to do this?&amp;nbsp; without creating new field in bakend?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 13:58:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066561#M524161</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-07T13:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Date error</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066562#M524162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The manually written date was only to show that the logic and syntax is right - you could it replace directly with your date-field. If you get then no valid result it meant that your date-field contained a different value and/or format then you expect. Maybe it needs then a trim() or it is really a timestamp instead a date and the expressions needs to be adjusted a little bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 14:08:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066562#M524162</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-07T14:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Date error</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066563#M524163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the same expression can work in a chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can do a straight table chart with (this is just an example) a&lt;/P&gt;&lt;P&gt;- calculated dimension&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;date(MonthStart(date#(datefield, 'YYYY-MMM-DD')), 'YYYY-MMM') as newdatefield&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;- expression&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;count(datefield) &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113825_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;this is the script for the example above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Source: &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;datefield&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014-may-05&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014-may-06&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014-may-07&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014-may-08&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014-may-09&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014-may-10&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2015-may-10&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 14:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066563#M524163</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-02-07T14:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Date error</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066564#M524164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnx M G and Marcus.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; your info is awesome. grt explnatn.&amp;nbsp; .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 14:25:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066564#M524164</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-07T14:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Date error</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066565#M524165</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;It is not working alrdy tried dat one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 04:52:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Date-error/m-p/1066565#M524165</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-08T04:52:09Z</dc:date>
    </item>
  </channel>
</rss>

