<?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 Is it possible to count different values on a field between 2 different states? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-count-different-values-on-a-field-between-2/m-p/2162665#M94375</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Lets say my field is KEY, and states are State1 and State2.&lt;/P&gt;
&lt;P&gt;KEY : A,B,C,D,E,F&lt;/P&gt;
&lt;P&gt;{State 1} KEY: A,B,C,D,E&lt;/P&gt;
&lt;P&gt;{State 2} KEY: A,B,C,F&lt;/P&gt;
&lt;P&gt;Based on the selections done on state 1 and state 2 I need to count the different values on the field KEY between these 2 states in a single expression. In the given example the result should be 3 since D,E and F values are unique to the states. I wasn't able find a way to achieve this. Is it possible?&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2024 06:00:45 GMT</pubDate>
    <dc:creator>osaral</dc:creator>
    <dc:date>2024-01-18T06:00:45Z</dc:date>
    <item>
      <title>Is it possible to count different values on a field between 2 different states?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-count-different-values-on-a-field-between-2/m-p/2162665#M94375</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Lets say my field is KEY, and states are State1 and State2.&lt;/P&gt;
&lt;P&gt;KEY : A,B,C,D,E,F&lt;/P&gt;
&lt;P&gt;{State 1} KEY: A,B,C,D,E&lt;/P&gt;
&lt;P&gt;{State 2} KEY: A,B,C,F&lt;/P&gt;
&lt;P&gt;Based on the selections done on state 1 and state 2 I need to count the different values on the field KEY between these 2 states in a single expression. In the given example the result should be 3 since D,E and F values are unique to the states. I wasn't able find a way to achieve this. Is it possible?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 06:00:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-count-different-values-on-a-field-between-2/m-p/2162665#M94375</guid>
      <dc:creator>osaral</dc:creator>
      <dc:date>2024-01-18T06:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to count different values on a field between 2 different states?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-count-different-values-on-a-field-between-2/m-p/2162688#M94384</link>
      <description>&lt;P&gt;You could try to fetch the symmetric difference (XOR) between the two states using set analysis. It would look something like this:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT color="#0000FF"&gt;count&lt;/FONT&gt;({&lt;FONT color="#0000FF"&gt;state_1&lt;/FONT&gt; / &lt;FONT color="#0000FF"&gt;state_2&lt;/FONT&gt;} &lt;FONT color="#800000"&gt;KEY&lt;/FONT&gt;)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 07:20:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-count-different-values-on-a-field-between-2/m-p/2162688#M94384</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2024-01-18T07:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to count different values on a field between 2 different states?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-count-different-values-on-a-field-between-2/m-p/2162719#M94387</link>
      <description>&lt;P&gt;Thank you for the reply, but I am not getting what I wanted. Maybe i executed it wrong. I am expecting a result of 10 and getting the result shown below.&amp;nbsp; (left side filter pane and table are on state_1, right side filter pane and table are on state_2)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 534px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/127273i881C34731CE48FB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 08:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-count-different-values-on-a-field-between-2/m-p/2162719#M94387</guid>
      <dc:creator>osaral</dc:creator>
      <dc:date>2024-01-18T08:39:19Z</dc:date>
    </item>
  </channel>
</rss>

