<?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 a variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-a-variable/m-p/1231684#M865764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thirumala, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wasn't able to open our file as I'm using qlik sense desktop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but your correction was right! Now it's working !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for the help! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Dec 2016 20:46:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-12-09T20:46:24Z</dc:date>
    <item>
      <title>Count a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Count-a-variable/m-p/1231680#M865760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm new to Qlik, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a variable that give 1 or 0 for a list of person (whatever the formula that give 1 or 0 for each person). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I count the number of 1 ? &lt;BR /&gt;I've tried : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{&amp;lt;Variable&amp;gt;={'1'}} Name&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it doesn"t work. Any idea? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-a-variable/m-p/1231680#M865760</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Count-a-variable/m-p/1231681#M865761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count ({&amp;lt;$(=Variable)={1}&amp;gt;} Name)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 18:08:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-a-variable/m-p/1231681#M865761</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-12-08T18:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Count a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Count-a-variable/m-p/1231682#M865762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thirumala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot use variable this way in Set Analysis. Try to use expression itself instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upload it if you can.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 18:27:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-a-variable/m-p/1231682#M865762</guid>
      <dc:creator>bgerchikov</dc:creator>
      <dc:date>2016-12-08T18:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Count a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Count-a-variable/m-p/1231683#M865763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Boris pointed out below the above expression will not work.... Below is the expression that will work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({&amp;lt;Name={"=$(Variable)=1"}&amp;gt;} Name) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attached sample file for more details.&amp;nbsp; In the sample app I created two fields Id and Name. There are four names which starts with 'A'. I created a Variable and assigned a formula saying if the first letter of the Name is 'A' then 1 else 0. Hope this helps.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 23:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-a-variable/m-p/1231683#M865763</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-12-08T23:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Count a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Count-a-variable/m-p/1231684#M865764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thirumala, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wasn't able to open our file as I'm using qlik sense desktop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but your correction was right! Now it's working !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for the help! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 20:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-a-variable/m-p/1231684#M865764</guid>
      <dc:creator />
      <dc:date>2016-12-09T20:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Count a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Count-a-variable/m-p/1231685#M865765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As soon as you have only 0´s and 1´s you can Sum(FlagField)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Dec 2016 12:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-a-variable/m-p/1231685#M865765</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-12-10T12:02:01Z</dc:date>
    </item>
  </channel>
</rss>

