<?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 change to Sunday in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Weekstart-change-to-Sunday/m-p/497812#M1144770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try This:&lt;/P&gt;&lt;P&gt;Date(weekstart&lt;SPAN style="color: #800000;"&gt;([Re Date]&lt;/SPAN&gt;)-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Sep 2013 07:12:31 GMT</pubDate>
    <dc:creator>orital81</dc:creator>
    <dc:date>2013-09-09T07:12:31Z</dc:date>
    <item>
      <title>Weekstart change to Sunday</title>
      <link>https://community.qlik.com/t5/QlikView/Weekstart-change-to-Sunday/m-p/497810#M1144768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to change the weekstart to Sunday. I tried to change&amp;nbsp; &lt;SPAN style="color: #800000;"&gt;weekstart([Re Date],0,-1)&lt;/SPAN&gt; but it doesnt work. Below is my sceipt. &lt;/P&gt;&lt;P&gt;Please help! &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if( month(weekstart([Re Date]))= month([Re Date]),weekstart([Re Date]),&lt;BR /&gt;if(weekday(makedate(Year ([Re Date]),month([Re Date]),1))=5,makedate(Year ([Re Date]),month([Re Date]),3),&lt;BR /&gt;if(weekday(makedate(Year ([Re Date]),month([Re Date]),1))=6,makedate(Year ([Re Date]),month([Re Date]),2),makedate(Year ([Re Date]),month([Re Date]),1)))) &lt;BR /&gt;&amp;amp; ' to ' &amp;amp; &lt;BR /&gt;if( month(weekend([Re Date]))= month([Re Date]),makedate(year([Re Date]),month([Re Date]),day (weekend([Re Date]))-2),&lt;BR /&gt;if(weekday(monthend([Re Date]))=5,makedate(Year ([Re Date]),month([Re Date]),day(monthend([Re Date]))-1),&lt;BR /&gt;if(weekday(monthend([Re Date]))=6,makedate(Year ([Re Date]),month([Re Date]),day(monthend([Re Date]))-2),monthend([Re Date])))) as [App weekperiod],&lt;BR /&gt;if(week(makedate(year([Re Date]), month([Re Date]),1))&amp;gt;week([Re Date]), &lt;BR /&gt;week(makedate(year([Re Date]), month([Re Date]),1))+ &lt;BR /&gt;week([Re Date])- week(makedate(year([Re Date]), month([Re Date]),1))+1,&lt;BR /&gt;week([Re Date])- week(makedate(year([Re Date]), month([Re Date]),1))+1) as [App week]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 07:06:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekstart-change-to-Sunday/m-p/497810#M1144768</guid>
      <dc:creator />
      <dc:date>2013-09-09T07:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Weekstart change to Sunday</title>
      <link>https://community.qlik.com/t5/QlikView/Weekstart-change-to-Sunday/m-p/497811#M1144769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;weekstart([Re Date],0,6)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 07:09:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekstart-change-to-Sunday/m-p/497811#M1144769</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-09T07:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Weekstart change to Sunday</title>
      <link>https://community.qlik.com/t5/QlikView/Weekstart-change-to-Sunday/m-p/497812#M1144770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try This:&lt;/P&gt;&lt;P&gt;Date(weekstart&lt;SPAN style="color: #800000;"&gt;([Re Date]&lt;/SPAN&gt;)-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 07:12:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekstart-change-to-Sunday/m-p/497812#M1144770</guid>
      <dc:creator>orital81</dc:creator>
      <dc:date>2013-09-09T07:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Weekstart change to Sunday</title>
      <link>https://community.qlik.com/t5/QlikView/Weekstart-change-to-Sunday/m-p/497813#M1144771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;still not working...&lt;BR /&gt;&lt;SPAN lang="EN" style="font-family: 'Helvetica','sans-serif'; color: #3d3d3d; font-size: 10pt;"&gt;if( month(weekstart([Re Date],&lt;SPAN style="text-decoration: underline;"&gt;0,6&lt;/SPAN&gt;))= month([Re Date]),weekstart([Re Date],&lt;SPAN style="text-decoration: underline;"&gt;0,6&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-family: 'Helvetica','sans-serif'; color: #3d3d3d; font-size: 10pt;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-family: 'Helvetica','sans-serif'; color: #3d3d3d; font-size: 10pt;"&gt;If there is any other areas that I need to amend.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 07:27:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekstart-change-to-Sunday/m-p/497813#M1144771</guid>
      <dc:creator />
      <dc:date>2013-09-09T07:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Weekstart change to Sunday</title>
      <link>https://community.qlik.com/t5/QlikView/Weekstart-change-to-Sunday/m-p/497814#M1144772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;still not working...&lt;BR /&gt;&lt;SPAN lang="EN" style="font-family: 'Helvetica','sans-serif'; color: #3d3d3d; font-size: 10pt;"&gt;if( month(weekstart([Re Date]-1))= month([Re Date]),weekstart([Re Date]-1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-family: 'Helvetica','sans-serif'; color: #3d3d3d; font-size: 10pt;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-family: 'Helvetica','sans-serif'; color: #3d3d3d; font-size: 10pt;"&gt;If there is any other areas that I need to amend.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 07:28:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekstart-change-to-Sunday/m-p/497814#M1144772</guid>
      <dc:creator />
      <dc:date>2013-09-09T07:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Weekstart change to Sunday</title>
      <link>https://community.qlik.com/t5/QlikView/Weekstart-change-to-Sunday/m-p/497815#M1144773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this blog post: &lt;A _jive_internal="true" class="font-color-normal" href="https://community.qlik.com/blogs/qlikviewdesignblog/2012/10/23/ancient-gods" style="font-style: inherit; font-family: inherit; color: #3d3d3d;"&gt;Ancient Gods and Modern Days&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 07:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekstart-change-to-Sunday/m-p/497815#M1144773</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-09-09T07:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Weekstart change to Sunday</title>
      <link>https://community.qlik.com/t5/QlikView/Weekstart-change-to-Sunday/m-p/497816#M1144774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try :&lt;/P&gt;&lt;P&gt;=WEEKDAY(Floor(WEEKDAY([Re Date])+8))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 07:41:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekstart-change-to-Sunday/m-p/497816#M1144774</guid>
      <dc:creator />
      <dc:date>2013-09-09T07:41:34Z</dc:date>
    </item>
  </channel>
</rss>

