<?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 subtraction based on two field comparisions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/subtraction-based-on-two-field-comparisions/m-p/1230359#M856423</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can some one help me out with the below senario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;_&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i need to calculate for a particular D_idIf dhr&amp;nbsp; =&amp;nbsp; Ahr&amp;nbsp; then i need to calculate the count of A_id s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For D_id 101&amp;nbsp; in d_hour 12&amp;nbsp; i have two A_id s&amp;nbsp;&amp;nbsp; 11 and 17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my count here is&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what is need isacpt-(donate/2)Which gives 211 -13/2 =205&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so when i selectvalues in list box&amp;nbsp; Ahr for example say 12 it should be as below&lt;BR /&gt;which is my final output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>subtraction based on two field comparisions</title>
      <link>https://community.qlik.com/t5/QlikView/subtraction-based-on-two-field-comparisions/m-p/1230359#M856423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can some one help me out with the below senario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;_&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i need to calculate for a particular D_idIf dhr&amp;nbsp; =&amp;nbsp; Ahr&amp;nbsp; then i need to calculate the count of A_id s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For D_id 101&amp;nbsp; in d_hour 12&amp;nbsp; i have two A_id s&amp;nbsp;&amp;nbsp; 11 and 17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my count here is&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what is need isacpt-(donate/2)Which gives 211 -13/2 =205&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so when i selectvalues in list box&amp;nbsp; Ahr for example say 12 it should be as below&lt;BR /&gt;which is my final output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/subtraction-based-on-two-field-comparisions/m-p/1230359#M856423</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
  </channel>
</rss>

