<?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: distinct sum not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/distinct-sum-not-working/m-p/469339#M488269</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use this expression hope it helps you&lt;/P&gt;&lt;P&gt;SUM( {$&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #800000;"&gt;[Posting Date]&lt;/SPAN&gt;={$(#=min(&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #800000;"&gt;[Posting Date]&lt;/SPAN&gt;))}&amp;gt;}DISTINCT&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #800000;"&gt;[INV_DOCPAYAMT]&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Dec 2012 06:35:33 GMT</pubDate>
    <dc:creator>er_mohit</dc:creator>
    <dc:date>2012-12-28T06:35:33Z</dc:date>
    <item>
      <title>distinct sum not working</title>
      <link>https://community.qlik.com/t5/QlikView/distinct-sum-not-working/m-p/469336#M488266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;I have following expression not giving&amp;nbsp; any result&amp;nbsp; i want to sum distinct for opening balance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SUM&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Posting Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"&amp;lt;$(=min([Posting Date]))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[INV_DOCPAYAMT]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&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;Any one help me pls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2012 04:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/distinct-sum-not-working/m-p/469336#M488266</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2012-12-28T04:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: distinct sum not working</title>
      <link>https://community.qlik.com/t5/QlikView/distinct-sum-not-working/m-p/469337#M488267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum({&amp;lt;&lt;SPAN style="color: #800000; font-family: Arial; background-color: #ffffff;"&gt;[Posting Date]&lt;/SPAN&gt;={"&amp;lt;=$(=vMinDate)"} &amp;gt;} distinct &lt;SPAN style="color: #800000; font-family: Arial; background-color: #ffffff;"&gt;[INV_DOCPAYAMT]&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vMinDate = min(&lt;SPAN style="color: #800000; font-family: Arial; background-color: #ffffff;"&gt;[Posting Date]&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use this formula....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will&amp;nbsp; help you ! ! ! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nitin Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2012 05:45:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/distinct-sum-not-working/m-p/469337#M488267</guid>
      <dc:creator />
      <dc:date>2012-12-28T05:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: distinct sum not working</title>
      <link>https://community.qlik.com/t5/QlikView/distinct-sum-not-working/m-p/469338#M488268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;try it.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({$&amp;lt;&lt;/STRONG&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Posting Date]&lt;/SPAN&gt;&lt;STRONG&gt;={$(#=only(&lt;/STRONG&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Posting Date]&lt;/SPAN&gt;&lt;STRONG&gt;)-1)},&lt;/STRONG&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Posting Date]&lt;/SPAN&gt;&lt;STRONG&gt;=&amp;gt;}DISTINCT &lt;/STRONG&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[INV_DOCPAYAMT]&lt;/SPAN&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;hope this helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2012 06:16:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/distinct-sum-not-working/m-p/469338#M488268</guid>
      <dc:creator />
      <dc:date>2012-12-28T06:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: distinct sum not working</title>
      <link>https://community.qlik.com/t5/QlikView/distinct-sum-not-working/m-p/469339#M488269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use this expression hope it helps you&lt;/P&gt;&lt;P&gt;SUM( {$&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #800000;"&gt;[Posting Date]&lt;/SPAN&gt;={$(#=min(&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #800000;"&gt;[Posting Date]&lt;/SPAN&gt;))}&amp;gt;}DISTINCT&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #800000;"&gt;[INV_DOCPAYAMT]&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2012 06:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/distinct-sum-not-working/m-p/469339#M488269</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2012-12-28T06:35:33Z</dc:date>
    </item>
  </channel>
</rss>

