<?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 getfieldselections with wildcard in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/getfieldselections-with-wildcard/m-p/223858#M76330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Using the getfieldselections function how can I combine it with a wildcard? For example:&lt;/P&gt;&lt;P&gt;getfieldselections(VIEW) = 'Year-1'&lt;/P&gt;&lt;P&gt;so I need to use the wildcard to search the text string so that when more than one selection is made from VIEW, TRUE is returned providing Year-1 is one of the selections. I tried this:&lt;/P&gt;&lt;P&gt;getfieldselections(VIEW) = *'Year-1'* but it didn't work.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;Many thanks as always.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jul 2010 10:49:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-07-15T10:49:11Z</dc:date>
    <item>
      <title>getfieldselections with wildcard</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-with-wildcard/m-p/223858#M76330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Using the getfieldselections function how can I combine it with a wildcard? For example:&lt;/P&gt;&lt;P&gt;getfieldselections(VIEW) = 'Year-1'&lt;/P&gt;&lt;P&gt;so I need to use the wildcard to search the text string so that when more than one selection is made from VIEW, TRUE is returned providing Year-1 is one of the selections. I tried this:&lt;/P&gt;&lt;P&gt;getfieldselections(VIEW) = *'Year-1'* but it didn't work.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;Many thanks as always.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 10:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-with-wildcard/m-p/223858#M76330</guid>
      <dc:creator />
      <dc:date>2010-07-15T10:49:11Z</dc:date>
    </item>
    <item>
      <title>getfieldselections with wildcard</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-with-wildcard/m-p/223859#M76331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Use "LIKE" keyword when using wildcards as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(GetFieldSelections(VIEW) LIKE '*ear*', 'Found', 'Not Found')&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This should work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 12:19:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-with-wildcard/m-p/223859#M76331</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-07-15T12:19:58Z</dc:date>
    </item>
    <item>
      <title>getfieldselections with wildcard</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-with-wildcard/m-p/223860#M76332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it works. Thanks.&lt;/P&gt;&lt;P&gt;I also found another solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(SUBSTRINGCOUNT(GETFIELDSELECTIONS(View,''), 'Year-1') &amp;gt;0, 'Found', 'Not Found')&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 14:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-with-wildcard/m-p/223860#M76332</guid>
      <dc:creator />
      <dc:date>2010-07-15T14:52:58Z</dc:date>
    </item>
  </channel>
</rss>

