<?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: Dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dates/m-p/328009#M1195895</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, sorry about that, try this instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px;"&gt;Month(Monthstart(Date#(DateRaised, 'DD/MM/YY'))) as Month&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should do the trick hopefully.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jun 2011 00:37:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-06-29T00:37:30Z</dc:date>
    <item>
      <title>Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/328004#M1195889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another novice question...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a spreadsheet with lots of data against DateRaised, so for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;01/01/11 RTA&lt;/P&gt;&lt;P&gt;02/01/11 Injury&lt;/P&gt;&lt;P&gt;03/01/11 Injury&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;28/05/11 RTA&lt;/P&gt;&lt;P&gt;29/05/11 RTA&lt;/P&gt;&lt;P&gt;30/05/11 RTA&lt;/P&gt;&lt;P&gt;31/05/11 Injury&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I create a list box with Jan, Feb.......Dec, so users can select a month and see the totals&lt;/P&gt;&lt;P&gt;Do I need to do something in the load script? I've been searching other discussions and can't quite work out what I need to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 00:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/328004#M1195889</guid>
      <dc:creator />
      <dc:date>2011-06-29T00:03:45Z</dc:date>
    </item>
    <item>
      <title>Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/328005#M1195890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the data above all in a single field? or multiple?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either way you just need to add a couple lines to your load script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load DateRaised,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month(DateRaised) as month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; year(DateRaised) as year,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the data is in a single field then do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load DateRaised,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month(left(DateRaised,8) as month,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 00:08:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/328005#M1195890</guid>
      <dc:creator />
      <dc:date>2011-06-29T00:08:45Z</dc:date>
    </item>
    <item>
      <title>Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/328006#M1195891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Melanie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume you have a load statement in the script like:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateRaised,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;From xxxx;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a new Month field there by doing something like this:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Month(Date#(DateRaised, 'DD/MM/YY')) as Month&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Date#() function is to properly identify the DateRaised as a date value so that you can use Month() to extract the month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 00:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/328006#M1195891</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-29T00:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/328007#M1195892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, but I'm just getting a whole list of month names returned, so&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do make it so it selects all the Januarys?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I need a list box with&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;Feb&lt;/P&gt;&lt;P&gt;Mar&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and when a user selects a month it displays all the values for that month&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 00:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/328007#M1195892</guid>
      <dc:creator />
      <dc:date>2011-06-29T00:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/328008#M1195893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just add the newly created month field to a list box on the page and it will get you where you want to go!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 00:29:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/328008#M1195893</guid>
      <dc:creator />
      <dc:date>2011-06-29T00:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/328009#M1195895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, sorry about that, try this instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px;"&gt;Month(Monthstart(Date#(DateRaised, 'DD/MM/YY'))) as Month&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should do the trick hopefully.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 00:37:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/328009#M1195895</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-29T00:37:30Z</dc:date>
    </item>
  </channel>
</rss>

