<?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 count? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-count/m-p/986523#M951549</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As 5th jan 2015 falls on week 2, 'count of on' should count only 2 in column 'on',&lt;/P&gt;&lt;P&gt;similarly 'count of off' should count 2 in the column 'off'. Here as there is no 2 in off column, the result will be zero(0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jan 2016 04:50:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-12T04:50:28Z</dc:date>
    <item>
      <title>How to count?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count/m-p/986518#M951544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below screen shot is my input,&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/108588_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;I need the output as below,&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/108589_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;I have tried with some expressions, but I could not succeed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one help me with this.&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>Thu, 10 Dec 2015 05:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count/m-p/986518#M951544</guid>
      <dc:creator />
      <dc:date>2015-12-10T05:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to count?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count/m-p/986519#M951545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please explain the LOGIC how your getting that output ?? so that we can help you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 07:10:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count/m-p/986519#M951545</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-12-10T07:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to count?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count/m-p/986520#M951546</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;Can you please tell whats that count(on) and count (off) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14497325768133697 jive_text_macro" jivemacro_uid="_14497325768133697" modifiedtitle="true"&gt;
&lt;P&gt;Table:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;Week(Date) as Week,&lt;/P&gt;
&lt;P&gt;WeekStart(Date) as WeekStart,&lt;/P&gt;
&lt;P&gt;WeekEnd(Date) as WeekEnd,&lt;/P&gt;
&lt;P&gt;WeekDay(Date) as WeekDay,&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; * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5/1/2015&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; 10/1/2015&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14/1/2015&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15/1/2015&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 26/1/2015&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 29/1/2015&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3/2/2015&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7/2/2015&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/2/2015&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;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps for knowing week flow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Hirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 07:26:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count/m-p/986520#M951546</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2015-12-10T07:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to count?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count/m-p/986521#M951547</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Date AS ActualDate,&lt;/P&gt;&lt;P&gt;Date(MakeWeekDate(Year(Today(), OnWeekNumber), 'DD-MMM') AS Date,&lt;/P&gt;&lt;P&gt;1 AS OnCount&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(Data)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Data:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Date AS ActualDate,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Date(&lt;/SPAN&gt;MakeWeekDate(Year(Today(), OffWeekNumber)&lt;SPAN style="font-size: 13.3333px;"&gt;, 'DD-MMM')&lt;/SPAN&gt; AS Date,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;1 AS OffCount&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;FROM DataSource;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Now in chart try like below&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Dimension: Date&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Expression 1: Count of On&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=Sum(&lt;SPAN style="font-size: 13.3333px;"&gt;OnCount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Expression 1: Count of Off&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=Sum(&lt;SPAN style="font-size: 13.3333px;"&gt;OffCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Hope this helps you.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 07:28:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count/m-p/986521#M951547</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-12-10T07:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to count?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count/m-p/986522#M951548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I Think this is it.&lt;/P&gt;&lt;P&gt;Check the app&lt;IMG alt="asw.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/108609_asw.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 09:20:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count/m-p/986522#M951548</guid>
      <dc:creator>raajaswin</dc:creator>
      <dc:date>2015-12-10T09:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to count?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count/m-p/986523#M951549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As 5th jan 2015 falls on week 2, 'count of on' should count only 2 in column 'on',&lt;/P&gt;&lt;P&gt;similarly 'count of off' should count 2 in the column 'off'. Here as there is no 2 in off column, the result will be zero(0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 04:50:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count/m-p/986523#M951549</guid>
      <dc:creator />
      <dc:date>2016-01-12T04:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to count?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count/m-p/986524#M951550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that is the one. But if Iam trying the same by importing the data through excel, I could not get the exact output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 04:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count/m-p/986524#M951550</guid>
      <dc:creator />
      <dc:date>2016-01-12T04:53:29Z</dc:date>
    </item>
  </channel>
</rss>

