<?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: Summation on Distinct Customer in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Summation-on-Distinct-Customer/m-p/578610#M477658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a straight table&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Dimension&lt;/P&gt;&lt;P&gt;Area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;1) SUM([Balance Amount])&lt;/P&gt;&lt;P&gt;2) FirstSortedValue([Balance Amount],-[Date of Balance])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Apr 2014 11:21:38 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-04-15T11:21:38Z</dc:date>
    <item>
      <title>Summation on Distinct Customer</title>
      <link>https://community.qlik.com/t5/QlikView/Summation-on-Distinct-Customer/m-p/578607#M477655</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;I have a customer database which has balances at various dates, i.e. a client can have more than one entry reflecting balances as at that date. I am developing an app that looks at total debt and then introduce various dimensions. How do I do a summation of client's balances (say area dimension) , but based on the last entry for that client, i.e. based on the last balance (by date). Lets say the fields are Customer, Date of Balance, Amount, Area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HerbieC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 10:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summation-on-Distinct-Customer/m-p/578607#M477655</guid>
      <dc:creator />
      <dc:date>2014-04-15T10:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Summation on Distinct Customer</title>
      <link>https://community.qlik.com/t5/QlikView/Summation-on-Distinct-Customer/m-p/578608#M477656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 11:03:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summation-on-Distinct-Customer/m-p/578608#M477656</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-04-15T11:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Summation on Distinct Customer</title>
      <link>https://community.qlik.com/t5/QlikView/Summation-on-Distinct-Customer/m-p/578609#M477657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anbu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached example. I for example would need to write an expression that gives me total current Paris Balances, as well as an expression that when I click on a client it gives me their current balance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense&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;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 11:16:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summation-on-Distinct-Customer/m-p/578609#M477657</guid>
      <dc:creator />
      <dc:date>2014-04-15T11:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Summation on Distinct Customer</title>
      <link>https://community.qlik.com/t5/QlikView/Summation-on-Distinct-Customer/m-p/578610#M477658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a straight table&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Dimension&lt;/P&gt;&lt;P&gt;Area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;1) SUM([Balance Amount])&lt;/P&gt;&lt;P&gt;2) FirstSortedValue([Balance Amount],-[Date of Balance])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 11:21:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summation-on-Distinct-Customer/m-p/578610#M477658</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-15T11:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Summation on Distinct Customer</title>
      <link>https://community.qlik.com/t5/QlikView/Summation-on-Distinct-Customer/m-p/578611#M477659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does the FirstSortedValue function work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 11:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summation-on-Distinct-Customer/m-p/578611#M477659</guid>
      <dc:creator />
      <dc:date>2014-04-15T11:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Summation on Distinct Customer</title>
      <link>https://community.qlik.com/t5/QlikView/Summation-on-Distinct-Customer/m-p/578612#M477660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;FirstSortedValue([Balance Amount],[Date of Balance])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;This will give you Balance Amount at Min Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FirstSortedValue([Balance Amount],-[Date of Balance])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;This will give you Balance Amount at Max Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;For further details you can check the help menu or QlikView Reference Manual.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps... please close the thread by selection appropriate answer.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 11:29:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summation-on-Distinct-Customer/m-p/578612#M477660</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-15T11:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Summation on Distinct Customer</title>
      <link>https://community.qlik.com/t5/QlikView/Summation-on-Distinct-Customer/m-p/578613#M477661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 13:31:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summation-on-Distinct-Customer/m-p/578613#M477661</guid>
      <dc:creator />
      <dc:date>2014-04-22T13:31:53Z</dc:date>
    </item>
  </channel>
</rss>

