<?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: Formula help - check against another table to see if matches in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Formula-help-check-against-another-table-to-see-if-matches/m-p/2506818#M1226426</link>
    <description>&lt;P&gt;I would use Applymap(). For example:&lt;/P&gt;
&lt;P&gt;CorrectMapping:&lt;BR /&gt;Mapping Load ClothingItem, Brand &lt;BR /&gt;From TableWithCorrectEntries;&lt;/P&gt;
&lt;P&gt;Data:&lt;BR /&gt;Load ClothingItem, Brand, If(Brand=ApplyMap('CorrectMapping',ClothingItem),1,0) as IsCorrect &lt;BR /&gt;From TableWithEntriesThatShouldBeTested;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Feb 2025 16:03:14 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2025-02-20T16:03:14Z</dc:date>
    <item>
      <title>Formula help - check against another table to see if matches</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-help-check-against-another-table-to-see-if-matches/m-p/2506771#M1226423</link>
      <description>&lt;P&gt;I have a main table with list of IDs that have brands and clothing items field, which are calculated using if and applymaps. I also have another table with just a list of brands and clothing items. Each brand can have multiple clothing items.&lt;/P&gt;
&lt;P&gt;I need a formula in the data load editor under the main table that checks if the the clothing items have been listed under the correct brands.&lt;/P&gt;
&lt;P&gt;Ive done a formula in excel =IF(COUNTIFS(Clothing!A:A,Main!B2,Clothing!B:B,Main!C2)&amp;gt;0,"Match","No Match")&lt;/P&gt;
&lt;P&gt;where Clothing!A:A = Brand names,&amp;nbsp;Clothing!B:B = clothing items, Main!B2 = Brand name column and Main!C2 = Clothing items&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 10:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-help-check-against-another-table-to-see-if-matches/m-p/2506771#M1226423</guid>
      <dc:creator>jp_afc</dc:creator>
      <dc:date>2025-02-20T10:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Formula help - check against another table to see if matches</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-help-check-against-another-table-to-see-if-matches/m-p/2506818#M1226426</link>
      <description>&lt;P&gt;I would use Applymap(). For example:&lt;/P&gt;
&lt;P&gt;CorrectMapping:&lt;BR /&gt;Mapping Load ClothingItem, Brand &lt;BR /&gt;From TableWithCorrectEntries;&lt;/P&gt;
&lt;P&gt;Data:&lt;BR /&gt;Load ClothingItem, Brand, If(Brand=ApplyMap('CorrectMapping',ClothingItem),1,0) as IsCorrect &lt;BR /&gt;From TableWithEntriesThatShouldBeTested;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 16:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-help-check-against-another-table-to-see-if-matches/m-p/2506818#M1226426</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2025-02-20T16:03:14Z</dc:date>
    </item>
  </channel>
</rss>

