<?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 of Saturday in whole month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048052#M352155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not Sunny, but have you tried my expressions I've suggested above?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Apr 2016 08:42:05 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-04-11T08:42:05Z</dc:date>
    <item>
      <title>Count of Saturday in whole month</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048045#M352148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Example,&lt;/P&gt;&lt;P&gt;April 2016 has 30 days and 5 Saturdays.&lt;/P&gt;&lt;P&gt;I want to count only those 5 &lt;SPAN style="font-size: 13.3333px;"&gt;Saturdays&lt;/SPAN&gt;,even if they aren't passed.&lt;/P&gt;&lt;P&gt;For instance today is(4th Apr 2016) Still the count should be 5 &lt;SPAN style="font-size: 13.3333px;"&gt;Saturdays&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;This should work for every month.&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;Mohammad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 11:14:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048045#M352148</guid>
      <dc:creator>mohammadkhatimi</dc:creator>
      <dc:date>2016-04-04T11:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Saturday in whole month</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048046#M352149</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;You can create a flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load if(WeekDay(Date) = 'Sat',1,0) as SatFlag&lt;/P&gt;&lt;P&gt;From xyz;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then use the Sum(SatFlag) in chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 11:16:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048046#M352149</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-04-04T11:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Saturday in whole month</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048047#M352150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you wanting to do this in the script or the front end?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 11:16:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048047#M352150</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-04T11:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Saturday in whole month</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048048#M352151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Div(WEEKDAY(StartDate-6)+1-StartDate+EndDate,7)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Div(WEEKDAY(Monthstart(today())-6)+1-Monthstart(today())+Floor(MonthEnd(today())),7)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to count the number of saturdays in a date range (StartDate, EndDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or use a master calendar with added Weekday Count data, like indicated above (but maybe with additional monthly aggregations).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 11:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048048#M352151</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-04T11:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Saturday in whole month</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048049#M352152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Sunny in frontend...&lt;/P&gt;&lt;P&gt;I want Count of Satudary is 5...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 05:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048049#M352152</guid>
      <dc:creator>mohammadkhatimi</dc:creator>
      <dc:date>2016-04-11T05:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Saturday in whole month</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048050#M352153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(If(weekDay(date_field)='Sat',1,0))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 05:49:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048050#M352153</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-04-11T05:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Saturday in whole month</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048051#M352154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;sunindia&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Please help me with this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 06:57:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048051#M352154</guid>
      <dc:creator>mohammadkhatimi</dc:creator>
      <dc:date>2016-04-11T06:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Saturday in whole month</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048052#M352155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not Sunny, but have you tried my expressions I've suggested above?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 08:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048052#M352155</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-11T08:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Saturday in whole month</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048053#M352156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would seriously suggest you to try Stefan's provided solution. More often then not his solutions are the best you will find on the community. So I urge you to not disregard his responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it still doesn't work, then I don't mind chipping in, but I doubt that's going to happen &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 10:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048053#M352156</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-11T10:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Saturday in whole month</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048054#M352157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohammad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to calculate the number of Saturdays in a month(April), it all depends on if you have data for the rest of the month (ie. after the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;4th Apr 2016).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The formula - '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;&lt;STRONG&gt;Sum(If(weekDay(date_field)='Sat',1,0))&lt;/STRONG&gt;&lt;/EM&gt;' will work but, i&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;f you only have data up until the &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;4th Apr 2016 then the answer will be 1, if you have data for the whole of April 2016 it will be 5&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 11:03:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048054#M352157</guid>
      <dc:creator />
      <dc:date>2016-04-11T11:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Saturday in whole month</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048055#M352158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont have the data for the future saturdays that's the main problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me with this issue... for the future saturdays only for the current month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 11:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048055#M352158</guid>
      <dc:creator>mohammadkhatimi</dc:creator>
      <dc:date>2016-04-12T11:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Saturday in whole month</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048056#M352159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to do this in the master calendar. My date is linked with Master Calendar, so the data wont be there for future dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I want the solution which will help me to count the saturdays.. which are not present in the dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 11:18:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048056#M352159</guid>
      <dc:creator>mohammadkhatimi</dc:creator>
      <dc:date>2016-04-12T11:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Saturday in whole month</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048057#M352160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, but could you clarify why my suggested expression using Div() is not working for you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if you are using a SalesDate field and what to get the number of saturdays in the month the SalesDate is located in, you should be able to use something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Div(WEEKDAY(Monthstart(SalesDate)-6)+1-Monthstart(SalesDate)+Floor(MonthEnd(SalesDate)),7)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Used e.g. in an expression in a chart with dimension SalesDate, or in a text box with a single SalesDate selected. Use aggregation functions like Max() around SalesDate when there are multiple SalesDate in the record set of your expression's scope]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Maybe you can just post some sample records with your expected results to understand better what your issue is.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 11:28:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048057#M352160</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-12T11:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Saturday in whole month</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048058#M352161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to create the Future dates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was answered in this previous post :&lt;/P&gt;&lt;H1 style="font-size: 26px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/H1&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/189789"&gt;Past and future dates in the same table&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 11:57:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048058#M352161</guid>
      <dc:creator />
      <dc:date>2016-04-12T11:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Saturday in whole month</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048059#M352162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 12:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1048059#M352162</guid>
      <dc:creator>mohammadkhatimi</dc:creator>
      <dc:date>2016-04-12T12:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Saturday in whole month</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1668015#M449279</link>
      <description>&lt;P&gt;on behalf of the nhs thanQ for sharing for free ...&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 08:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Saturday-in-whole-month/m-p/1668015#M449279</guid>
      <dc:creator>cspindley</dc:creator>
      <dc:date>2020-01-22T08:29:41Z</dc:date>
    </item>
  </channel>
</rss>

