<?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: Load selective data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-selective-data/m-p/1180895#M382754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Moderators, can you please approve this so that we can have replies on it??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Sep 2016 08:06:35 GMT</pubDate>
    <dc:creator>sarbnyota001</dc:creator>
    <dc:date>2016-09-25T08:06:35Z</dc:date>
    <item>
      <title>Load selective data</title>
      <link>https://community.qlik.com/t5/QlikView/Load-selective-data/m-p/1180891#M382750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wonder if you can help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to load data but only for last 10 years. I cant figure out what am i doing wrong here. Can you please help out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last10Years:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Year("Date") as [Year],&lt;/P&gt;&lt;P&gt;1 AS Flag_Last10years&lt;/P&gt;&lt;P&gt;FROM [$(vDataFolder)DAT_FileData\Data Folder\GBP Data.xlsx]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (ooxml, embedded labels, header is 3 lines, table is GBP)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Where Year("Date") &amp;gt;= Max(Year("Date")) -10&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Sep 2016 11:21:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-selective-data/m-p/1180891#M382750</guid>
      <dc:creator>sarbnyota001</dc:creator>
      <dc:date>2016-09-24T11:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Load selective data</title>
      <link>https://community.qlik.com/t5/QlikView/Load-selective-data/m-p/1180892#M382751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be something 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;Last10Years:&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 Year("Date") as [Year],&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; 1 as Flag_Last10years&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;FROM [$(vDataFolder)DAT_FileData\Data Folder\GBP Data.xlsx]&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;(ooxml, embedded labels, header is 3 lines, table is GBP);&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 style="color: #ff0000;"&gt;Right Join (Last10Years)&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;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;LOAD Max(Year) - 11 + IterNo() as Year&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Resident &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Last10Years&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #ff0000;"&gt;Where IterNo() &amp;lt;= 10;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Sep 2016 20:31:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-selective-data/m-p/1180892#M382751</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-24T20:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Load selective data</title>
      <link>https://community.qlik.com/t5/QlikView/Load-selective-data/m-p/1180893#M382752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That doesnt work, only brings in one year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the qvw file. See if you can fix it on there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to load data for all years, then in my expressions i have to use last 20, 15, 10,5 years separately. i.e there will a chart showing last 15 years, another chart showing 10 years and so on. I want to load each of them separately so that in my set analysis i can use rowno() rather than hardcoding them to a year else end user will have to change it every year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you help on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Sep 2016 22:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-selective-data/m-p/1180893#M382752</guid>
      <dc:creator>sarbnyota001</dc:creator>
      <dc:date>2016-09-24T22:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Load selective data</title>
      <link>https://community.qlik.com/t5/QlikView/Load-selective-data/m-p/1180894#M382753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You can use the following filter condition,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Date&amp;gt;=YearStart(Today(),-10);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give your last 10 years data based on calendar date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached QVW for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds&lt;/P&gt;&lt;P&gt;Harish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Sep 2016 06:48:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-selective-data/m-p/1180894#M382753</guid>
      <dc:creator>harishkumarg</dc:creator>
      <dc:date>2016-09-25T06:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Load selective data</title>
      <link>https://community.qlik.com/t5/QlikView/Load-selective-data/m-p/1180895#M382754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Moderators, can you please approve this so that we can have replies on it??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Sep 2016 08:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-selective-data/m-p/1180895#M382754</guid>
      <dc:creator>sarbnyota001</dc:creator>
      <dc:date>2016-09-25T08:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Load selective data</title>
      <link>https://community.qlik.com/t5/QlikView/Load-selective-data/m-p/1180896#M382755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;If&lt;/STRONG&gt; the "last year" is &lt;STRONG&gt;always&lt;/STRONG&gt; the current calendar year, you can use year(today()), and the second load is not needed:&lt;/P&gt;&lt;P&gt;WHERE y&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ear("Date") &amp;gt;= &lt;SPAN style="font-size: 13.3333px;"&gt;year(today())&lt;/SPAN&gt; -10&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 13:39:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-selective-data/m-p/1180896#M382755</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-26T13:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Load selective data</title>
      <link>https://community.qlik.com/t5/QlikView/Load-selective-data/m-p/1180897#M382756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Right Join (AllYears)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD MaxYear - 11 + IterNo() as Year,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Iterno() as LineID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;While&lt;/SPAN&gt; IterNo() &amp;lt;= 10;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Max(Year) as MaxYear&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident AllYears;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 15:56:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-selective-data/m-p/1180897#M382756</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-26T15:56:49Z</dc:date>
    </item>
  </channel>
</rss>

