<?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: How to get count?? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-count/m-p/401359#M149351</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 style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Please check the application,by using peek function you can take value into variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Regards&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/info.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plus.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/minus.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Feb 2013 18:40:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-02-04T18:40:34Z</dc:date>
    <item>
      <title>How to get count??</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-count/m-p/401357#M149349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am loading only one column from Qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Orders:&lt;/P&gt;&lt;P&gt;Load Order_No&lt;/P&gt;&lt;P&gt;From c:\ORD.qvd(Qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get the cont of distinct Orders_No into script and store in the variable at the script level only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoe to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx in Advance..!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 18:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-count/m-p/401357#M149349</guid>
      <dc:creator />
      <dc:date>2013-02-04T18:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to get count??</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-count/m-p/401358#M149350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, you need to load your table in temporary table usuing COUNT(DISTINCT YOUR_VALUE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To read the value and insert into a variable, use the function PEEK;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Orders:&lt;/P&gt;&lt;P&gt;Load Order_No&lt;/P&gt;&lt;P&gt;From c:\ORD.qvd(Qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOCONCATENATE&lt;/P&gt;&lt;P&gt;TMP:&lt;/P&gt;&lt;P&gt;LOAD COUNT(Distinct Order_No) AS Qty&lt;/P&gt;&lt;P&gt;RESIDENT Orders;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vQty = PEEK('Qty', 0, 'TMP');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE TMP;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 18:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-count/m-p/401358#M149350</guid>
      <dc:creator />
      <dc:date>2013-02-04T18:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to get count??</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-count/m-p/401359#M149351</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 style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Please check the application,by using peek function you can take value into variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Regards&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/info.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plus.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/minus.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 18:40:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-count/m-p/401359#M149351</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-04T18:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to get count??</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-count/m-p/401360#M149352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnx.. It is perfect..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 18:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-count/m-p/401360#M149352</guid>
      <dc:creator />
      <dc:date>2013-02-04T18:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get count??</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-count/m-p/401361#M149353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please find the attachment of applicatio,&lt;/P&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;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/info.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plus.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/minus.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 18:41:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-count/m-p/401361#M149353</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-04T18:41:57Z</dc:date>
    </item>
  </channel>
</rss>

