<?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: Search for whole Word in GetFieldSelections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Search-for-whole-Word-in-GetFieldSelections/m-p/2014739#M1221875</link>
    <description>&lt;P&gt;Hi Marcus,&lt;/P&gt;
&lt;P&gt;thanks for your quick answer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes i thought about this solution also, but now i got it worked myself with this formula:&lt;/P&gt;
&lt;P&gt;substringcount(chr(33)&amp;amp;GetFieldSelections(DIM,Chr(33)&amp;amp;','&amp;amp;chr(33),50)&amp;amp;chr(33),'!WG')=1&lt;/P&gt;</description>
    <pubDate>Fri, 09 Dec 2022 11:44:30 GMT</pubDate>
    <dc:creator>wunderch</dc:creator>
    <dc:date>2022-12-09T11:44:30Z</dc:date>
    <item>
      <title>Search for whole Word in GetFieldSelections</title>
      <link>https://community.qlik.com/t5/QlikView/Search-for-whole-Word-in-GetFieldSelections/m-p/2014666#M1221872</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;
&lt;P&gt;I have the following problem:&lt;/P&gt;
&lt;P&gt;I have a listbox (DIM) with about 30 values, for example 'WPOO', 'HWGR', 'UWGR', 'WG'.&lt;/P&gt;
&lt;P&gt;I want to display a dimension in a chart only if the value in the listbox is selected.&lt;/P&gt;
&lt;P&gt;So for the dimension "HWGR" i have tried it with&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=substringcount(Chr(39) &amp;amp; GetFieldSelections(DIM,Chr(39)&amp;amp;','&amp;amp;Chr(39),30) &amp;amp; Chr(39),'HWGR')=1&lt;/P&gt;
&lt;P&gt;That works, my problem is, if i do this for "WG" with&lt;/P&gt;
&lt;P&gt;=substringcount(Chr(39) &amp;amp; GetFieldSelections(DIM,Chr(39)&amp;amp;','&amp;amp;Chr(39),30) &amp;amp; Chr(39),'WG')=1&lt;/P&gt;
&lt;P&gt;the dimension "WG" is shown, even if only "HWGR" is selected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a chance to do this, for example with match or wildmatch?&lt;/P&gt;
&lt;P&gt;Thanks for your answers!&lt;/P&gt;
&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 08:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-for-whole-Word-in-GetFieldSelections/m-p/2014666#M1221872</guid>
      <dc:creator>wunderch</dc:creator>
      <dc:date>2022-12-09T08:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Search for whole Word in GetFieldSelections</title>
      <link>https://community.qlik.com/t5/QlikView/Search-for-whole-Word-in-GetFieldSelections/m-p/2014737#M1221874</link>
      <description>&lt;P&gt;You may simplify your approach by using a numeric comparison. Means each dim-value get a number, for example with a dual(string, number) or as an extra field created with recno(), rowno(), autonumber() or further methods. And then the comparison may look like: max(Dim) = 5&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 11:38:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-for-whole-Word-in-GetFieldSelections/m-p/2014737#M1221874</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-12-09T11:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Search for whole Word in GetFieldSelections</title>
      <link>https://community.qlik.com/t5/QlikView/Search-for-whole-Word-in-GetFieldSelections/m-p/2014739#M1221875</link>
      <description>&lt;P&gt;Hi Marcus,&lt;/P&gt;
&lt;P&gt;thanks for your quick answer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes i thought about this solution also, but now i got it worked myself with this formula:&lt;/P&gt;
&lt;P&gt;substringcount(chr(33)&amp;amp;GetFieldSelections(DIM,Chr(33)&amp;amp;','&amp;amp;chr(33),50)&amp;amp;chr(33),'!WG')=1&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 11:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-for-whole-Word-in-GetFieldSelections/m-p/2014739#M1221875</guid>
      <dc:creator>wunderch</dc:creator>
      <dc:date>2022-12-09T11:44:30Z</dc:date>
    </item>
  </channel>
</rss>

