<?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 and week end dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841669#M295798</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Kush,&lt;/P&gt;&lt;P&gt;&amp;nbsp; thank you very much for reply but for all country the week start date is same (i mean monday to sunday ) but for each country has to start one weekday like below.&lt;/P&gt;&lt;P&gt;IND&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----&amp;gt; Friday-Thursday&lt;/P&gt;&lt;P&gt;CANADA ----&amp;gt;wednesday-Tuseday&lt;/P&gt;&lt;P&gt;China&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -----&amp;gt;Monday - sunday&lt;/P&gt;&lt;P&gt;IND&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ------&amp;gt;Monday-Sunday&lt;/P&gt;&lt;P&gt;Japan&amp;nbsp;&amp;nbsp;&amp;nbsp; ------&amp;gt;Saturday-Friday&lt;/P&gt;&lt;P&gt;USA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ------&amp;gt;Friday-Thursday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please give any suggesion on this .thank you very much for advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jun 2015 12:19:12 GMT</pubDate>
    <dc:creator>ravindraa</dc:creator>
    <dc:date>2015-06-17T12:19:12Z</dc:date>
    <item>
      <title>weekstart and week end dates</title>
      <link>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841662#M295791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts ,&lt;/P&gt;&lt;P&gt;i Have struck one place please give me any suggesion to come out. my requirement is i have date,country,sales fileds ,i have to show the sales as week wise for this i have created weekstart filed using that i am creating charts , in those charts i have to display one charts last 10 week data&amp;nbsp; and while creating chart i have to consider week satrt and week end dates as differnet for each country , so per i have used only one method i didn't use like this type of rquirement please give me any suggesion .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my requirement is using date filed i have created weeksatrted date filed normaly it is displaying dates monday to sunday , but in my rquiremnent for&lt;/P&gt;&lt;P&gt;IND&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----&amp;gt; Friday-Thursday&lt;/P&gt;&lt;P&gt;CANADA ----&amp;gt;wednesday-Tuseday&lt;/P&gt;&lt;P&gt;China&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -----&amp;gt;Monday - sunday&lt;/P&gt;&lt;P&gt;Japan&amp;nbsp;&amp;nbsp;&amp;nbsp; ------&amp;gt;Saturday-Friday&lt;/P&gt;&lt;P&gt;USA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ------&amp;gt;Friday-Thursday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like wise i have to displaythe data but in dimention i have to use only weekstart field only , please give me any suggesion.&lt;/P&gt;&lt;P&gt;please find the attachement doc and application.&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 09:43:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841662#M295791</guid>
      <dc:creator>ravindraa</dc:creator>
      <dc:date>2015-06-17T09:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: weekstart and week end dates</title>
      <link>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841663#M295792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at the &lt;EM&gt;weekoffset&lt;/EM&gt; parameter to the &lt;EM&gt;WeekStart()&lt;/EM&gt; and &lt;EM&gt;WeekEnd()&lt;/EM&gt; functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Entry from the Help pasted in below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor513"&gt;&lt;/A&gt;&lt;A name="WeekStart"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;WeekStart(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;date [, shift = 0 [,weekoffset = 0]]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Returns a value corresponding to a timestamp with the first millisecond of the first date ( Monday ) of the calendar week containing &lt;SPAN class="Italic"&gt;date&lt;/SPAN&gt;. The default output format will be the DateFormat set in the script. &lt;SPAN class="Italic"&gt;Shift&lt;/SPAN&gt; is an integer, where the value 0 indicates the week which contains &lt;SPAN class="Italic"&gt;date&lt;/SPAN&gt;. Negative values in shift indicate preceding weeks and positive values indicate succeeding weeks. If you want to work with weeks not starting midnight between Sunday and Monday, indicate an offset in days in &lt;SPAN class="Italic"&gt;weekoffset&lt;/SPAN&gt;. This may be given as a real number indicating days and/or fractions of a day. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;weekstart ( '2006-01-12' )&lt;/SPAN&gt; returns '2006-01-09' with an underlying numeric value corresponding to '2006-01-09 00:00:00.000'&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;weekstart ( '2006-01-12', -1 )&lt;/SPAN&gt; returns '2006-01-02' with an underlying numeric value corresponding to '2006-01-02 00:00:00.000'&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;weekstart ( '2006-01-12', 0, 1 )&lt;/SPAN&gt; returns '2006-01-10' with an underlying numeric value corresponding to '2006-01-10 00:00:00.000'&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor514"&gt;&lt;/A&gt;&lt;A name="WeekEnd"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;WeekEnd(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;date [, shift = 0 [,weekoffset = 0]]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Returns a value corresponding to a timestamp with the last millisecond of the last date ( Sunday ) of the calendar week containing &lt;SPAN class="Italic"&gt;date&lt;/SPAN&gt; The default output format will be the DateFormat set in the script. &lt;SPAN class="Italic"&gt;Shift&lt;/SPAN&gt; is an integer, where the value 0 indicates the week which contains &lt;SPAN class="Italic"&gt;date&lt;/SPAN&gt;. Negative values in &lt;SPAN class="Italic"&gt;shift&lt;/SPAN&gt; indicate preceding weeks and positive values indicate succeeding weeks. If you want to work with weeks not starting midnight between Sunday and Monday, indicate an offset in days in &lt;SPAN class="Italic"&gt;weekoffset&lt;/SPAN&gt;. This may be given as a real number indicating days and/or fractions of a day. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;weekend ( '2006-01-12' )&lt;/SPAN&gt; returns '2006-01-15' with an underlying numeric value corresponding to '2006-01-15 23:59:59.999'&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;weekend ( '2006-01-12', -1 )&lt;/SPAN&gt; returns '2006-01-08' with an underlying numeric value corresponding to '2006-01-08 23:59:59.999'&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;weekend ( '2006-01-12', 0, 1 )&lt;/SPAN&gt; returns '2006-01-16' with an underlying numeric value corresponding to '2006-01-16 23:59:59.999'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 09:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841663#M295792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-17T09:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: weekstart and week end dates</title>
      <link>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841664#M295793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill Markham,&lt;/P&gt;&lt;P&gt;&amp;nbsp; thanks for replay but i need differnet weekstart and end date as country wise please find the attached documents . please give me any suggesion on this.&lt;/P&gt;&lt;P&gt;Thanks in advance all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 09:57:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841664#M295793</guid>
      <dc:creator>ravindraa</dc:creator>
      <dc:date>2015-06-17T09:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: weekstart and week end dates</title>
      <link>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841665#M295794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you seem to have started doing have an&lt;EM&gt; if&lt;/EM&gt; statement and or each country do it the appropriate way for that country.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 10:05:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841665#M295794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-17T10:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: weekstart and week end dates</title>
      <link>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841666#M295795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill Markham,&lt;/P&gt;&lt;P&gt;&amp;nbsp; it is not giving values , please give me right way direction . thank in advance Bill Markham.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 10:31:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841666#M295795</guid>
      <dc:creator>ravindraa</dc:creator>
      <dc:date>2015-06-17T10:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: weekstart and week end dates</title>
      <link>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841667#M295796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please look into this and give to me some suggesion , whether it is possible in Qlikview or not if possible kindly tell me some suggsion to come out from this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 10:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841667#M295796</guid>
      <dc:creator>ravindraa</dc:creator>
      <dc:date>2015-06-17T10:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: weekstart and week end dates</title>
      <link>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841668#M295797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please see the attached file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 10:59:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841668#M295797</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-06-17T10:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: weekstart and week end dates</title>
      <link>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841669#M295798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Kush,&lt;/P&gt;&lt;P&gt;&amp;nbsp; thank you very much for reply but for all country the week start date is same (i mean monday to sunday ) but for each country has to start one weekday like below.&lt;/P&gt;&lt;P&gt;IND&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----&amp;gt; Friday-Thursday&lt;/P&gt;&lt;P&gt;CANADA ----&amp;gt;wednesday-Tuseday&lt;/P&gt;&lt;P&gt;China&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -----&amp;gt;Monday - sunday&lt;/P&gt;&lt;P&gt;IND&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ------&amp;gt;Monday-Sunday&lt;/P&gt;&lt;P&gt;Japan&amp;nbsp;&amp;nbsp;&amp;nbsp; ------&amp;gt;Saturday-Friday&lt;/P&gt;&lt;P&gt;USA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ------&amp;gt;Friday-Thursday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please give any suggesion on this .thank you very much for advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 12:19:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841669#M295798</guid>
      <dc:creator>ravindraa</dc:creator>
      <dc:date>2015-06-17T12:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: weekstart and week end dates</title>
      <link>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841670#M295799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravindra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't look at the &lt;STRONG&gt;Weekstar_c&lt;/STRONG&gt; &amp;amp; &lt;STRONG&gt;countries&lt;/STRONG&gt; field, look at the &lt;STRONG&gt;WeekStart&lt;/STRONG&gt; &amp;amp; &lt;STRONG&gt;Contry&lt;/STRONG&gt; field which I have created in the script.&lt;/P&gt;&lt;P&gt;It's working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 06:32:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841670#M295799</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-06-18T06:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: weekstart and week end dates</title>
      <link>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841671#M295800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kush,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thank you very much for heling it is working fine thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 06:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weekstart-and-week-end-dates/m-p/841671#M295800</guid>
      <dc:creator>ravindraa</dc:creator>
      <dc:date>2015-06-18T06:45:35Z</dc:date>
    </item>
  </channel>
</rss>

