<?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: Compare Data in Load Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-Data-in-Load-Script/m-p/976113#M959593</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;Thanks for suggestion. FYI, I load the data from the DataSource not from the existing QVD.&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;Load *&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from &lt;EM&gt;datasource&lt;/EM&gt; where wildmatch(YearMonth, $(FileLoad))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to get again the deleted data from the datasource. QVD for&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; Data_201503 and Data_201504 already deleted.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Oct 2015 02:38:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-28T02:38:25Z</dc:date>
    <item>
      <title>Compare Data in Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-Data-in-Load-Script/m-p/976111#M959591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I have a question,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a folder contain qvd for each data per month, for illustration is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data_201501.qvd&lt;/P&gt;&lt;P&gt;Data_201502.qvd&lt;/P&gt;&lt;P&gt;Data_201505.qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the example above, we can see that there is two deleted qvd (Data_201503.qvd , Data_201504.qvd). My goal is to reload and recover the deleted qvd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have find the way to get the deleted qvd by compare it with the calendar table and put the missing YearMonth into variable, let's say the varible name is FileLoad. Varible FileLoad has a data like this 201503, 201504&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At last I want to load the deleted qvd from the data source and store it into qvd, the problem is how can i load only the 201503 and 201504 value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've try using WILDMATCH like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;from datasource where wildmatch(YearMonth, $(FileLoad))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the performance is too bad and really slow. The question is are there another method to load script and compare with variable without using WILDMATCH function ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really need your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 01:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-Data-in-Load-Script/m-p/976111#M959591</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-28T01:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Compare Data in Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-Data-in-Load-Script/m-p/976112#M959592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lejours,&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14459974292223837 jive_text_macro" jivemacro_uid="_14459974292223837" modifiedtitle="true"&gt;
&lt;P&gt;Set FileLoad = '201503,201504';&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;For Each File IN $(FileLoad)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;MyData:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Load *&lt;/P&gt;
&lt;P&gt;from Data_$(File).qvd(qvd);&lt;/P&gt;
&lt;P&gt;NEXT File&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Store Data Into &lt;D&gt;;&lt;/D&gt;&lt;/P&gt;




&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 01:56:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-Data-in-Load-Script/m-p/976112#M959592</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-10-28T01:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Compare Data in Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-Data-in-Load-Script/m-p/976113#M959593</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;Thanks for suggestion. FYI, I load the data from the DataSource not from the existing QVD.&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;Load *&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from &lt;EM&gt;datasource&lt;/EM&gt; where wildmatch(YearMonth, $(FileLoad))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to get again the deleted data from the datasource. QVD for&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; Data_201503 and Data_201504 already deleted.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 02:38:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-Data-in-Load-Script/m-p/976113#M959593</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-28T02:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Compare Data in Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-Data-in-Load-Script/m-p/976114#M959594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this,&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14460004677907621 jive_text_macro" jivemacro_uid="_14460004677907621" modifiedtitle="true"&gt;
&lt;P&gt;Set FileLoad = '201503,201504';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;FOR Each File IN $(FileLoad)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;MyData:&lt;/P&gt;
&lt;P&gt;Load *&lt;/P&gt;
&lt;P&gt;From Datasource Where YearMonth = '$(File)';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Store MyData into [Data_$(File).qvd (qvd)];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Next File&lt;/P&gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 02:48:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-Data-in-Load-Script/m-p/976114#M959594</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-10-28T02:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Compare Data in Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-Data-in-Load-Script/m-p/976115#M959595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thanks for idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will be faster than using wildmatch,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 04:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-Data-in-Load-Script/m-p/976115#M959595</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-28T04:14:32Z</dc:date>
    </item>
  </channel>
</rss>

