<?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: set expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-expression/m-p/922555#M319535</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What id you do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;if(Sum({&amp;lt;DateType={PROVISION}&amp;gt;}PROV_AMOUNT)&amp;gt;0,count(DISTINCT{&amp;lt;DateType={PROVISION}&amp;gt;}CLAIM_NO)) - &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(Sum({&amp;lt;DateType={PROVISION}&amp;gt;}PROV_AMOUNT)&amp;lt;0,count(DISTINCT{&amp;lt;DateType={PROVISION}&amp;gt;}CLAIM_NO))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Aug 2015 10:09:42 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-08-13T10:09:42Z</dc:date>
    <item>
      <title>set expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-expression/m-p/922554#M319534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have following expression in my QV document and it is working fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Sum({&amp;lt;DateType={PROVISION}&amp;gt;}PROV_AMOUNT)&amp;gt;0,count(DISTINCT{&amp;lt;DateType={PROVISION}&amp;gt;}CLAIM_NO))&lt;/P&gt;&lt;P&gt; ( This count should be positive value) eg100&lt;/P&gt;&lt;P&gt;I want combine the following expression to the above expression obtain one result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Sum({&amp;lt;DateType={PROVISION}&amp;gt;}PROV_AMOUNT)&amp;lt;0,count(DISTINCT{&amp;lt;DateType={PROVISION}&amp;gt;}CLAIM_NO))&lt;/P&gt;&lt;P&gt; ( This count should be negative&amp;nbsp; value) eg -25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final result should be 100-25=75&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help me to build the expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 10:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-expression/m-p/922554#M319534</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2015-08-13T10:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: set expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-expression/m-p/922555#M319535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What id you do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;if(Sum({&amp;lt;DateType={PROVISION}&amp;gt;}PROV_AMOUNT)&amp;gt;0,count(DISTINCT{&amp;lt;DateType={PROVISION}&amp;gt;}CLAIM_NO)) - &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(Sum({&amp;lt;DateType={PROVISION}&amp;gt;}PROV_AMOUNT)&amp;lt;0,count(DISTINCT{&amp;lt;DateType={PROVISION}&amp;gt;}CLAIM_NO))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 10:09:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-expression/m-p/922555#M319535</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-13T10:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: set expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-expression/m-p/922556#M319536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It does not return the expected results but show - as value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 10:11:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-expression/m-p/922556#M319536</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2015-08-13T10:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: set expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-expression/m-p/922557#M319537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If they work individually, I don't see why they won't work together in a single expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 10:13:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-expression/m-p/922557#M319537</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-13T10:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: set expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-expression/m-p/922558#M319538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum(yourfirstexpr,&amp;nbsp; - yoursecondexpr)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 10:14:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-expression/m-p/922558#M319538</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-08-13T10:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: set expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-expression/m-p/922559#M319539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great idea &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 10:15:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-expression/m-p/922559#M319539</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-13T10:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: set expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-expression/m-p/922560#M319540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please write the full expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 10:18:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-expression/m-p/922560#M319540</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2015-08-13T10:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: set expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-expression/m-p/922561#M319541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pls see whether what I have written is correct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(rangeSum({&amp;lt;DateType={PROVISION}&amp;gt;}PROV_AMOUNT)&amp;gt;0,count(DISTINCT{&amp;lt;DateType={PROVISION}&amp;gt;}CLAIM_NO)), -&lt;/P&gt;&lt;P&gt;{&amp;lt;DateType={PROVISION}&amp;gt;}PROV_AMOUNT)&amp;lt;0,count(DISTINCT{&amp;lt;DateType={PROVISION}&amp;gt;}CLAIM_NO)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 10:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-expression/m-p/922561#M319541</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2015-08-13T10:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: set expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-expression/m-p/922562#M319542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rangesum(if(Sum({&amp;lt;DateType={PROVISION}&amp;gt;}PROV_AMOUNT)&amp;gt;0,count(DISTINCT{&amp;lt;DateType={PROVISION}&amp;gt;}CLAIM_NO),0),-if(Sum({&amp;lt;DateType={PROVISION}&amp;gt;}PROV_AMOUNT)&amp;lt;0,count(DISTINCT{&amp;lt;DateType={PROVISION}&amp;gt;}CLAIM_NO),0))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 11:05:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-expression/m-p/922562#M319542</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-13T11:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: set expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-expression/m-p/922563#M319543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 11:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-expression/m-p/922563#M319543</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2015-08-13T11:09:29Z</dc:date>
    </item>
  </channel>
</rss>

