<?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 How to count matching values in 3 different fields in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-count-matching-values-in-3-different-fields/m-p/35710#M2417</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How do i create an expression where i can calculate how many of the same value it is in the different fields?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="233"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="78"&gt;Campaign1&lt;/TD&gt;&lt;TD class="xl63" width="80"&gt;Campaign2&lt;/TD&gt;&lt;TD class="xl63" width="75"&gt;Campaign3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="78"&gt;A&amp;nbsp; &lt;/TD&gt;&lt;TD class="xl63" width="80"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="78"&gt;C&lt;/TD&gt;&lt;TD class="xl63" width="80"&gt;A&lt;/TD&gt;&lt;TD class="xl63" width="75"&gt;D&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="78"&gt;A&lt;/TD&gt;&lt;TD class="xl63" width="80"&gt;C&lt;/TD&gt;&lt;TD class="xl63" width="75"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="78"&gt;D&lt;/TD&gt;&lt;TD class="xl63" width="80"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="78"&gt;B&lt;/TD&gt;&lt;TD class="xl63" width="80"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expecting result:&lt;/P&gt;&lt;P&gt;A=5&lt;/P&gt;&lt;P&gt;B=3&lt;/P&gt;&lt;P&gt;C=2&lt;/P&gt;&lt;P&gt;D=2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Fredrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Dec 2021 15:42:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-12-22T15:42:54Z</dc:date>
    <item>
      <title>How to count matching values in 3 different fields</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-count-matching-values-in-3-different-fields/m-p/35710#M2417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How do i create an expression where i can calculate how many of the same value it is in the different fields?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="233"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="78"&gt;Campaign1&lt;/TD&gt;&lt;TD class="xl63" width="80"&gt;Campaign2&lt;/TD&gt;&lt;TD class="xl63" width="75"&gt;Campaign3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="78"&gt;A&amp;nbsp; &lt;/TD&gt;&lt;TD class="xl63" width="80"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="78"&gt;C&lt;/TD&gt;&lt;TD class="xl63" width="80"&gt;A&lt;/TD&gt;&lt;TD class="xl63" width="75"&gt;D&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="78"&gt;A&lt;/TD&gt;&lt;TD class="xl63" width="80"&gt;C&lt;/TD&gt;&lt;TD class="xl63" width="75"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="78"&gt;D&lt;/TD&gt;&lt;TD class="xl63" width="80"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="78"&gt;B&lt;/TD&gt;&lt;TD class="xl63" width="80"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expecting result:&lt;/P&gt;&lt;P&gt;A=5&lt;/P&gt;&lt;P&gt;B=3&lt;/P&gt;&lt;P&gt;C=2&lt;/P&gt;&lt;P&gt;D=2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Fredrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2021 15:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-count-matching-values-in-3-different-fields/m-p/35710#M2417</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-22T15:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to count matching values in 3 different fields</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-count-matching-values-in-3-different-fields/m-p/35711#M2418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.. !&lt;/P&gt;&lt;P&gt;Test:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Campaign1,Campaign2,Campaign3&lt;/P&gt;&lt;P&gt;A,B&lt;/P&gt;&lt;P&gt;C,A,D&lt;/P&gt;&lt;P&gt;A,C,B&lt;/P&gt;&lt;P&gt;D,A&lt;/P&gt;&lt;P&gt;B,A&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test1:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Load&amp;nbsp; Campaign3 as key Resident Test;&lt;/P&gt;&lt;P&gt;Load&amp;nbsp; Campaign2 as key Resident Test;&lt;/P&gt;&lt;P&gt;Load&amp;nbsp; Campaign1 as key Resident Test;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Test;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel this is not correct way, but one option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 17:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-count-matching-values-in-3-different-fields/m-p/35711#M2418</guid>
      <dc:creator>Nagaraju_KCS</dc:creator>
      <dc:date>2018-03-15T17:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to count matching values in 3 different fields</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-count-matching-values-in-3-different-fields/m-p/35712#M2419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this&amp;nbsp; out-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 18:13:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-count-matching-values-in-3-different-fields/m-p/35712#M2419</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-03-15T18:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to count matching values in 3 different fields</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-count-matching-values-in-3-different-fields/m-p/35713#M2420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another option is to use CrossTable load&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Temp:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;CrossTable (Campaign, Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD 1 as 1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; *;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Campaign1, Campaign2, Campaign3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, B&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C, A, D&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, C, B&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; D, A&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, A&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD Campaign,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Resident Temp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Where Len(Trim(Value)) &amp;gt; 0;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;DROP Table Temp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 18:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-count-matching-values-in-3-different-fields/m-p/35713#M2420</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-15T18:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to count matching values in 3 different fields</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-count-matching-values-in-3-different-fields/m-p/35714#M2421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi you,&lt;/P&gt;&lt;P&gt;Thanks for the answer's!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two things,&lt;/P&gt;&lt;P&gt;I'm using Qlik Sense, how to open the .qvw files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I having my data in an Excel sheet and the tab is called Data. The example I add was only some example how it looks like but in my file I have more then 1000 row with data. So not only the row I add in my question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 19:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-count-matching-values-in-3-different-fields/m-p/35714#M2421</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-15T19:45:16Z</dc:date>
    </item>
  </channel>
</rss>

