<?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 How Change the beginning day of a week from Monday to some other Day? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198971#M58085</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;I'm using the weekday function on a date field in a dimension of a bar chart. Is there a way to change the first shown day (Monday)? That's because my fiscal week starts on Sunday. If you already answerd to this in this topic, sorry but I didn't understand that completely.&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jan 2011 19:13:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-07T19:13:00Z</dc:date>
    <item>
      <title>How Change the beginning day of a week from Monday to some other Day?</title>
      <link>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198964#M58078</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;In Qlikview the week begins on Monday.Is there any shorter way to start the week from Saturday or any other day?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks All.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 13:26:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198964#M58078</guid>
      <dc:creator>syed_muzammil</dc:creator>
      <dc:date>2010-11-23T13:26:34Z</dc:date>
    </item>
    <item>
      <title>How Change the beginning day of a week from Monday to some other Day?</title>
      <link>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198965#M58079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depends on what you are trying to do.&lt;/P&gt;&lt;P&gt;If you want to display the weekdays in a chart in the correct order, you can load an table mapping the weekdays to the correct order and then order them by this column value.&lt;/P&gt;&lt;P&gt;If you are using it in a calculation, remember that weekday is also a number and you can use someting like " WEEKDAY(DATE) -1 " to move your first day from monday to sunday&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 18:46:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198965#M58079</guid>
      <dc:creator>fernandotoledo</dc:creator>
      <dc:date>2010-11-23T18:46:01Z</dc:date>
    </item>
    <item>
      <title>How Change the beginning day of a week from Monday to some other Day?</title>
      <link>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198966#M58080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Fernando D. T. wrote:Depends on what you are trying to do.&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Quoted for emphasis.&lt;/P&gt;&lt;P&gt;Yes, you can make weeks start on Saturday or any other day. How best to do this depends entirely on what your data looks like and what you're trying to do. So what does your data look like, and what are you trying to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 20:44:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198966#M58080</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-23T20:44:26Z</dc:date>
    </item>
    <item>
      <title>How Change the beginning day of a week from Monday to some other Day?</title>
      <link>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198967#M58081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your replies. I have a Pivot table with Year, Month, Week,WeekDay and Day as Dimensions. For now the Week days are shown from Monday to Sunday per week, but the Client wants its week to begin from Saturday to Friday. I have tried everything i could ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Syed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 09:10:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198967#M58081</guid>
      <dc:creator>syed_muzammil</dc:creator>
      <dc:date>2010-11-24T09:10:56Z</dc:date>
    </item>
    <item>
      <title>How Change the beginning day of a week from Monday to some other Day?</title>
      <link>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198968#M58082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;weekstart(Date,0,-2) as Week,&lt;BR /&gt;dual(weekday(Date),mod(weekday(Date)+2,7)) as WeekDay,&lt;/P&gt;&lt;P&gt;I'm not sure if this is quite how you want your weeks defined, though. For instance, you might want a numeric week number, which is a little more work, and also requires me to know your definition of week number, since conventions vary widely. But as far as the week start, I suspect that would work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 18:55:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198968#M58082</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-24T18:55:54Z</dc:date>
    </item>
    <item>
      <title>How Change the beginning day of a week from Monday to some other Day?</title>
      <link>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198969#M58083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks a lot John. The solution fits exactly into my requirement except for a very small change.&lt;/P&gt;&lt;P&gt;mod(weekday(Date)+2&lt;STRONG&gt;,7&lt;/STRONG&gt;&lt;STRONG&gt;)&lt;/STRONG&gt; instead of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;mod(weekday(Date)+2&lt;STRONG&gt;,6&lt;/STRONG&gt;&lt;STRONG&gt;)&lt;/STRONG&gt; &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks once Again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Nov 2010 21:43:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198969#M58083</guid>
      <dc:creator>syed_muzammil</dc:creator>
      <dc:date>2010-11-27T21:43:31Z</dc:date>
    </item>
    <item>
      <title>How Change the beginning day of a week from Monday to some other Day?</title>
      <link>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198970#M58084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oops! You don't use 6-day weeks? &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;OK, fixed the previous post for anyone looking for the answer for similar questions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 18:56:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198970#M58084</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-29T18:56:46Z</dc:date>
    </item>
    <item>
      <title>How Change the beginning day of a week from Monday to some other Day?</title>
      <link>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198971#M58085</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;I'm using the weekday function on a date field in a dimension of a bar chart. Is there a way to change the first shown day (Monday)? That's because my fiscal week starts on Sunday. If you already answerd to this in this topic, sorry but I didn't understand that completely.&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 19:13:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198971#M58085</guid>
      <dc:creator />
      <dc:date>2011-01-07T19:13:00Z</dc:date>
    </item>
    <item>
      <title>How Change the beginning day of a week from Monday to some other Day?</title>
      <link>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198972#M58086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if this is the best way, but it's one way. Before you load your main data, do this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;[Weekday Sort Order]:&lt;BR /&gt;LOAD weekday(makedate(2011,1,1)+recno()) as Weekday&lt;BR /&gt;AUTOGENERATE 7;&lt;/P&gt;&lt;P&gt;And then after you load your main data, do this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;DROP TABLE [Weekday Sort Order];&lt;/P&gt;&lt;P&gt;Then sort your table by original load order instead of numeric order. Probably change your default sort order for the field too. See attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 19:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198972#M58086</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-01-07T19:39:19Z</dc:date>
    </item>
    <item>
      <title>How Change the beginning day of a week from Monday to some other Day?</title>
      <link>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198973#M58087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John, thanks for your answer but it's not working for me. This is what I did:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Weekday Sort Order]:&lt;BR /&gt;LOAD weekday(makedate(2011,1,1)+recno()) as MasterCalendar_Shipments_Weekday&lt;BR /&gt;AUTOGENERATE 7;&lt;/P&gt;&lt;P&gt;MasterCalendar_Shipments:&lt;BR /&gt;Load *,&lt;BR /&gt;DayStart(MasterCalendar_Shipments_Date) as MasterCalendar_Shipments_ID_Date&lt;BR /&gt;where exists(MasterCalendar_Shipments_ID_Date, DayStart(MasterCalendar_Shipments_Date));&lt;BR /&gt;LOAD&lt;BR /&gt;Date(Date,'DD/MM/YYYY') as MasterCalendar_Shipments_Date,&lt;BR /&gt;weekday(Date(Date,'DD/MM/YYYY')) as MasterCalendar_Shipments_Weekday&lt;/P&gt;&lt;P&gt;FROM Master_Dates.xls&lt;BR /&gt;(biff, embedded labels, table is Master_Dates$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE [Weekday Sort Order];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(The first load of the MasterCalendar_Shipments table is needed to link the calendar to other tables and to keep only the available dates)&lt;/P&gt;&lt;P&gt;Then I built the object using as dimension MasterCalendar_Shipments_Weekday and ordering by original load order but nothing changed. Can you guess where I'm wrong? Thanks again for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 11:49:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198973#M58087</guid>
      <dc:creator />
      <dc:date>2011-01-12T11:49:30Z</dc:date>
    </item>
    <item>
      <title>How Change the beginning day of a week from Monday to some other Day?</title>
      <link>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198974#M58088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That all looks right to me. I'm not sure where it would be going wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 22:35:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198974#M58088</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-01-12T22:35:49Z</dc:date>
    </item>
    <item>
      <title>How Change the beginning day of a week from Monday to some other Day?</title>
      <link>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198975#M58089</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 changed the order of the DayNames in the document settings of my script and it worked well for me. Hopefully this helps someone. See below.. &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&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;/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;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;/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;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;/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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;SET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;DayNames='Sun;Mon;Tue;Wed;Thu;Fri;Sat';&lt;B&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 17:31:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198975#M58089</guid>
      <dc:creator />
      <dc:date>2011-04-27T17:31:52Z</dc:date>
    </item>
    <item>
      <title>How Change the beginning day of a week from Monday to some other Day?</title>
      <link>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198976#M58090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;talleyrobyn wrote:Hi, I changed the order of the DayNames in the document settings of my script and it worked well for me. Hopefully this helps someone. See below.. &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;BR /&gt;SET DayNames='Sun;Mon;Tue;Wed;Thu;Fri;Sat';&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;STRONG&gt;VERY bad idea.&lt;/STRONG&gt; Your weeks might &lt;EM&gt;look&lt;/EM&gt; like they start with Sunday, but that's because you're calling Monday Sunday. See attached. April 4 is not Sunday as displayed in the first column, it's Monday. We can see this in the second column. Likewise, if we use the weekstart() function on our date, our weeks still start on Mondays - March 28, April 4, etc.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 20:25:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Change-the-beginning-day-of-a-week-from-Monday-to-some-other/m-p/198976#M58090</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-04-27T20:25:18Z</dc:date>
    </item>
  </channel>
</rss>

