<?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: Relaod Time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793038#M667806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jagan&lt;/P&gt;&lt;P&gt;could you share me the sample app&lt;/P&gt;&lt;P&gt;I could not execute your script. It is failing from my end&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Nov 2014 03:43:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-11-21T03:43:18Z</dc:date>
    <item>
      <title>Relaod Time</title>
      <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793021#M667789</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 am attaching the Sample app and go through it and&lt;/P&gt;&lt;P&gt;I need to have only 2014,2013 years data discarding other years data to reduce the reload time.&lt;/P&gt;&lt;P&gt;Suggestions on the same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 02:53:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793021#M667789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T02:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Relaod Time</title>
      <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793022#M667790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One query: in you source sheet do you get the year in the same way as rows merged?&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Chinna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 03:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793022#M667790</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T03:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Relaod Time</title>
      <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793023#M667791</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;Just add a WHERE clause to the LOAD. To filter for multiple values on the load the match() function is useful. Modify the script to the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Year, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quarter, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;where match(Year,2013,2014);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT.. i noticed this excel source has merged cells for year, making the load for year a little problematic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/71764_Capture.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I resolved it by calculating the Year from the quarter, otherwise qlikview was only loading one quarter per year with the above script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD left(Quarter,4) as Year, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quarter, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;where match(left(Quarter,4),2013,2014);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 03:14:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793023#M667791</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-11-21T03:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Relaod Time</title>
      <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793024#M667792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Generally I would advise that you load all data into QlikView if it all fits in memory. Without all data you will not be able to do business discovery on all your data, so in theory you might miss out on interesting facts and details by excluding data already during reload. Instead you can limit the data in your application presentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no way to apply a WHERE clause limiting the data load from file. That means that all data from the file is loaded to QlikView. You can add a WHERE clause in the LOAD statement to limit the number of rows that you want to keep in QlikView. The process time that you gain by that is the time and effort going in to putting the data in QlikView memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the LOAD statement you can add a WHERE clause after the source definition. The WHERE clause is a set of logical comparison deciding if rows are kept or not. For example like this;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14165396503715183" jivemacro_uid="_14165396503715183"&gt;
&lt;P&gt;LOAD Year, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quarter, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;
&lt;P&gt;WHERE Year &amp;lt;= 2014 &lt;/P&gt;
&lt;P&gt;&amp;nbsp; AND Year &amp;gt;= 2012&lt;/P&gt;
&lt;P&gt;&amp;nbsp; AND (Quarter = 'Q3' OR Quarter = 'Q4')&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 03:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793024#M667792</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2014-11-21T03:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Relaod Time</title>
      <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793025#M667793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) the merge is not there for convenience I made it&lt;/P&gt;&lt;P&gt;2) the years and Quarters we could not hard cord directly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 03:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793025#M667793</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T03:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Relaod Time</title>
      <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793026#M667794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you may use the attachd for dynamic year calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Chinna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 03:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793026#M667794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T03:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Relaod Time</title>
      <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793027#M667795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For a cleaner script I would suggest that you fill the blank lines with a filter operation. In the example below empty cells are replaced with the value from above cell, with the filters() defintion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_14165399462399550 jive_macro_code" jivemacro_uid="_14165399462399550" modifiedtitle="true"&gt;
