<?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 if a field value is in all the posibilities of other field. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Check-if-a-field-value-is-in-all-the-posibilities-of-other-field/m-p/514371#M1136470</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;I would do sth like:&lt;/P&gt;&lt;P&gt;if(mixmatch(concat({1} V1, '|')&amp;nbsp; &amp;amp; '|', V2&amp;amp; '|')&amp;gt;0, id1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I create a character set with concat. If V2 is in this set (I add a pipe to be sure that there is no inclusion of text that would return false values, mixmatch returns sth &amp;gt; 0.&lt;/P&gt;&lt;P&gt;{1} to get all values&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Oct 2013 15:25:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-04T15:25:14Z</dc:date>
    <item>
      <title>Check if a field value is in all the posibilities of other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-a-field-value-is-in-all-the-posibilities-of-other-field/m-p/514370#M1136469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do it to have something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1:&lt;/P&gt;&lt;P&gt;Id1,&lt;/P&gt;&lt;P&gt;V1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2;&lt;/P&gt;&lt;P&gt;Id1,&lt;/P&gt;&lt;P&gt;V2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want a expresion that for the second table return me the rows in Table 2 where V2 is in the set of availables V1.&lt;/P&gt;&lt;P&gt;(V1 and V2 are same typo of data but I don't want a relation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= If ( V2 IN (V1), Id1);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 15:14:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-a-field-value-is-in-all-the-posibilities-of-other-field/m-p/514370#M1136469</guid>
      <dc:creator>gines_rueda</dc:creator>
      <dc:date>2013-10-04T15:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Check if a field value is in all the posibilities of other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-a-field-value-is-in-all-the-posibilities-of-other-field/m-p/514371#M1136470</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;I would do sth like:&lt;/P&gt;&lt;P&gt;if(mixmatch(concat({1} V1, '|')&amp;nbsp; &amp;amp; '|', V2&amp;amp; '|')&amp;gt;0, id1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I create a character set with concat. If V2 is in this set (I add a pipe to be sure that there is no inclusion of text that would return false values, mixmatch returns sth &amp;gt; 0.&lt;/P&gt;&lt;P&gt;{1} to get all values&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 15:25:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-a-field-value-is-in-all-the-posibilities-of-other-field/m-p/514371#M1136470</guid>
      <dc:creator />
      <dc:date>2013-10-04T15:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Check if a field value is in all the posibilities of other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-a-field-value-is-in-all-the-posibilities-of-other-field/m-p/514372#M1136471</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;Thanks for answering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This approach is not working for me, seems that mixmatch is not returning results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is a problem with the level of aggregation in the expression because the first part of the mixmatch return me the string with all the values and the second part return me the items individually. But then the mixmatch does not return &amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you think?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ginés.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 16:38:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-a-field-value-is-in-all-the-posibilities-of-other-field/m-p/514372#M1136471</guid>
      <dc:creator>gines_rueda</dc:creator>
      <dc:date>2013-10-04T16:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Check if a field value is in all the posibilities of other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-a-field-value-is-in-all-the-posibilities-of-other-field/m-p/514373#M1136472</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;I used this formula to set a backround color for the selected companies :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if &lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;match&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;( '|' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Company&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;amp; '|', '|' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({1} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Company&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, '|' ) &amp;amp; '|' ) , &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;rgb&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(141,170,203),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;rgb&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(252,115,98)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The first parameter is the string we are searching, the second is the string we are looking in it (it is why I put {1} to get all companies. So effectively, we need perhaps to inverse the arguments:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;= if(match('|' &amp;amp; V2 &amp;amp; '|', '|' &amp;amp; concat({1} V1, '|') &amp;amp; '|') &amp;gt; 0, id1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;where V2 and V1 are different fields having the same values&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Fabrice&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 20:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-a-field-value-is-in-all-the-posibilities-of-other-field/m-p/514373#M1136472</guid>
      <dc:creator />
      <dc:date>2013-10-04T20:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Check if a field value is in all the posibilities of other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-a-field-value-is-in-all-the-posibilities-of-other-field/m-p/514374#M1136473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again Fabrice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried all the possibilities with the function you have gave here, but nothing, "match" func and his variants do not return anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have check and the concatenated string is created correctly, also the item to check, but seems that the expression does not work with that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ginés.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 08:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-a-field-value-is-in-all-the-posibilities-of-other-field/m-p/514374#M1136473</guid>
      <dc:creator>gines_rueda</dc:creator>
      <dc:date>2013-10-08T08:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Check if a field value is in all the posibilities of other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-a-field-value-is-in-all-the-posibilities-of-other-field/m-p/514375#M1136474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;= If (MixMatch(V2 ,$(=Concat(V1, Chr(39) &amp;amp; ',' &amp;amp; Chr(39)))), Id1)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 08:31:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-a-field-value-is-in-all-the-posibilities-of-other-field/m-p/514375#M1136474</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-10-08T08:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Check if a field value is in all the posibilities of other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Check-if-a-field-value-is-in-all-the-posibilities-of-other-field/m-p/514376#M1136475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 08:36:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-if-a-field-value-is-in-all-the-posibilities-of-other-field/m-p/514376#M1136475</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-08T08:36:10Z</dc:date>
    </item>
  </channel>
</rss>

