<?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: Split Date into Month and Year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420682#M156606</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sounds like you selected Override Document Settings on the Number tab and set it to Date for the month field. The month() function returns an integer between 1 and 12 (actually, it creates a dual value with also a text value). If you format 1 as a date you get the date 31-12-1899. So, if that's the case unselect Override Document Settings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Mar 2013 08:46:43 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-03-08T08:46:43Z</dc:date>
    <item>
      <title>Split Date into Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420672#M156596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my excel spreadsheet that I'm uploading into QV I have a "date received" column where all the dates are in this format: DD-MMM-YY (e.g. 07-Mar-13). I would like to have options in my multi box in QV to see just Month and Year. I'd like to compare data from different years by month (like what was the data like this March compared to March 2012), but I don't want to have to change anything in the spreadsheet because the file is used by many people and I don't want to change the format of that "Date Received" column. Is there any way just to create a Month and Year choice in my multi box that draws the information from DD-MMM-YY in the Date Received info?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 19:39:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420672#M156596</guid>
      <dc:creator />
      <dc:date>2013-03-07T19:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Split Date into Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420673#M156597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create Year and Month fields in the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...myfields...,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(MyDate) as Year,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(MyDate) as Month&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;from&lt;EM&gt; ...myexcelfile...;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 19:47:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420673#M156597</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-07T19:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Split Date into Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420674#M156598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean (MyDate). What should I be typing there? Shoud it be ([Date Received])? Or shoud it be writing an actual date?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 19:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420674#M156598</guid>
      <dc:creator />
      <dc:date>2013-03-07T19:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Split Date into Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420675#M156599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Replace &lt;STRONG&gt;MyDate&lt;/STRONG&gt; with &lt;STRONG&gt;[Date Received]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please don't ask me what you should replace &lt;EM&gt;...myfields...&lt;/EM&gt; and &lt;EM&gt;...myexcelfile... &lt;/EM&gt;with. &lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 19:53:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420675#M156599</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-07T19:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Split Date into Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420676#M156600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all thank you for your help. Second of all your script suggestion didn't even accomplish what I wanted it to do, so either you misunderstood what I needed help with, or you don't quite understand QlikView as much as you think you do. And lastly, I've only been using QlikView for a month. I don't see why you're on this site being rude to people who are just looking for some help. You're not required to respond to me at all. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 20:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420676#M156600</guid>
      <dc:creator />
      <dc:date>2013-03-07T20:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Split Date into Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420677#M156601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My apologies. That wasn't intended to insult you. The joke is on me I suppose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way I read your question is that you have a date field and want to create a year and a month field from that to be able to make selections of year and/or month (and use the fields as dimensions in charts). If my understanding is incorrect, please tell me what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you do want to create new year and month fields...&lt;/P&gt;&lt;P&gt;I was hoping your Date Received would be a date field since it comes from an excel file. Perhaps it's a string instead. In that case you need to make a date from it. Try: Year(date#([Date Received],'DD-MMM-YYYY') as Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is your field name 'date received' instead of 'Date Received'? Qlikview is case sensitive for almost everything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that doesn't work, could you post a representative sample of your excel file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 20:20:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420677#M156601</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-07T20:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Split Date into Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420678#M156602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you - I can't upload all of the data, but I did upload a spreadsheet with just the Date Received column. And yes, this is correct, "&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;The way I read your question is that you have a date field and want to create a year and a month field from that to be able to make selections of year and/or month (and use the fields as dimensions in charts).&lt;/SPAN&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 20:39:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420678#M156602</guid>
      <dc:creator />
      <dc:date>2013-03-07T20:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Split Date into Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420679#M156603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mostly works. I see only one date that's not a date. See line 520 in your excel file: 25-Oct012 isn't a valid date. The rest gets loaded fine. See attached qvw.&lt;/P&gt;&lt;P&gt;If necessary 25-Oct012 can be made a date too, but it makes things more complicated. It's better to fix the incorrect data entry in the source system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 20:48:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420679#M156603</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-07T20:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Split Date into Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420680#M156604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've actually tried adding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year([Date Received]) as Year,&lt;/P&gt;&lt;P&gt;Month([Date Received]) as Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to the script before. It doesn't seem to work either. The Year comes out fine in the multibox, but when I look at the Month option in the multi box, all the options say Jan- and a year next to it. The years next to Jan are all 1989 or 1900, which aren't even years in my spreadsheet. Thank you for your help, but I'm not sure this is possible to fix without revealing my entire dataset. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 21:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420680#M156604</guid>
      <dc:creator />
      <dc:date>2013-03-07T21:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Split Date into Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420681#M156605</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(Date(Date#([Date Received],'DD-MMM-YY'))) as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(Date(Date#([Date Received],'DD-MMM-YY'))) as Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 07:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420681#M156605</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-03-08T07:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Split Date into Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420682#M156606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sounds like you selected Override Document Settings on the Number tab and set it to Date for the month field. The month() function returns an integer between 1 and 12 (actually, it creates a dual value with also a text value). If you format 1 as a date you get the date 31-12-1899. So, if that's the case unselect Override Document Settings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 08:46:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420682#M156606</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-08T08:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Split Date into Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420683#M156607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked, thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 15:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/420683#M156607</guid>
      <dc:creator />
      <dc:date>2013-03-08T15:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Split Date into Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/1959132#M1220025</link>
      <description>&lt;P&gt;Sometimes Date table might not have same alignment like for e.g in given example of Ship Date. If You try to used Year([Ship Date]) as &lt;STRONG&gt;Year&lt;/STRONG&gt; it will not get Correct Output So instead of that in this situation we better to used&amp;nbsp;SubField([Ship Date], '/',3) as &lt;STRONG&gt;Year_1&amp;nbsp; .&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You can see the difference from the images.&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Original Table" style="width: 112px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84810iD3F5A3D1D839DDBF/image-size/small?v=v2&amp;amp;px=200" role="button" title="date.PNG" alt="Original Table" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Original Table&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Split Year Updated  Table" style="width: 124px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84813i6C3BC94CD926F051/image-size/medium?v=v2&amp;amp;px=400" role="button" title="year).png" alt="Split Year Updated  Table" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Split Year Updated  Table&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 20:51:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Date-into-Month-and-Year/m-p/1959132#M1220025</guid>
      <dc:creator>Sharad02</dc:creator>
      <dc:date>2022-07-21T20:51:11Z</dc:date>
    </item>
  </channel>
</rss>

