<?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: Date help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-help/m-p/1546147#M439862</link>
    <description>&lt;P&gt;It's not good practice to use text comparison here. Having said that, for a quick fix, you could try like:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;if(date(Install_Date&amp;lt;='2011-01'),&lt;STRONG&gt;Date(Date#('2011-01', 'YYYY-MM'),'YYYY-MM')&lt;/STRONG&gt;,Install_Date) as Install_Date_Dummy&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Feb 2019 07:03:10 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2019-02-19T07:03:10Z</dc:date>
    <item>
      <title>Date help</title>
      <link>https://community.qlik.com/t5/QlikView/Date-help/m-p/1546136#M439861</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a date field in a table with 'YYYY-MM' format and i have years from 1950-01 to 2019-01.&lt;/P&gt;&lt;P&gt;Now i need to make all the years which are &amp;lt;=2011-01 to 2011-01.&lt;/P&gt;&lt;P&gt;I have give condition like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(date(Install_Date&amp;lt;='2011-01'),'2011-01',Install_Date) as Install_Date_Dummy, but in the list box i am getting as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="T.PNG" style="width: 179px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6291iF88D53CC555B2519/image-size/large?v=v2&amp;amp;px=999" role="button" title="T.PNG" alt="T.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But for 2011-01 i am getting left side in list box.. can you please tell me how to get all in one format.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 06:33:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-help/m-p/1546136#M439861</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2019-02-19T06:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Date help</title>
      <link>https://community.qlik.com/t5/QlikView/Date-help/m-p/1546147#M439862</link>
      <description>&lt;P&gt;It's not good practice to use text comparison here. Having said that, for a quick fix, you could try like:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;if(date(Install_Date&amp;lt;='2011-01'),&lt;STRONG&gt;Date(Date#('2011-01', 'YYYY-MM'),'YYYY-MM')&lt;/STRONG&gt;,Install_Date) as Install_Date_Dummy&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 07:03:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-help/m-p/1546147#M439862</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-02-19T07:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Date help</title>
      <link>https://community.qlik.com/t5/QlikView/Date-help/m-p/1546150#M439863</link>
      <description>I tried this as well and this also worked:&lt;BR /&gt;&lt;BR /&gt;date#(if(date(Install_date&amp;lt;='2011-01'),'2011-01',Install_Date))</description>
      <pubDate>Tue, 19 Feb 2019 07:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-help/m-p/1546150#M439863</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2019-02-19T07:11:12Z</dc:date>
    </item>
  </channel>
</rss>

