<?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: Check 'Does the current selection contain XY'? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Check-Does-the-current-selection-contain-XY/m-p/461939#M485803</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could surround the values with some marker character:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #0000ff;"&gt;substringcount&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #0000ff;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #0000ff;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt; '~' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #800000;"&gt;Country &amp;amp; '~' &lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;,'|'),'~Austria~')=1,'yes','no')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Mar 2013 17:10:23 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-03-20T17:10:23Z</dc:date>
    <item>
      <title>Check 'Does the current selection contain XY'?</title>
      <link>https://community.qlik.com/t5/QlikView/Check-Does-the-current-selection-contain-XY/m-p/461938#M485802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to check whether the current selection contains any Austrian orders or not. Therefore I created a textbox with the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;substringcount&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Concat&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Country&lt;/SPAN&gt;,'|'),'Austria')=1,'yes','no') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that's not 100% safe. Let's assume there is a Country 'AustriaXYZ' ... my expression would return 'yes' -&amp;gt; which is wrong!&lt;/P&gt;&lt;P&gt;I guess there should be a better way ... Any suggestions?&lt;/P&gt;&lt;P&gt;Please find the attached sample qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="35227" class="jive-image" alt="1.jpg" src="https://community.qlik.com/legacyfs/online/35227_1.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 17:03:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-Does-the-current-selection-contain-XY/m-p/461938#M485802</guid>
      <dc:creator>pennetzdorfer</dc:creator>
      <dc:date>2013-03-20T17:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Check 'Does the current selection contain XY'?</title>
      <link>https://community.qlik.com/t5/QlikView/Check-Does-the-current-selection-contain-XY/m-p/461939#M485803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could surround the values with some marker character:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #0000ff;"&gt;substringcount&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #0000ff;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #0000ff;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt; '~' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #800000;"&gt;Country &amp;amp; '~' &lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;,'|'),'~Austria~')=1,'yes','no')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 17:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-Does-the-current-selection-contain-XY/m-p/461939#M485803</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-20T17:10:23Z</dc:date>
    </item>
  </channel>
</rss>

