<?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: Create flag and count days in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-flag-and-count-days/m-p/491851#M183848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your load script you could set a flag and then count this.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 as Flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then count(flag)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Dec 2013 10:22:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-17T10:22:55Z</dc:date>
    <item>
      <title>Create flag and count days</title>
      <link>https://community.qlik.com/t5/QlikView/Create-flag-and-count-days/m-p/491850#M183847</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 table who I would like to add a column with "1" as a flag for each day so I could count the days.&lt;/P&gt;&lt;P&gt;What is the easiest way to do that? &lt;/P&gt;&lt;P&gt;&lt;IMG alt="RowCount.bmp" class="jive-image" src="https://community.qlik.com/legacyfs/online/50532_RowCount.bmp" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 10:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-flag-and-count-days/m-p/491850#M183847</guid>
      <dc:creator />
      <dc:date>2013-12-17T10:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create flag and count days</title>
      <link>https://community.qlik.com/t5/QlikView/Create-flag-and-count-days/m-p/491851#M183848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your load script you could set a flag and then count this.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 as Flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then count(flag)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 10:22:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-flag-and-count-days/m-p/491851#M183848</guid>
      <dc:creator />
      <dc:date>2013-12-17T10:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create flag and count days</title>
      <link>https://community.qlik.com/t5/QlikView/Create-flag-and-count-days/m-p/491852#M183849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your script either use &lt;/P&gt;&lt;P&gt;1 As Flag &lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;RowNo() As RowNo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then Count(Flag) or Count(RowNo)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 10:59:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-flag-and-count-days/m-p/491852#M183849</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2013-12-17T10:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create flag and count days</title>
      <link>https://community.qlik.com/t5/QlikView/Create-flag-and-count-days/m-p/491853#M183850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your st table you may just add an expression as count(1) and the expression total should give you the total count.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 11:00:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-flag-and-count-days/m-p/491853#M183850</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2013-12-17T11:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create flag and count days</title>
      <link>https://community.qlik.com/t5/QlikView/Create-flag-and-count-days/m-p/491854#M183851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can disregard the flag (not really needed to do a simple count) and use an expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(distinct Start_Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will always be work better if you have more than one line for each date in your source data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 12:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-flag-and-count-days/m-p/491854#M183851</guid>
      <dc:creator />
      <dc:date>2013-12-17T12:50:07Z</dc:date>
    </item>
  </channel>
</rss>

