<?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: Count values that match the selected value in an different column in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Count-values-that-match-the-selected-value-in-an-different/m-p/2505671#M103999</link>
    <description>&lt;P&gt;Is the user making a selection on [Directorate To] or another field?&lt;/P&gt;
&lt;P&gt;If the selection is made in [Directorate To] we could maybe do something like the total count - the count of equals&lt;/P&gt;
&lt;P&gt;count([Directorate To])-count({&amp;lt;[Directorate From]={"$(=maxstring([Directorate To]))"}&amp;gt;} [Directorate To])&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2025 20:45:36 GMT</pubDate>
    <dc:creator>morgankejerhag</dc:creator>
    <dc:date>2025-02-12T20:45:36Z</dc:date>
    <item>
      <title>Count values that match the selected value in an different column</title>
      <link>https://community.qlik.com/t5/App-Development/Count-values-that-match-the-selected-value-in-an-different/m-p/2474161#M99988</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In this data 'Directorate From' is linked to a separate hierarchy table against a field called Directorate. Directorate is a field users can filter by in the app. I want to create a calculation so that when 'Dir A', for example, is selected, a count of matching values in the 'Directorate To'. However this should only be when 'Directorate From' doesn't equal 'Directorate To'. In the example below, the answer would be 2 (as highlighted) and not 3.&lt;/P&gt;
&lt;P&gt;The calculation would go in a straight table.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 330px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/170129iAEE66F1863254E7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I hope that makes sense.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 12:44:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-values-that-match-the-selected-value-in-an-different/m-p/2474161#M99988</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-01T12:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Count values that match the selected value in an different column</title>
      <link>https://community.qlik.com/t5/App-Development/Count-values-that-match-the-selected-value-in-an-different/m-p/2505671#M103999</link>
      <description>&lt;P&gt;Is the user making a selection on [Directorate To] or another field?&lt;/P&gt;
&lt;P&gt;If the selection is made in [Directorate To] we could maybe do something like the total count - the count of equals&lt;/P&gt;
&lt;P&gt;count([Directorate To])-count({&amp;lt;[Directorate From]={"$(=maxstring([Directorate To]))"}&amp;gt;} [Directorate To])&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 20:45:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-values-that-match-the-selected-value-in-an-different/m-p/2505671#M103999</guid>
      <dc:creator>morgankejerhag</dc:creator>
      <dc:date>2025-02-12T20:45:36Z</dc:date>
    </item>
  </channel>
</rss>

