<?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 the distinct bond which have payment status is 1 for all repeating bond in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Count-the-distinct-bond-which-have-payment-status-is-1-for-all/m-p/1817310#M66930</link>
    <description>&lt;P&gt;This won't work because it will include bond where paymentstatus = 1 even once&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jun 2021 12:17:26 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2021-06-23T12:17:26Z</dc:date>
    <item>
      <title>Count the distinct bond which have payment status is 1 for all repeating bond</title>
      <link>https://community.qlik.com/t5/App-Development/Count-the-distinct-bond-which-have-payment-status-is-1-for-all/m-p/1817284#M66926</link>
      <description>&lt;P&gt;Hello Team,&lt;BR /&gt;&lt;BR /&gt;I have 2 column in my table. Bond and paymentstatus.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to count distinct bond for those whose paymentstatus is 1 against all same bond type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;bond,paymentstatus&lt;/P&gt;&lt;P&gt;a,1&lt;/P&gt;&lt;P&gt;a,0&lt;/P&gt;&lt;P&gt;a,0&lt;/P&gt;&lt;P&gt;a,1&lt;/P&gt;&lt;P&gt;b,1&lt;/P&gt;&lt;P&gt;b,1&lt;/P&gt;&lt;P&gt;c,1&lt;/P&gt;&lt;P&gt;c,0&lt;/P&gt;&lt;P&gt;d,1&lt;/P&gt;&lt;P&gt;d,1&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result should be&amp;nbsp; 2 as bond b and d has payment status 1 for the same bond type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Narender&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 11:13:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-the-distinct-bond-which-have-payment-status-is-1-for-all/m-p/1817284#M66926</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2021-06-23T11:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Count the distinct bond which have payment status is 1 for all repeating bond</title>
      <link>https://community.qlik.com/t5/App-Development/Count-the-distinct-bond-which-have-payment-status-is-1-for-all/m-p/1817294#M66928</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Count(DISTINCT {&amp;lt;bond = e({&amp;lt;paymentstatus -= {'1'}&amp;gt;})&amp;gt;} bond)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 23 Jun 2021 11:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-the-distinct-bond-which-have-payment-status-is-1-for-all/m-p/1817294#M66928</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2021-06-23T11:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Count the distinct bond which have payment status is 1 for all repeating bond</title>
      <link>https://community.qlik.com/t5/App-Development/Count-the-distinct-bond-which-have-payment-status-is-1-for-all/m-p/1817302#M66929</link>
      <description>&lt;P&gt;Hello Sunny,&lt;/P&gt;&lt;P&gt;Thank you, It is working fine.&lt;/P&gt;&lt;P&gt;Can we use possible records p() rather than exclude e().&lt;/P&gt;&lt;P&gt;like:&lt;/P&gt;&lt;P&gt;=Count(DISTINCT {&amp;lt;bond = p({&amp;lt;paymentstatus = {'1'}&amp;gt;})&amp;gt;} bond)&lt;/P&gt;&lt;P&gt;This is showing wrong data. Can you tell me?&lt;/P&gt;&lt;P&gt;Narender&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 12:04:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-the-distinct-bond-which-have-payment-status-is-1-for-all/m-p/1817302#M66929</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2021-06-23T12:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Count the distinct bond which have payment status is 1 for all repeating bond</title>
      <link>https://community.qlik.com/t5/App-Development/Count-the-distinct-bond-which-have-payment-status-is-1-for-all/m-p/1817310#M66930</link>
      <description>&lt;P&gt;This won't work because it will include bond where paymentstatus = 1 even once&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 12:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-the-distinct-bond-which-have-payment-status-is-1-for-all/m-p/1817310#M66930</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2021-06-23T12:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Count the distinct bond which have payment status is 1 for all repeating bond</title>
      <link>https://community.qlik.com/t5/App-Development/Count-the-distinct-bond-which-have-payment-status-is-1-for-all/m-p/1817318#M66933</link>
      <description>&lt;P&gt;ok, Thanks.&lt;/P&gt;&lt;P&gt;I used 1 more expression that is also giving the right result.&lt;/P&gt;&lt;P&gt;=count({&amp;lt;productstatus={1},bond={"=count(distinct productstatus)=1"}&amp;gt;}distinct bond)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Narender&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 12:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-the-distinct-bond-which-have-payment-status-is-1-for-all/m-p/1817318#M66933</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2021-06-23T12:27:55Z</dc:date>
    </item>
  </channel>
</rss>

