<?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: Mixmatch - Use function against a table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mixmatch-Use-function-against-a-table/m-p/720774#M1070437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With the help of a variable it should be possible. Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TmpLookup:&lt;/P&gt;&lt;P&gt;LOAD concat(chr(39) &amp;amp; Month &amp;amp; chr(39), ',') as LookUpList&lt;/P&gt;&lt;P&gt;FROM &lt;EM&gt;...excel_file_here...&lt;/EM&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vLookupList = peek('LookUpList');&lt;/P&gt;&lt;P&gt;DROP table TmpLookup;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD ...some_fields...,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(MixMatch(Month, $(vLookUpList)), 'Y','N') as Summer&lt;/P&gt;&lt;P&gt;FROM &lt;EM&gt;...source_here...&lt;/EM&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Aug 2014 10:35:25 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-08-21T10:35:25Z</dc:date>
    <item>
      <title>Mixmatch - Use function against a table</title>
      <link>https://community.qlik.com/t5/QlikView/Mixmatch-Use-function-against-a-table/m-p/720773#M1070435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a list of values that I need to run the mixmatch function against. At the moment this isn't a problem as the list is static but this will change in the future. What I would like to do is store all possible values in an excel file and give the end user access to this file so that they can amend the list when required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, is it possible to run the mixmatch function against a table and if so, how is this done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;EXAMPLE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Current Function:&lt;/P&gt;&lt;P&gt;IF(MIXMATCH(Month, 'June', 'July', 'August'), 'Y', 'N') AS Summer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Desired Function:&lt;/P&gt;&lt;P&gt;IF(MIXMATCH(Month, &lt;STRONG&gt;[INSERT TABLE LOOKUP HERE]&lt;/STRONG&gt;), 'Y', 'N') AS Summer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 10:29:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mixmatch-Use-function-against-a-table/m-p/720773#M1070435</guid>
      <dc:creator />
      <dc:date>2014-08-21T10:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Mixmatch - Use function against a table</title>
      <link>https://community.qlik.com/t5/QlikView/Mixmatch-Use-function-against-a-table/m-p/720774#M1070437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With the help of a variable it should be possible. Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TmpLookup:&lt;/P&gt;&lt;P&gt;LOAD concat(chr(39) &amp;amp; Month &amp;amp; chr(39), ',') as LookUpList&lt;/P&gt;&lt;P&gt;FROM &lt;EM&gt;...excel_file_here...&lt;/EM&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vLookupList = peek('LookUpList');&lt;/P&gt;&lt;P&gt;DROP table TmpLookup;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD ...some_fields...,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(MixMatch(Month, $(vLookUpList)), 'Y','N') as Summer&lt;/P&gt;&lt;P&gt;FROM &lt;EM&gt;...source_here...&lt;/EM&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 10:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mixmatch-Use-function-against-a-table/m-p/720774#M1070437</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-08-21T10:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Mixmatch - Use function against a table</title>
      <link>https://community.qlik.com/t5/QlikView/Mixmatch-Use-function-against-a-table/m-p/720775#M1070439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Excellent, thanks Gysbert, the solution worked perfectly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 11:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mixmatch-Use-function-against-a-table/m-p/720775#M1070439</guid>
      <dc:creator />
      <dc:date>2014-08-21T11:05:39Z</dc:date>
    </item>
  </channel>
</rss>

