<?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: Decoding lot data into date YYYY-MM in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891538#M657999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can even leave out the pick() from sunindia's solution, because match() will return an index that fits our needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(Date#('20' &amp;amp; Left([Lot Num], 2) &amp;amp; '-' &amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Match(Mid([Lot Num], 3, 1), 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 'L', 'M'), 'YYYY-MM'), 'YYYY-MM')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Month of Production]&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Lot Num&lt;/P&gt;&lt;P&gt;14G07&lt;/P&gt;&lt;P&gt;12M18&lt;/P&gt;&lt;P&gt;13A05&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2015 19:07:23 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-06-01T19:07:23Z</dc:date>
    <item>
      <title>Decoding lot data into date YYYY-MM</title>
      <link>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891534#M657992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have lot information coming out of the database and need to display the month of production in a column next to it. The data sometimes will have extra spaces preceding it which i know will need to be trimmed.&amp;nbsp; The first 2 characters are the two digit year and the 3rd character is the month of production as a letter, skipping "I" (A=JAN, B=FEB, C=MAR, D=APR, E=MAY, F=JUN, G=JUL, H=AUG, J=SEP, K=OCT, L=NOV, M=DEC) the rest of the code is not needed for what i am doing.&amp;nbsp; So how can I convert The first column to display what i have in the second column?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lot Num&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month of Production&lt;/P&gt;&lt;P&gt;14G07&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014-07&lt;/P&gt;&lt;P&gt;12M18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012-12&lt;/P&gt;&lt;P&gt;13A05&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013-01&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 18:39:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891534#M657992</guid>
      <dc:creator />
      <dc:date>2015-06-01T18:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding lot data into date YYYY-MM</title>
      <link>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891535#M657993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;Date(Date#('20' &amp;amp; Left([Lot Num], 2) &amp;amp; '-' &amp;amp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp; Pick(Match(Mid([Lot Num], 3, 1), 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 'L', 'M'), 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), 'YYYY-MM'), 'YYYY-MM') as [Month of Production]&lt;/SPAN&gt; ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Lot Num&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;14G07&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;12M18&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;13A05&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG __jive_id="88092" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88092_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 18:56:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891535#M657993</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-01T18:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding lot data into date YYYY-MM</title>
      <link>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891536#M657995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD [Lot Num],&lt;/P&gt;&lt;P&gt;&amp;nbsp; MakeDate(&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2000+left([Lot Num],2), &lt;/P&gt;&lt;P&gt;&amp;nbsp; if(mid([Lot Num],3,1) precedes 'I',&lt;/P&gt;&lt;P&gt;&amp;nbsp; ord(mid([Lot Num],3,1)) - ord('A') + 1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ord(mid([Lot Num],3,1)) - ord('A'))) as Month INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lot Num&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month of Production&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14G07&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014-07&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12M18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012-12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13A05&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013-01&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 19:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891536#M657995</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-06-01T19:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding lot data into date YYYY-MM</title>
      <link>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891537#M657997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;s:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; *,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; date(&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp; makedate(&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp; 2000 + left([Lot Num],2),&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp; pick(match(mid([Lot Num],3,1), 'A','B','C','D','E','F','G','H','J','K','L','M'),1,2,3,4,5,6,7,8,9,10,11,12)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp; ), &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; 'YYYY-MM')&lt;/STRONG&gt; as NewField&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Lot Num&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month of Production&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;14G07&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014-07&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;12M18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012-12&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;13A05&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013-01&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 19:06:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891537#M657997</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-01T19:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding lot data into date YYYY-MM</title>
      <link>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891538#M657999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can even leave out the pick() from sunindia's solution, because match() will return an index that fits our needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(Date#('20' &amp;amp; Left([Lot Num], 2) &amp;amp; '-' &amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Match(Mid([Lot Num], 3, 1), 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 'L', 'M'), 'YYYY-MM'), 'YYYY-MM')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Month of Production]&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Lot Num&lt;/P&gt;&lt;P&gt;14G07&lt;/P&gt;&lt;P&gt;12M18&lt;/P&gt;&lt;P&gt;13A05&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 19:07:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891538#M657999</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-01T19:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding lot data into date YYYY-MM</title>
      <link>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891539#M658001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried adapting this to my situation, however, this is a large report and the lot numbers are always in production and I couldn't seem to get it to work.&amp;nbsp; I took out the inline load of the three I gave as an example and used a reference to my field that [Lot Num] but it broke.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; LOAD *,&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('20' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PSR_P2P3.TEXT.31&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 2) &amp;amp; '-' &amp;amp;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Pick&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PSR_P2P3.TEXT.31&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 3, 1), 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 'L', 'M'), 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), 'YYYY-MM'), 'YYYY-MM') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Month of Production]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 19:12:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891539#M658001</guid>
      <dc:creator />
      <dc:date>2015-06-01T19:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding lot data into date YYYY-MM</title>
      <link>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891540#M658003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean when you say broke? Does it give you an error or does it give you an output you are not expecting??? Not sure what isn't working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 19:21:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891540#M658003</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-01T19:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding lot data into date YYYY-MM</title>
      <link>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891541#M658004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry about that.&amp;nbsp; I should have been more specific.&amp;nbsp; When I used the modified code that I posted above, It gave no error when reloading but it didn't create a new field of "[Month of Production]"&amp;nbsp; Ideally, I want to add an additional dimension to an already exiting Table box where I have the data coming in for the lot number "PSR_P2P3.Text31"&amp;nbsp; and convert it into a production Year and month.&amp;nbsp; The code you provided works great when just loading the three values but I couldn't figure out how to adapt it to my data pulling in from the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 19:31:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891541#M658004</guid>
      <dc:creator />
      <dc:date>2015-06-01T19:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding lot data into date YYYY-MM</title>
      <link>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891542#M658006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't have to be sorry bud &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. I was just not sure what went wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it isn't even showing Month of Production, huh!!!. &lt;STRONG&gt;Are you using this table as a resident load later in your script and dropping the original table may be?&lt;/STRONG&gt; because I don't see why else it won't show you the new created table in your application. Can you verify the above thing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 19:36:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891542#M658006</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-01T19:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding lot data into date YYYY-MM</title>
      <link>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891543#M658007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The field was showing with your original script but when I modified your script to better fit my application that is when i broke it and the field is no longer available.&amp;nbsp; I have no resident load of the data and i am not dropping any tables in my script.&amp;nbsp; I actually just started on this script to see if i could convert the lot number to a date so the script is very clean. I loaded a QVW of our data model from our server to my local client and the only code in the script is my binary load and the code that you provided with my modification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 19:43:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891543#M658007</guid>
      <dc:creator />
      <dc:date>2015-06-01T19:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding lot data into date YYYY-MM</title>
      <link>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891544#M658008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share the portion of the script where you are bringing in the table and where you are doing this above manipulation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;('20' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;PSR_P2P3.TEXT.31&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, 2) &amp;amp; '-' &amp;amp;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Pick&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;PSR_P2P3.TEXT.31&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, 3, 1), 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 'L', 'M'), 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), 'YYYY-MM'), 'YYYY-MM') &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[Month of Production]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt; ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 19:46:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891544#M658008</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-01T19:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding lot data into date YYYY-MM</title>
      <link>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891545#M658010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had that piece commented out... Now that I have that uncommented, It looks like the field is available for selection, however, the date isn't calculating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LotMonth:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PSR_P2P3.TEXT31, Month_of_Production&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(Date#('20' &amp;amp; Left(PSR_P2P3.TEXT.31, 2) &amp;amp; '-' &amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Pick(Match(Mid(PSR_P2P3.TEXT.31, 3, 1), 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 'L', 'M'), 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), 'YYYY-MM'), 'YYYY-MM') as Month_of_Production ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 20:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891545#M658010</guid>
      <dc:creator />
      <dc:date>2015-06-01T20:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding lot data into date YYYY-MM</title>
      <link>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891546#M658011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Structure doesn't seem right to me. You either need to do Resident load or Preceding load. Which one are you employing in your application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;Preceding&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Load&lt;/SPAN&gt;&lt;/STRONG&gt; would look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LotMonth:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; Date(Date#('20' &amp;amp; Left(PSR_P2P3.TEXT.31, 2) &amp;amp; '-' &amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; Pick(Match(Mid(PSR_P2P3.TEXT.31, 3, 1), 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 'L', 'M'), 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), 'YYYY-MM'), 'YYYY-MM') as Month_of_Production ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Load &lt;/STRONG&gt;yourFields&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;From &lt;/STRONG&gt;yourDataSource&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;Resident&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Load&lt;/SPAN&gt;&lt;/STRONG&gt; will look like this:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LotMonth:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Load &lt;/STRONG&gt;yourFields&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;From &lt;/STRONG&gt;yourDataSource&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;NewLotMonth:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Date#('20' &amp;amp; Left(PSR_P2P3.TEXT.31, 2) &amp;amp; '-' &amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pick(Match(Mid(PSR_P2P3.TEXT.31, 3, 1), 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 'L', 'M'), 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), 'YYYY-MM'), 'YYYY-MM') as Month_of_Production&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Resident LotMonth;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Drop Table LotMonth;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Which of the above two are you employing in your application?&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 20:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891546#M658011</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-01T20:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding lot data into date YYYY-MM</title>
      <link>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891547#M658013</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;I had something similar in mind:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_166367_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88116_QlikCommunity_Thread_166367_Pic1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14331967228841860" jivemacro_uid="_14331967228841860"&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Date#(Left([Lot Num],2)&amp;amp;'/'&amp;amp;(Ord(Mid([Lot Num],3,1))-64+(Mid([Lot Num],3,1)&amp;gt;'I')),'YY/M'),'YYYY-MM') as [Month of Production]&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lot Num&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14G07&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12M18&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13A05&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 22:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891547#M658013</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-01T22:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding lot data into date YYYY-MM</title>
      <link>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891548#M658016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I needed to have a resident load and I didn't have one. Once I placed it in it is working for me. Thank you so much for your help. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 11:51:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891548#M658016</guid>
      <dc:creator />
      <dc:date>2015-06-02T11:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding lot data into date YYYY-MM</title>
      <link>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891549#M658018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad we were finally able to figure it all out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 11:52:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decoding-lot-data-into-date-YYYY-MM/m-p/891549#M658018</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-02T11:52:08Z</dc:date>
    </item>
  </channel>
</rss>

