<?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: Mid and Limit in the Load Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mid-and-Limit-in-the-Load-Script/m-p/1027596#M347173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD OtherField,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FiscalYearMonth,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mid(FiscalYearMonth,1,4) as FiscalYear,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mid(FiscalYearMonth&lt;STRONG&gt;,5,2&lt;/STRONG&gt;) as Month&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //shouldn't it be 5,2?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM YourTableSource&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;WHERE &lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;FiscalYearMonth LIKE '2016*';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Apr 2016 17:11:21 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-04-13T17:11:21Z</dc:date>
    <item>
      <title>Mid and Limit in the Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Mid-and-Limit-in-the-Load-Script/m-p/1027593#M347170</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 bringing in a table with FiscalYearMonth field. it is showing 2 years- 2013 and 2014 and I want to bring in only 2014.&lt;/P&gt;&lt;P&gt;The set up of the field is YYYYMM but I want to split it to just show YYYY as FiscalYear and MM as Month.&lt;/P&gt;&lt;P&gt;I used the mid function on the field in the load scipt &lt;/P&gt;&lt;P&gt;Mid(FiscalYearMonth,1,4) as FiscalYear&lt;/P&gt;&lt;P&gt;Mid(FiscalYearMonth,4,2) as Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put where at the end of my from statement (Where FiscalYear=2014) but it did not recognize the field as I am making it in the table. Makes sense. Do you know how to limit my data input to 2014?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 15:40:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mid-and-Limit-in-the-Load-Script/m-p/1027593#M347170</guid>
      <dc:creator />
      <dc:date>2016-04-13T15:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Mid and Limit in the Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Mid-and-Limit-in-the-Load-Script/m-p/1027594#M347171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this as the where clause:&lt;/P&gt;&lt;P&gt;WHERE &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Mid(FiscalYearMonth,1,4) = '2014'; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 16:40:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mid-and-Limit-in-the-Load-Script/m-p/1027594#M347171</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-04-13T16:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Mid and Limit in the Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Mid-and-Limit-in-the-Load-Script/m-p/1027595#M347172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try like this (in the preceding load):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Where FiscalYear = 2014;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD AllOtherFields,&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;Mid(FiscalYearMonth,1,4) as FiscalYear&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;Mid(FiscalYearMonth,4,2) as Month&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM Source;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 17:03:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mid-and-Limit-in-the-Load-Script/m-p/1027595#M347172</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-13T17:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Mid and Limit in the Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Mid-and-Limit-in-the-Load-Script/m-p/1027596#M347173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD OtherField,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FiscalYearMonth,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mid(FiscalYearMonth,1,4) as FiscalYear,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mid(FiscalYearMonth&lt;STRONG&gt;,5,2&lt;/STRONG&gt;) as Month&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //shouldn't it be 5,2?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM YourTableSource&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;WHERE &lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;FiscalYearMonth LIKE '2016*';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 17:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mid-and-Limit-in-the-Load-Script/m-p/1027596#M347173</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-13T17:11:21Z</dc:date>
    </item>
  </channel>
</rss>

