<?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 Distinct values for (2) fields for all records upto selected date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Distinct-values-for-2-fields-for-all-records-upto-selected/m-p/394479#M147108</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;Any ideas for my problem...... I attached a sample app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2013 15:08:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-20T15:08:33Z</dc:date>
    <item>
      <title>Count Distinct values for (2) fields for all records upto selected date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-values-for-2-fields-for-all-records-upto-selected/m-p/394474#M147103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following expression, but it only counts for the current date selected and not for all records UPTO that date. Please help&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;lt;=$(=Max(Date))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}abc&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),def&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,abc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 16:29:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-values-for-2-fields-for-all-records-upto-selected/m-p/394474#M147103</guid>
      <dc:creator />
      <dc:date>2013-02-01T16:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Count Distinct values for (2) fields for all records upto selected date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-values-for-2-fields-for-all-records-upto-selected/m-p/394475#M147104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried with 1 instead of $?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Sum &lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; {&lt;STRONG&gt;1&lt;/STRONG&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;"&amp;lt;=$(=Max(Date))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}abc&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),def&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,abc&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 18:42:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-values-for-2-fields-for-all-records-upto-selected/m-p/394475#M147104</guid>
      <dc:creator />
      <dc:date>2013-02-01T18:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Count Distinct values for (2) fields for all records upto selected date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-values-for-2-fields-for-all-records-upto-selected/m-p/394476#M147105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, no change... working the same way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 19:06:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-values-for-2-fields-for-all-records-upto-selected/m-p/394476#M147105</guid>
      <dc:creator />
      <dc:date>2013-02-01T19:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Count Distinct values for (2) fields for all records upto selected date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-values-for-2-fields-for-all-records-upto-selected/m-p/394477#M147106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share a sample app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 19:07:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-values-for-2-fields-for-all-records-upto-selected/m-p/394477#M147106</guid>
      <dc:creator />
      <dc:date>2013-02-01T19:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Count Distinct values for (2) fields for all records upto selected date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-values-for-2-fields-for-all-records-upto-selected/m-p/394478#M147107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attaching a sample app:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, &lt;/P&gt;&lt;P&gt;In the attached spreadsheet the total count for &lt;/P&gt;&lt;P&gt;Scenario = 1 and Timing = 1 should be 1 for Jan but it should be 2 for Feb since it should count all the Distinct values from earliest start date to current date .&lt;/P&gt;&lt;P&gt;Similar for Scenario 1 and Timing 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 18:41:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-values-for-2-fields-for-all-records-upto-selected/m-p/394478#M147107</guid>
      <dc:creator />
      <dc:date>2013-02-12T18:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Count Distinct values for (2) fields for all records upto selected date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-values-for-2-fields-for-all-records-upto-selected/m-p/394479#M147108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;Any ideas for my problem...... I attached a sample app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 15:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-values-for-2-fields-for-all-records-upto-selected/m-p/394479#M147108</guid>
      <dc:creator />
      <dc:date>2013-02-20T15:08:33Z</dc:date>
    </item>
  </channel>
</rss>

