<?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 Count text occurrences across multiple columns/fields in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Count-text-occurrences-across-multiple-columns-fields/m-p/1949348#M78240</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the following (simplified notional example) of a table where I want to count the number of "A"s, "B"s...etc across multiple columns without concatenating in the script and show in a bar chart. In this case "A" would be 3, "C" would be 3, "R" would be 2, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 240pt;" border="0" width="320" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="64" height="20" class="xl63" style="height: 15.0pt; width: 48pt;"&gt;Type&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-left: none; width: 48pt;"&gt;Proj1&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-left: none; width: 48pt;"&gt;Proj2&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-left: none; width: 48pt;"&gt;Proj3&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-left: none; width: 48pt;"&gt;Proj4&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;A1&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;A2&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;G&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;R&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;y&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;A3&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;A4&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;F&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;G&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;J&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;A5&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;E&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;R&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;T&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;U&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;A6&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;F&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;G&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;A7&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;L&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;P&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;O&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;A8&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Q&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;T&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;P&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;A9&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;J&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;K&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;X&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;V&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;A10&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;S&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;F&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;G&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help appreciated.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jun 2022 19:34:51 GMT</pubDate>
    <dc:creator>GMellow</dc:creator>
    <dc:date>2022-06-28T19:34:51Z</dc:date>
    <item>
      <title>Count text occurrences across multiple columns/fields</title>
      <link>https://community.qlik.com/t5/App-Development/Count-text-occurrences-across-multiple-columns-fields/m-p/1949348#M78240</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the following (simplified notional example) of a table where I want to count the number of "A"s, "B"s...etc across multiple columns without concatenating in the script and show in a bar chart. In this case "A" would be 3, "C" would be 3, "R" would be 2, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 240pt;" border="0" width="320" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="64" height="20" class="xl63" style="height: 15.0pt; width: 48pt;"&gt;Type&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-left: none; width: 48pt;"&gt;Proj1&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-left: none; width: 48pt;"&gt;Proj2&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-left: none; width: 48pt;"&gt;Proj3&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-left: none; width: 48pt;"&gt;Proj4&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;A1&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;A2&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;G&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;R&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;y&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;A3&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;A4&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;F&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;G&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;J&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;A5&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;E&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;R&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;T&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;U&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;A6&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;F&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;G&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;A7&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;L&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;P&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;O&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;A8&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Q&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;T&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;P&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;A9&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;J&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;K&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;X&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;V&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;A10&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;S&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;F&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;G&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 19:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-text-occurrences-across-multiple-columns-fields/m-p/1949348#M78240</guid>
      <dc:creator>GMellow</dc:creator>
      <dc:date>2022-06-28T19:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Count text occurrences across multiple columns/fields</title>
      <link>https://community.qlik.com/t5/App-Development/Count-text-occurrences-across-multiple-columns-fields/m-p/1949403#M78246</link>
      <description>&lt;P&gt;maybe like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcoWedel_0-1656454218619.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/82886i24302280A090829E/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarcoWedel_0-1656454218619.png" alt="MarcoWedel_0-1656454218619.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;using 3 measures:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Sum(SubStringCount(Proj1&amp;amp;Proj2&amp;amp;Proj3&amp;amp;Proj4,'A'))

Sum(SubStringCount(Proj1&amp;amp;Proj2&amp;amp;Proj3&amp;amp;Proj4,'C'))

Sum(SubStringCount(Proj1&amp;amp;Proj2&amp;amp;Proj3&amp;amp;Proj4,'R'))&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 28 Jun 2022 22:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-text-occurrences-across-multiple-columns-fields/m-p/1949403#M78246</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2022-06-28T22:11:42Z</dc:date>
    </item>
  </channel>
</rss>

