<?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: Using xls file in 'Where Match' script function. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-xls-file-in-Where-Match-script-function/m-p/1782273#M1209625</link>
    <description>&lt;P&gt;Yes&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;, that's better, I don't know why I went the other way.&lt;/P&gt;&lt;P&gt;In fact I usually do an optimized exists load on fact tables to reduce data volume as you taught me a few years ago.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Feb 2021 11:48:42 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2021-02-12T11:48:42Z</dc:date>
    <item>
      <title>Using xls file in 'Where Match' script function.</title>
      <link>https://community.qlik.com/t5/QlikView/Using-xls-file-in-Where-Match-script-function/m-p/1781969#M1209573</link>
      <description>&lt;P&gt;Hi team let me explain the scenario.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Below is my present logic--&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;YW4,&lt;BR /&gt;NAME,&amp;nbsp;&lt;BR /&gt;Applymap('ABC_status',[ABC Status]) as [ABC Status]&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;$(vSupplyingPresentation)ABC\ABC_BASELOAD.qvd (qvd)&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;where match ([ABC Status],&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;'AA',&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;'AB',&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;'AC',&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;'AD'&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Below is the proposed logic--&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;instead of using&lt;/P&gt;&lt;P&gt;'AA',&lt;BR /&gt;'AB',&lt;BR /&gt;'AC',&lt;BR /&gt;'AD' as text in the script, we need to put them in one excel &lt;STRONG&gt;(path\ABC.xls)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gaurab_basu_0-1613046332738.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/48912iE5FFE59D1E2A8A64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gaurab_basu_0-1613046332738.png" alt="gaurab_basu_0-1613046332738.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and use .xls in the script.&lt;/P&gt;&lt;P&gt;Can anyone please help me here with how to achieve this APPROACH?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6543"&gt;@Peter_Cammaert&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 14:33:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-xls-file-in-Where-Match-script-function/m-p/1781969#M1209573</guid>
      <dc:creator>Architect</dc:creator>
      <dc:date>2021-02-11T14:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using xls file in 'Where Match' script function.</title>
      <link>https://community.qlik.com/t5/QlikView/Using-xls-file-in-Where-Match-script-function/m-p/1782206#M1209612</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/95145"&gt;@Architect&lt;/a&gt;, you can merge all values using Cocnat(), store in a variable, and use this variable on Match, like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;// Merge all values in one row
tmpMatchStatus :
LOAD Chr(39) &amp;amp; Concat(STATUS, Chr(39) &amp;amp;','&amp;amp; Chr(39)) &amp;amp; Chr(39) as MatchStatus From [excelFile];

// Store merged value ina  variable
LET vMatchValues=Peek('MatchStatus ',0,'tmpMatchStatus');

// Use variable on Match
Data:
LOAD ...
Where Match(STATUS, $(vMatchValues));

DROP Table tmpMatchStatus;&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 12 Feb 2021 07:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-xls-file-in-Where-Match-script-function/m-p/1782206#M1209612</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-02-12T07:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using xls file in 'Where Match' script function.</title>
      <link>https://community.qlik.com/t5/QlikView/Using-xls-file-in-Where-Match-script-function/m-p/1782228#M1209617</link>
      <description>&lt;P&gt;An easier approach may be the following:&lt;/P&gt;&lt;P&gt;load Status as&amp;nbsp;[ABC Status] from&amp;nbsp;&lt;STRONG&gt;path\ABC.xls (biff, ...);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;YW4,&lt;BR /&gt;NAME,&amp;nbsp;&lt;BR /&gt;Applymap('ABC_status',[ABC Status]) as [ABC Status]&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;$(vSupplyingPresentation)ABC\ABC_BASELOAD.qvd (qvd)&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;where exists([ABC Status]&lt;/EM&gt;);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 09:31:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-xls-file-in-Where-Match-script-function/m-p/1782228#M1209617</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-02-12T09:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using xls file in 'Where Match' script function.</title>
      <link>https://community.qlik.com/t5/QlikView/Using-xls-file-in-Where-Match-script-function/m-p/1782248#M1209621</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;thank you for the suggestion.&lt;/P&gt;&lt;P&gt;Much appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 10:24:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-xls-file-in-Where-Match-script-function/m-p/1782248#M1209621</guid>
      <dc:creator>Architect</dc:creator>
      <dc:date>2021-02-12T10:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using xls file in 'Where Match' script function.</title>
      <link>https://community.qlik.com/t5/QlikView/Using-xls-file-in-Where-Match-script-function/m-p/1782273#M1209625</link>
      <description>&lt;P&gt;Yes&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;, that's better, I don't know why I went the other way.&lt;/P&gt;&lt;P&gt;In fact I usually do an optimized exists load on fact tables to reduce data volume as you taught me a few years ago.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 11:48:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-xls-file-in-Where-Match-script-function/m-p/1782273#M1209625</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-02-12T11:48:42Z</dc:date>
    </item>
  </channel>
</rss>

