<?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: How to display dates in a week in a Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-display-dates-in-a-week-in-a-Pivot-Table/m-p/457107#M170658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would use either &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;weekstart (Date) &amp;amp;'-'&amp;amp; weekend(Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date &amp;amp;'-'&amp;amp; date( Date -7)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jun 2013 14:24:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-06-10T14:24:55Z</dc:date>
    <item>
      <title>How to display dates in a week in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-dates-in-a-week-in-a-Pivot-Table/m-p/457106#M170657</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;I had to offset a week to suit a particular buying week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now need to display the date range contained in the week in a pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, Week 21 contains: 01/04/2013 - 07/04/2013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I display the dates for this week, I will have to display the last 3 weeks figures etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried lunarweek and weekstart functions but I cant get it working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Gregg &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 14:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-dates-in-a-week-in-a-Pivot-Table/m-p/457106#M170657</guid>
      <dc:creator />
      <dc:date>2013-06-10T14:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to display dates in a week in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-dates-in-a-week-in-a-Pivot-Table/m-p/457107#M170658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would use either &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;weekstart (Date) &amp;amp;'-'&amp;amp; weekend(Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date &amp;amp;'-'&amp;amp; date( Date -7)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 14:24:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-dates-in-a-week-in-a-Pivot-Table/m-p/457107#M170658</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-10T14:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to display dates in a week in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-dates-in-a-week-in-a-Pivot-Table/m-p/457108#M170659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;I need to pass in the new week that I created as the Date field is separate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;The new week = BR and contains 7 dates&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;If I use the formula below it uses the bultin calendar week Monday – Sunday&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;I need to use Friday – Thursday&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;Gregg&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 14:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-dates-in-a-week-in-a-Pivot-Table/m-p/457108#M170659</guid>
      <dc:creator />
      <dc:date>2013-06-10T14:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to display dates in a week in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-dates-in-a-week-in-a-Pivot-Table/m-p/457109#M170660</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;I used the weekstart and weekend function and got it working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the Today() function which denotes week (a bit confusing but it works)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WeekStart(Today(),-1,-10)&amp;amp; ' -&amp;nbsp; ' &amp;amp;WeekEnd(Today(),-1,+4) as *********&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Gregg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 09:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-dates-in-a-week-in-a-Pivot-Table/m-p/457109#M170660</guid>
      <dc:creator />
      <dc:date>2013-06-13T09:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to display dates in a week in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-dates-in-a-week-in-a-Pivot-Table/m-p/457110#M170661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi Gregg,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Let me know if this works&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DUAL(PICK(WEEKDAY(Date) + 1, 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'), WeekDay(Date - 3)) AS ThuFriWeekDay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week(Date-3) AS ThuFriWeekNo,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 09:23:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-dates-in-a-week-in-a-Pivot-Table/m-p/457110#M170661</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-06-13T09:23:39Z</dc:date>
    </item>
  </channel>
</rss>

