<?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: Expression Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/469010#M490698</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you mention like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(len(concat( if(wildmatch(vFound,'*'&amp;amp;subfield(vItemNum,' ',ValueLoop(1,vAnum,1))&amp;amp;'*'),NULL(),subfield(vItemNum,' ',ValueLoop(1,vAnum,1)) ) ,',')) &amp;gt; 0,'All Values are found', 'Error message')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For comma separate, use like is&lt;/P&gt;&lt;P&gt;concat( if(wildmatch(vFound,'*'&amp;amp;subfield(vItemNum,' ',ValueLoop(1,vAnum,1))&amp;amp;'*'),NULL(),subfield(vItemNum,' ',ValueLoop(1,vAnum,1)) ) ,',')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Oct 2012 22:48:17 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2012-10-04T22:48:17Z</dc:date>
    <item>
      <title>Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/469009#M490697</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;&lt;/P&gt;&lt;P&gt;I have a text box that contains the following and works great:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;='The following item(s) could not be found: ' &amp;amp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;concat&lt;/SPAN&gt;( &lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;wildmatch&lt;/SPAN&gt;(&lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;vFound&lt;/EM&gt;&lt;/STRONG&gt;,'*'&amp;amp;&lt;SPAN style="color: #0000ff;"&gt;subfield&lt;/SPAN&gt;(&lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;vItemNum&lt;/EM&gt;&lt;/STRONG&gt;,' ',&lt;SPAN style="color: #0000ff;"&gt;ValueLoop&lt;/SPAN&gt;(1,&lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;vAnum&lt;/EM&gt;&lt;/STRONG&gt;,1))&amp;amp;'*'),&lt;SPAN style="color: #0000ff;"&gt;NULL&lt;/SPAN&gt;(),&lt;SPAN style="color: #0000ff;"&gt;subfield&lt;/SPAN&gt;(&lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;vItemNum&lt;/EM&gt;&lt;/STRONG&gt;,' ',&lt;SPAN style="color: #0000ff;"&gt;ValueLoop&lt;/SPAN&gt;(1,&lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;vAnum&lt;/EM&gt;&lt;/STRONG&gt;,1)) ) ,'&amp;nbsp; ')&amp;amp;' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user enters a value in the Input Box, it loops through the values and determines if the record exists or not.&amp;nbsp; It was meant to be only an error message if a record was not found.&amp;nbsp; However, now I need it to display 'All values requested were found in the data set.' if the value is null. I tried an IF statement and kept getting an Error in Expression message. Can anyone figure out what the expression should be?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I would like it to now use commas instead of spaces. The text box currently looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="22968" class="jive-image" alt="Capture.JPG" src="https://community.qlik.com/legacyfs/online/22968_Capture.JPG" /&gt;&lt;/P&gt;&lt;P&gt;I want it to say "The following item(s) could not be found: 123456789, 987654321"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help everyone!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 21:24:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/469009#M490697</guid>
      <dc:creator />
      <dc:date>2012-10-04T21:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/469010#M490698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you mention like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(len(concat( if(wildmatch(vFound,'*'&amp;amp;subfield(vItemNum,' ',ValueLoop(1,vAnum,1))&amp;amp;'*'),NULL(),subfield(vItemNum,' ',ValueLoop(1,vAnum,1)) ) ,',')) &amp;gt; 0,'All Values are found', 'Error message')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For comma separate, use like is&lt;/P&gt;&lt;P&gt;concat( if(wildmatch(vFound,'*'&amp;amp;subfield(vItemNum,' ',ValueLoop(1,vAnum,1))&amp;amp;'*'),NULL(),subfield(vItemNum,' ',ValueLoop(1,vAnum,1)) ) ,',')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 22:48:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Help/m-p/469010#M490698</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-10-04T22:48:17Z</dc:date>
    </item>
  </channel>
</rss>