&lt;P&gt;LOAD Year,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quarter,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;NEw.xlsx&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet1, &lt;STRONG&gt;filters(Replace(1, top, StrCnd(null))&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;));&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 03:20:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793027#M667795</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2014-11-21T03:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Relaod Time</title>
      <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793028#M667796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chinna,&lt;/P&gt;&lt;P&gt;Thnaks for the reply&lt;/P&gt;&lt;P&gt;1) Merge is for convenience factor not in real time data&lt;/P&gt;&lt;P&gt;2) I need the quarters (2012 Q4, 2012 Q3) as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you suigget me on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 03:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793028#M667796</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T03:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Relaod Time</title>
      <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793029#M667797</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quarter,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sheet1&lt;/SPAN&gt;, filters(&lt;/P&gt;&lt;P&gt;Replace(1, top, StrCnd(null))&lt;/P&gt;&lt;P&gt;))&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;where match(Year, Year(Today()), Year(Today()) - 1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Replace(1, top, StrCnd(null)) - Fills all empty Year values with previous row values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 03:23:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793029#M667797</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-11-21T03:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Relaod Time</title>
      <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793030#M667798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;Do you need the above quarters as static or your scenario will be always some thing like..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;current &amp;amp; Last year data + last 2 quarters of before last year?&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Chinna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 03:26:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793030#M667798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T03:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Relaod Time</title>
      <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793031#M667799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consider levering ODBC off Excel if you would like to retrieve only filtered records (rather than all and filter in qlik)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex below and attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [Test;DBQ=C:\Temp\Year.xlsx];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM `C:\Temp\Year.xlsx`.Year&lt;/P&gt;&lt;P&gt;where Year=2014 or Year=2013;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 03:29:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793031#M667799</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-11-21T03:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Relaod Time</title>
      <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793032#M667800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way to write&lt;/P&gt;&lt;P&gt;Max( Year),&lt;/P&gt;&lt;P&gt;Max(Year) -1&lt;/P&gt;&lt;P&gt;inside the Script in where condition?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 03:30:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793032#M667800</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T03:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Relaod Time</title>
      <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793033#M667801</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quarter,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;(ooxml, embedded labels, table is &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Sheet1&lt;/SPAN&gt;, filters(&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Replace(1, top, StrCnd(null))&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;))&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;where match(Year, Year(Today()), Year(Today()) - 1) OR&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;(Year = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Year(Today()) - 2 AND Match(Quarter, 'Q3', 'Q4'&lt;/SPAN&gt;))&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 03:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793033#M667801</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-11-21T03:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Relaod Time</title>
      <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793034#M667802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we cant hardcode the values of 2014 and 2013 values directly&lt;/P&gt;&lt;P&gt;it should be dynamic based on max and max -1&lt;/P&gt;&lt;P&gt;could you suggest on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 03:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793034#M667802</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T03:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Relaod Time</title>
      <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793035#M667803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;voila...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [Test;DBQ=C:\Temp\Year.xlsx];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//get max year from spreadsheet&lt;/P&gt;&lt;P&gt;Years:&lt;/P&gt;&lt;P&gt;LOAD max(Year) as Year;&lt;/P&gt;&lt;P&gt;SQL SELECT Year&lt;/P&gt;&lt;P&gt;FROM `C:\Temp\Year.xlsx`.Year;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//save the row retrieved above into a qlik variable&lt;/P&gt;&lt;P&gt;let vMaxYear=peek('Year',0,'Years');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table Years;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//pull all the data and filter for years leveraging the qlik variable defined above&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM `C:\Temp\Year.xlsx`.Year&lt;/P&gt;&lt;P&gt;where Year=$(vMaxYear) or Year=($(vMaxYear)-1);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 03:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793035#M667803</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-11-21T03:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Relaod Time</title>
      <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793036#M667804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out Jagan's solution is dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chinna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 03:36:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793036#M667804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T03:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Relaod Time</title>
      <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793037#M667805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Almost forgot&amp;nbsp; ,&amp;nbsp; f&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;f the spreadsheets are coming with merged cells for the Year column, then to address via SQL you can still calculate the years of the quarter field with a slight update (bolded below):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [Test;DBQ=C:\Temp\Year.xlsx];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Years:&lt;/P&gt;&lt;P&gt;LOAD max(Year) as Year;&lt;/P&gt;&lt;P&gt;SQL SELECT Year&lt;/P&gt;&lt;P&gt;FROM `C:\Temp\Year.xlsx`.Year;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vMaxYear=peek('Year',0,'Years');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table Years;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales;&lt;/P&gt;&lt;P&gt;SQL SELECT &lt;STRONG&gt;left(Quarter,4)&lt;/STRONG&gt; as Year,Quarter,Sales&lt;/P&gt;&lt;P&gt;FROM `C:\Temp\Year.xlsx`.Year&lt;/P&gt;&lt;P&gt;where Year=$(vMaxYear) or Year=($(vMaxYear)-1);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 03:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793037#M667805</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-11-21T03:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Relaod Time</title>
      <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793038#M667806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jagan&lt;/P&gt;&lt;P&gt;could you share me the sample app&lt;/P&gt;&lt;P&gt;I could not execute your script. It is failing from my end&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 03:43:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793038#M667806</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T03:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Relaod Time</title>
      <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793039#M667807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan for your time and approach&lt;/P&gt;&lt;P&gt;I pleased with the approach, but still thee is a small lag at Quarters part!! ( need Q4,Q3 of 2012 as well along with 2014,2013 years)&lt;/P&gt;&lt;P&gt;and data is not merged in Excel &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 03:47:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793039#M667807</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T03:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Relaod Time</title>
      <link>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793040#M667808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Updated with filters , missing Year values etc.. and attached&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [Test;DBQ=C:\Temp\Year.xlsx];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Years:&lt;/P&gt;&lt;P&gt;LOAD max(Year) as Year;&lt;/P&gt;&lt;P&gt;SQL SELECT Year&lt;/P&gt;&lt;P&gt;FROM `C:\Temp\Year.xlsx`.Year;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vMaxYear=peek('Year',0,'Years');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table Years;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales;&lt;/P&gt;&lt;P&gt;SQL SELECT left(Quarter,4) as Year,Quarter,Sales&lt;/P&gt;&lt;P&gt;FROM `C:\Temp\Year.xlsx`.Year&lt;/P&gt;&lt;P&gt;where left(Quarter,4)=$(vMaxYear) or left(Quarter,4)=($(vMaxYear)-1) or (left(Quarter,4)=($(vMaxYear)-2) and (right(Quarter,1)='4' or right(Quarter,1)='3'))&amp;nbsp; ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 03:54:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relaod-Time/m-p/793040#M667808</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-11-21T03:54:27Z</dc:date>
    </item>
  </channel>
</rss>

