<?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: Matching multiple fields in one table with other table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Matching-multiple-fields-in-one-table-with-other-table/m-p/1642270#M731138</link>
    <description>&lt;P&gt;Something like this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Table1:
NOCONCATENATE
LOAD * INLINE [
    Field1, 	Field2, 	Field3
    10.1.1.100, 10.2.2.101, 10.3.3.103
];

Table2:
NOCONCATENATE
LOAD Trim(SubField(FieldA, ',')), 'Match'
;
LOAD * INLINE "
	FieldA
    10.1.1.100, 10.1.1.101, 10.1.1.103
" (delimiter is ';');

MapFieldValues2Match: MAPPING LOAD * RESIDENT Table2;

Final:
NOCONCATENATE
LOAD *,
	 ApplyMap('MapFieldValues2Match', Field1,
		ApplyMap('MapFieldValues2Match', Field2,
        	ApplyMap('MapFieldValues2Match', Field3, 'No Match'))) AS Test
RESIDENT Table1;

DROP TABLES Table1, Table2;&lt;/LI-CODE&gt;</description>
    <pubDate>Sat, 02 Nov 2019 16:11:24 GMT</pubDate>
    <dc:creator>JGMDataAnalysis</dc:creator>
    <dc:date>2019-11-02T16:11:24Z</dc:date>
    <item>
      <title>Matching multiple fields in one table with other table</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-multiple-fields-in-one-table-with-other-table/m-p/1642139#M731137</link>
      <description>&lt;P&gt;&lt;STRONG&gt;I have a situation where I need to compare multiple fields with one field and than have it say as matched or not-matched if it either matches or not matches&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Details:&lt;/P&gt;&lt;P&gt;Table1&lt;/P&gt;&lt;P&gt;Field1 - 10.1.1.100&lt;/P&gt;&lt;P&gt;Field 2- 10.2.2.101&lt;/P&gt;&lt;P&gt;Field3 - 10.3.3.103&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table 2: FieldA has data separated by Comma (,)&lt;/P&gt;&lt;P&gt;FiledA: 10.1.1.100, 10.1.1.101, 10.1.1.103&lt;/P&gt;&lt;P&gt;So, when I compare all the above four fields from Table1 with FieldA in Table 2, since there is a match (10.1.1.100) this has to be labelled as “Matched” if there is no match it should display as “No Match”&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-multiple-fields-in-one-table-with-other-table/m-p/1642139#M731137</guid>
      <dc:creator>remo0017</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Matching multiple fields in one table with other table</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-multiple-fields-in-one-table-with-other-table/m-p/1642270#M731138</link>
      <description>&lt;P&gt;Something like this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Table1:
NOCONCATENATE
LOAD * INLINE [
    Field1, 	Field2, 	Field3
    10.1.1.100, 10.2.2.101, 10.3.3.103
];

Table2:
NOCONCATENATE
LOAD Trim(SubField(FieldA, ',')), 'Match'
;
LOAD * INLINE "
	FieldA
    10.1.1.100, 10.1.1.101, 10.1.1.103
" (delimiter is ';');

MapFieldValues2Match: MAPPING LOAD * RESIDENT Table2;

Final:
NOCONCATENATE
LOAD *,
	 ApplyMap('MapFieldValues2Match', Field1,
		ApplyMap('MapFieldValues2Match', Field2,
        	ApplyMap('MapFieldValues2Match', Field3, 'No Match'))) AS Test
RESIDENT Table1;

DROP TABLES Table1, Table2;&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 02 Nov 2019 16:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-multiple-fields-in-one-table-with-other-table/m-p/1642270#M731138</guid>
      <dc:creator>JGMDataAnalysis</dc:creator>
      <dc:date>2019-11-02T16:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Matching multiple fields in one table with other table</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-multiple-fields-in-one-table-with-other-table/m-p/1644478#M731139</link>
      <description>&lt;P&gt;Remo, did Javier's post help you get things working as you wanted?&amp;nbsp; If so, do not forget to return to the thread and use the Accept as Solution button on the post to give him credit for the help and confirm to others that it did solve your problem.&amp;nbsp; If you still need further help, leave an update on things.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 20:29:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-multiple-fields-in-one-table-with-other-table/m-p/1644478#M731139</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-11-07T20:29:12Z</dc:date>
    </item>
  </channel>
</rss>

