<?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 Problem with date(Two Weeks) field in a group in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-date-Two-Weeks-field-in-a-group/m-p/216398#M69715</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;'Two Weeks' in the group field works fine only when we don't select any dates field. But when I select any date field(Year: 2010) it is showing the repeatation of the date field.&lt;/P&gt;&lt;P&gt;Can some one please help me out this. It is little urgent!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Apr 2011 15:14:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-14T15:14:35Z</dc:date>
    <item>
      <title>Problem with date(Two Weeks) field in a group</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-date-Two-Weeks-field-in-a-group/m-p/216398#M69715</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;'Two Weeks' in the group field works fine only when we don't select any dates field. But when I select any date field(Year: 2010) it is showing the repeatation of the date field.&lt;/P&gt;&lt;P&gt;Can some one please help me out this. It is little urgent!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 15:14:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-date-Two-Weeks-field-in-a-group/m-p/216398#M69715</guid>
      <dc:creator />
      <dc:date>2011-04-14T15:14:35Z</dc:date>
    </item>
    <item>
      <title>Problem with date(Two Weeks) field in a group</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-date-Two-Weeks-field-in-a-group/m-p/216399#M69716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Attitude,&lt;/P&gt;&lt;P&gt;I am back.. &lt;IMG alt="Cool" src="http://community.qlik.com/emoticons/emotion-11.gif" /&gt;&lt;/P&gt;&lt;P&gt;use the code below&lt;/P&gt;&lt;P&gt;=date(trim(if(date &amp;gt;= '$(vMinDate)' and date &amp;lt; '$(vMaxDate)',date)),'dd/mm/yyyy')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 15:27:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-date-Two-Weeks-field-in-a-group/m-p/216399#M69716</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-04-14T15:27:41Z</dc:date>
    </item>
    <item>
      <title>Problem with date(Two Weeks) field in a group</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-date-Two-Weeks-field-in-a-group/m-p/216400#M69717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Deepak Kurup wrote:&lt;BR /&gt;I am back.. &lt;IMG alt="Cool" src="http://community.qlik.com/emoticons/emotion-11.gif" /&gt;&lt;BR /&gt;use the code below&lt;BR /&gt;=date(trim(if(date &amp;gt;= '$(vMinDate)' and date &amp;lt; '$(vMaxDate)',date)),'dd/mm/yyyy')&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like you are back but I am out &lt;IMG alt="Stick out tongue" src="http://community.qlik.com/emoticons/emotion-4.gif" /&gt;&lt;/P&gt;&lt;P&gt;This solution has done the trick! Many thanks to you... I was just wondering why you were using trim? Was there was any space in the values? I thought reason may becuase we aren't passing the year field in the below condition. Got little surprised with the solution that you had given.&lt;/P&gt;&lt;P&gt;Please do reply on this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt; =if(date &amp;gt;= '$(vMinDate)' and date &amp;lt; '$(vMaxDate)',date)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 17:19:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-date-Two-Weeks-field-in-a-group/m-p/216400#M69717</guid>
      <dc:creator />
      <dc:date>2011-04-14T17:19:24Z</dc:date>
    </item>
    <item>
      <title>Problem with date(Two Weeks) field in a group</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-date-Two-Weeks-field-in-a-group/m-p/216401#M69718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Attitude,&lt;/P&gt;&lt;P&gt;Since you are pulling data from excel there possibilities of spaces in data , and when i saw ur data for 2010 i felt the data was coming in text format and qlikview was not able to identify as date.&lt;/P&gt;&lt;P&gt;Hence i tried out trim then convert it into date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 02:32:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-date-Two-Weeks-field-in-a-group/m-p/216401#M69718</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-04-15T02:32:19Z</dc:date>
    </item>
  </channel>
</rss>

