<?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: Weekstart should be based on weekday in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Weekstart-should-be-based-on-weekday/m-p/1103524#M917314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a minor correction, I think WeekDay start counting from 0&lt;/P&gt;&lt;P&gt;(equals Monday, using default weekday counting, i.e. if not changed in script in a recent QV version).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence Tuesday would probably be represented by 1, this should be used as weekstart offset when you want to start the week on midnight between monday and tuesday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;weekstart ( '2016-01-12', 0, &lt;STRONG&gt;1&lt;/STRONG&gt; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 May 2016 09:35:36 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-05-10T09:35:36Z</dc:date>
    <item>
      <title>Weekstart should be based on weekday</title>
      <link>https://community.qlik.com/t5/QlikView/Weekstart-should-be-based-on-weekday/m-p/1103522#M917312</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;My issue is, I need to create a calendar in which weekstart date should change according to my weekday. Ex. If I select weekday as Tuesday then my weekstart date should automatically change to Tuesday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yasmeen&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/Weekstart-should-be-based-on-weekday/m-p/1103522#M917312</guid>
      <dc:creator>yasmeenk</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Weekstart should be based on weekday</title>
      <link>https://community.qlik.com/t5/QlikView/Weekstart-should-be-based-on-weekday/m-p/1103523#M917313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Weekstart function accepts an parameter for the day that should be used as the start of the week: weekstart ( '2016-01-12', 0, &lt;STRONG&gt;2&lt;/STRONG&gt; ). If that should depend on a selection then use a variable with an expressions that calculates the weekday number of the selected day and use that weekstart ( '2016-01-12', 0, $(vWeekDayNumber) )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 09:13:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekstart-should-be-based-on-weekday/m-p/1103523#M917313</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-05-10T09:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Weekstart should be based on weekday</title>
      <link>https://community.qlik.com/t5/QlikView/Weekstart-should-be-based-on-weekday/m-p/1103524#M917314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a minor correction, I think WeekDay start counting from 0&lt;/P&gt;&lt;P&gt;(equals Monday, using default weekday counting, i.e. if not changed in script in a recent QV version).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence Tuesday would probably be represented by 1, this should be used as weekstart offset when you want to start the week on midnight between monday and tuesday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;weekstart ( '2016-01-12', 0, &lt;STRONG&gt;1&lt;/STRONG&gt; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 09:35:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekstart-should-be-based-on-weekday/m-p/1103524#M917314</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-10T09:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Weekstart should be based on weekday</title>
      <link>https://community.qlik.com/t5/QlikView/Weekstart-should-be-based-on-weekday/m-p/1103525#M917315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're absolutely right. I often get this mixed up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 09:49:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekstart-should-be-based-on-weekday/m-p/1103525#M917315</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-05-10T09:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Weekstart should be based on weekday</title>
      <link>https://community.qlik.com/t5/QlikView/Weekstart-should-be-based-on-weekday/m-p/1103526#M917316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Me too. Index start is not consistent in Qlik between functions &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 09:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekstart-should-be-based-on-weekday/m-p/1103526#M917316</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-10T09:52:49Z</dc:date>
    </item>
  </channel>
</rss>

