<?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 Year is pulling individual day in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Year-is-pulling-individual-day/m-p/343084#M491911</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;I am using the following script to load a timestamp as its correct year and date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;LOAD DATE ([ContractStartDate],'MM/DD/YYYY') AS ContractStartDate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,DATE([ContractStartDate],'YYYY') AS ContractStartYear&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,DATE([ContractStartDate],'MM') AS ContractStartMonth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I show the ContractStartYear as a list, it returns the same year multiple times, and even though each one looks the same, they actually pull a single day's worth of data, not the whole year. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;ContractStartYear&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2001&amp;nbsp; &amp;lt;--only refers to 01/05/2001&lt;/P&gt;&lt;P&gt;2001&amp;nbsp; &amp;lt;--only refers to 05/04/2001 &lt;/P&gt;&lt;P&gt;2001&amp;nbsp; &amp;lt;--only refers to 07/12/2001&amp;nbsp;&amp;nbsp;&amp;nbsp; etc...&lt;/P&gt;&lt;P&gt;2001&lt;/P&gt;&lt;P&gt;2002&lt;/P&gt;&lt;P&gt;2002&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something I need to specify in the script so that it will instead yield the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;ContractStartYear&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2001&amp;nbsp; &amp;lt;--refers to entire year of 2001&lt;/P&gt;&lt;P&gt;2002&amp;nbsp; &amp;lt;--refers to entire year of 2002&amp;nbsp; etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2012 16:18:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-07T16:18:30Z</dc:date>
    <item>
      <title>Year is pulling individual day</title>
      <link>https://community.qlik.com/t5/QlikView/Year-is-pulling-individual-day/m-p/343084#M491911</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;I am using the following script to load a timestamp as its correct year and date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;LOAD DATE ([ContractStartDate],'MM/DD/YYYY') AS ContractStartDate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,DATE([ContractStartDate],'YYYY') AS ContractStartYear&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,DATE([ContractStartDate],'MM') AS ContractStartMonth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I show the ContractStartYear as a list, it returns the same year multiple times, and even though each one looks the same, they actually pull a single day's worth of data, not the whole year. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;ContractStartYear&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2001&amp;nbsp; &amp;lt;--only refers to 01/05/2001&lt;/P&gt;&lt;P&gt;2001&amp;nbsp; &amp;lt;--only refers to 05/04/2001 &lt;/P&gt;&lt;P&gt;2001&amp;nbsp; &amp;lt;--only refers to 07/12/2001&amp;nbsp;&amp;nbsp;&amp;nbsp; etc...&lt;/P&gt;&lt;P&gt;2001&lt;/P&gt;&lt;P&gt;2002&lt;/P&gt;&lt;P&gt;2002&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something I need to specify in the script so that it will instead yield the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;ContractStartYear&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2001&amp;nbsp; &amp;lt;--refers to entire year of 2001&lt;/P&gt;&lt;P&gt;2002&amp;nbsp; &amp;lt;--refers to entire year of 2002&amp;nbsp; etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 16:18:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-is-pulling-individual-day/m-p/343084#M491911</guid>
      <dc:creator />
      <dc:date>2012-08-07T16:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Year is pulling individual day</title>
      <link>https://community.qlik.com/t5/QlikView/Year-is-pulling-individual-day/m-p/343085#M491912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You only changed the format of your dates to show only the year, but the date is still kept in the numerical representation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use year(DATEFIELD) instead to create a year field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 16:22:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-is-pulling-individual-day/m-p/343085#M491912</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-08-07T16:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Year is pulling individual day</title>
      <link>https://community.qlik.com/t5/QlikView/Year-is-pulling-individual-day/m-p/343086#M491913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 19:05:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-is-pulling-individual-day/m-p/343086#M491913</guid>
      <dc:creator />
      <dc:date>2012-08-07T19:05:08Z</dc:date>
    </item>
  </channel>
</rss>

