<?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 selectMatch() for more than one value in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/selectMatch-for-more-than-one-value/m-p/909825#M3198</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone have experience using the selectMatch() function for selecting more than one value in a Qlik Sense mashup?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to select more that one year and I've tired these statements without any luck:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;app.field("[Year]").selectMatch("20102011", false);&lt;/P&gt;&lt;P&gt;app.field("[&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Year&lt;/SPAN&gt;]").selectMatch("2010 2011", false);&lt;/P&gt;&lt;P&gt;app.field("[&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Year&lt;/SPAN&gt;]").selectMatch("2010|2011", false);&lt;/P&gt;&lt;P&gt;app.field("[&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Year&lt;/SPAN&gt;]").selectMatch("2010,2011", false);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Aug 2015 10:02:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-04T10:02:09Z</dc:date>
    <item>
      <title>selectMatch() for more than one value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/selectMatch-for-more-than-one-value/m-p/909825#M3198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone have experience using the selectMatch() function for selecting more than one value in a Qlik Sense mashup?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to select more that one year and I've tired these statements without any luck:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;app.field("[Year]").selectMatch("20102011", false);&lt;/P&gt;&lt;P&gt;app.field("[&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Year&lt;/SPAN&gt;]").selectMatch("2010 2011", false);&lt;/P&gt;&lt;P&gt;app.field("[&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Year&lt;/SPAN&gt;]").selectMatch("2010|2011", false);&lt;/P&gt;&lt;P&gt;app.field("[&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Year&lt;/SPAN&gt;]").selectMatch("2010,2011", false);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 10:02:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/selectMatch-for-more-than-one-value/m-p/909825#M3198</guid>
      <dc:creator />
      <dc:date>2015-08-04T10:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: selectMatch() for more than one value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/selectMatch-for-more-than-one-value/m-p/909826#M3199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SelectMatch performs a field search so normal search syntax in QS applies. In your case it would look like,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;app.field("[Year]").selectMatch("2010 or 2011", false);&lt;BR /&gt;&lt;BR /&gt;But I would recommend that you use app.field.selectValues instead which takes an array of either ElemNumbers or strings. In your case it would be something like,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;app.field("[Year]").selectValues([{&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;qText: '2010'&lt;/SPAN&gt;}, {qText: '2011'}], true, true);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 12:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/selectMatch-for-more-than-one-value/m-p/909826#M3199</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2015-08-04T12:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: selectMatch() for more than one value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/selectMatch-for-more-than-one-value/m-p/909827#M3200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ops the search syntax for selectMatch should probably be more closer to app.field("[Year]").selectMatch("=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;[Year]&lt;/SPAN&gt; = '2010' OR &lt;SPAN style="font-size: 13.3333330154419px;"&gt;[Year]&lt;/SPAN&gt; = '2011'")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 12:05:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/selectMatch-for-more-than-one-value/m-p/909827#M3200</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2015-08-04T12:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: selectMatch() for more than one value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/selectMatch-for-more-than-one-value/m-p/909828#M3201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Alexander&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I gave up on the SelectMatch and went with the SelectValues instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 14:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/selectMatch-for-more-than-one-value/m-p/909828#M3201</guid>
      <dc:creator />
      <dc:date>2015-08-04T14:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: selectMatch() for more than one value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/selectMatch-for-more-than-one-value/m-p/1838605#M15609</link>
      <description>&lt;P&gt;... or selectMatch("&amp;gt;=2010&amp;lt;=2011")&lt;/P&gt;&lt;P&gt;... or selectMatch('=MyVariable'), where MyVariable has the following definition:&amp;nbsp;='"&amp;gt;=$(=date(vMyDate))"'&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 09:28:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/selectMatch-for-more-than-one-value/m-p/1838605#M15609</guid>
      <dc:creator>Tooor</dc:creator>
      <dc:date>2021-09-23T09:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: selectMatch() for more than one value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/selectMatch-for-more-than-one-value/m-p/1946891#M16970</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/113"&gt;@Alexander_Thor&lt;/a&gt;&amp;nbsp;,&amp;nbsp; can you please help on this&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Integration-Extension-APIs/How-To-pass-values-in-field-based-on-condition-in-selectMatch/m-p/1946671#M16967" target="_blank"&gt;https://community.qlik.com/t5/Integration-Extension-APIs/How-To-pass-values-in-field-based-on-condition-in-selectMatch/m-p/1946671#M16967&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 14:03:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/selectMatch-for-more-than-one-value/m-p/1946891#M16970</guid>
      <dc:creator>Qlik1_User1</dc:creator>
      <dc:date>2022-06-22T14:03:56Z</dc:date>
    </item>
  </channel>
</rss>

