<?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: How to perform exact match on concatenated string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515674#M481085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can be done if you keep both fields, the original for the list boxes, and a copy for concatenation:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Field,&lt;/P&gt;&lt;P&gt;Field &lt;STRONG&gt;&amp;amp; '_'&lt;/STRONG&gt; as Field2&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I know it is also not perfect)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Oct 2013 19:06:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-10-23T19:06:43Z</dc:date>
    <item>
      <title>How to perform exact match on concatenated string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515667#M481078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a scenario like the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;TESTING123&lt;/P&gt;&lt;P&gt;TESTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenated String:&lt;/P&gt;&lt;P&gt;TESTING123|TESTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I do a match in table for TESTING, I'm getting 2 items returned.&amp;nbsp; How can I make it so that my match ensures that the whole string matches and not something like a "contains"?&amp;nbsp; I can't really use match() because I'm actually looking in a concatenated string.&amp;nbsp; Also, I'll never know at what position my string exists.&amp;nbsp; Currently, I'm doing an Index(), but that's returning both strings, not just the 1 that I want.&amp;nbsp; Hope that makes sense.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 18:21:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515667#M481078</guid>
      <dc:creator />
      <dc:date>2013-10-23T18:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform exact match on concatenated string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515668#M481079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using match function? a listbox?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 18:23:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515668#M481079</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-10-23T18:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform exact match on concatenated string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515669#M481080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks familiar.&amp;nbsp; In situations like this, I avoid values that can be substrings of the other values.&amp;nbsp; Replace 'TESTING' with something like 'TESTING_'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 18:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515669#M481080</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-23T18:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform exact match on concatenated string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515670#M481081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wish I could, but I can't.   These values are coming from a database and we can't change the database beacuse of the impact that would have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my mobile device&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 18:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515670#M481081</guid>
      <dc:creator />
      <dc:date>2013-10-23T18:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform exact match on concatenated string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515671#M481082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry about that.&lt;/P&gt;&lt;P&gt;Still, there are always solutions.&amp;nbsp; In this particular case:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;if(Field='TESTING', 'TESTING_', Field) as Field&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;SELECT...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or maybe add a character at the end of each value, it is more reliable, reduces chances to have values which are substrings of the other values:&lt;/P&gt;&lt;P&gt;Field &lt;STRONG&gt;&amp;amp; '_'&lt;/STRONG&gt; as Field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 18:57:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515671#M481082</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-23T18:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform exact match on concatenated string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515672#M481083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Though not very clear about the exact requirement, you might want to have a look at &lt;STRONG&gt;FindOneOf()&lt;/STRONG&gt; function which gives you the position of the matched string for n'th occurance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 18:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515672#M481083</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-10-23T18:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform exact match on concatenated string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515673#M481084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But then won't my listboxes have the additional character as well for those selections?   That's not an acceptable solution if so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my mobile device&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 19:03:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515673#M481084</guid>
      <dc:creator />
      <dc:date>2013-10-23T19:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform exact match on concatenated string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515674#M481085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can be done if you keep both fields, the original for the list boxes, and a copy for concatenation:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Field,&lt;/P&gt;&lt;P&gt;Field &lt;STRONG&gt;&amp;amp; '_'&lt;/STRONG&gt; as Field2&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I know it is also not perfect)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 19:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515674#M481085</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-23T19:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform exact match on concatenated string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515675#M481086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe a little trick can do what you want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=index(Concat(F1&amp;amp;'|'),'Testing'&amp;amp;'|')&amp;nbsp; only return 12 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13825571152772412" jivemacro_uid="_13825571152772412"&gt;
&lt;P&gt;Table:&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Testing&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Test&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Testing123&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 19:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515675#M481086</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-10-23T19:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform exact match on concatenated string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515676#M481087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of adding "suffix" in the script, you're adding it right there in expression.&lt;/P&gt;&lt;P&gt;Looks reasonable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 19:58:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515676#M481087</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-23T19:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform exact match on concatenated string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515677#M481088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/3931"&gt;Michael Solomovich&lt;/A&gt; it´s a great honor receive a reply from you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. You´re one of my "QHeroes"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 20:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515677#M481088</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-10-23T20:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform exact match on concatenated string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515678#M481089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 20:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515678#M481089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-23T20:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform exact match on concatenated string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515679#M481090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK this was definitely one of those "why didn't I think of that" scenarios!&amp;nbsp; I'm already doing the Index and the Concat so I'll just add my delimiter to the end of my search string.&amp;nbsp; And I'll say it again - why didn't I think of that?!&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks as always!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 12:18:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515679#M481090</guid>
      <dc:creator />
      <dc:date>2013-10-24T12:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform exact match on concatenated string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515680#M481091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've noticed one fallout on this... what if I've only made 1 selection?&amp;nbsp; So the concat I'm doing is on the list of selections made from a listbox.&amp;nbsp; If there's only 1 selection, there will be no delimiter added to the concat and therefore I cannot search on the string plus the delimiter.&amp;nbsp; Also, no matter the number of selections, the last one in the list is not being found because it also has no delimiter trailing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 12:38:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515680#M481091</guid>
      <dc:creator />
      <dc:date>2013-10-24T12:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform exact match on concatenated string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515681#M481092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please note that I didn´t use '|' as a separator to Concat, but concatenated to field, so the '|' is always there&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 12:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515681#M481092</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-10-24T12:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform exact match on concatenated string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515682#M481093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oohhhh!!&amp;nbsp; I see that now, thanks for pointing out the difference!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 12:55:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-perform-exact-match-on-concatenated-string/m-p/515682#M481093</guid>
      <dc:creator />
      <dc:date>2013-10-24T12:55:31Z</dc:date>
    </item>
  </channel>
</rss>

