<?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: Finding count of all Sundays in the Given Date Range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Finding-count-of-all-Sundays-in-the-Given-Date-Range/m-p/328153#M120814</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nandkishor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&amp;nbsp; (replace 'sun' to what you use):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=sum({&amp;lt;Date={"&amp;gt;=$(FromDate) &amp;lt;=$(ToDate)"}&amp;gt;} if(Weekday(Date)='sun', 1, 0))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hth/gg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2011 06:49:05 GMT</pubDate>
    <dc:creator>gandalfgray</dc:creator>
    <dc:date>2011-09-07T06:49:05Z</dc:date>
    <item>
      <title>Finding count of all Sundays in the Given Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-count-of-all-Sundays-in-the-Given-Date-Range/m-p/328152#M120813</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I want to Find Count of all Sundays in the Given Data Range i.e From And To Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; To Date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1-Sep-2011&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20-Sep-2011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nos Of Sundays = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How Can I achieve this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 05:57:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-count-of-all-Sundays-in-the-Given-Date-Range/m-p/328152#M120813</guid>
      <dc:creator />
      <dc:date>2011-09-07T05:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Finding count of all Sundays in the Given Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-count-of-all-Sundays-in-the-Given-Date-Range/m-p/328153#M120814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nandkishor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&amp;nbsp; (replace 'sun' to what you use):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=sum({&amp;lt;Date={"&amp;gt;=$(FromDate) &amp;lt;=$(ToDate)"}&amp;gt;} if(Weekday(Date)='sun', 1, 0))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hth/gg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 06:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-count-of-all-Sundays-in-the-Given-Date-Range/m-p/328153#M120814</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2011-09-07T06:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Finding count of all Sundays in the Given Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-count-of-all-Sundays-in-the-Given-Date-Range/m-p/328154#M120815</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;If it is single date column try this out for date column &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿=sum( if ( Weekday ( YourDateField ) = 'Sun', 1, 0 ) )&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;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 07:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-count-of-all-Sundays-in-the-Given-Date-Range/m-p/328154#M120815</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-09-07T07:02:29Z</dc:date>
    </item>
  </channel>
</rss>

