<?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: Group date by calendar week in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Group-date-by-calendar-week-in-pivot-table/m-p/2015577#M1221894</link>
    <description>&lt;P&gt;Yes, I was just reading about set analysis. I'm pretty new to Qlik so I'm not very familar with it yet.&amp;nbsp;&lt;BR /&gt;I tried using your suggestion in my expression, but I get an undescriptive error. With what little I know about set analysis, I don't get what the '&amp;gt;' is used for just before the Today function.&lt;/P&gt;
&lt;P&gt;This is the code I used:&lt;/P&gt;
&lt;P&gt;=Sum({&amp;lt;[Project Start Date]={"&amp;gt;Today()-30"} &amp;gt;} PlannedHours)&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2022 17:07:25 GMT</pubDate>
    <dc:creator>Red_Hare</dc:creator>
    <dc:date>2022-12-12T17:07:25Z</dc:date>
    <item>
      <title>Group date by calendar week in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Group-date-by-calendar-week-in-pivot-table/m-p/2014571#M1221866</link>
      <description>&lt;P&gt;Hi, I'm trying to create a pivot table that uses a CreatedDate field that groups the data in the last 30 days and then groups the columns by the work week. Pretty much exactly how this SFDC report is structured. Does anyone have an idea on how I can do this?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Red_Hare_0-1670534919976.png" style="width: 774px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/95797i662C5B830EAB46E6/image-dimensions/774x89?v=v2" width="774" height="89" role="button" title="Red_Hare_0-1670534919976.png" alt="Red_Hare_0-1670534919976.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 15:03:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-date-by-calendar-week-in-pivot-table/m-p/2014571#M1221866</guid>
      <dc:creator>Red_Hare</dc:creator>
      <dc:date>2022-12-12T15:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Group date by calendar week in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Group-date-by-calendar-week-in-pivot-table/m-p/2015086#M1221882</link>
      <description>&lt;P&gt;Well done.&lt;BR /&gt;Did you encounter any particular issue while doing so?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Dec 2022 12:00:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-date-by-calendar-week-in-pivot-table/m-p/2015086#M1221882</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2022-12-10T12:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Group date by calendar week in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Group-date-by-calendar-week-in-pivot-table/m-p/2015501#M1221890</link>
      <description>&lt;P&gt;Hi, sorry, I meant to form this as a question. I'm new to Qlik and wasn't sure how to go about coding something like this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 15:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-date-by-calendar-week-in-pivot-table/m-p/2015501#M1221890</guid>
      <dc:creator>Red_Hare</dc:creator>
      <dc:date>2022-12-12T15:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Group date by calendar week in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Group-date-by-calendar-week-in-pivot-table/m-p/2015505#M1221891</link>
      <description>&lt;P&gt;WeekName(Date) should presumably work, though the formatting will be different. If you need this specific format you can achieve it using WeekStart() and WeekStart()+6. Do note that in a 30 day period, you could have as many as six weeks present, and the first and last weeks may be partial (at least one of them is certain to be). &lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 15:10:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-date-by-calendar-week-in-pivot-table/m-p/2015505#M1221891</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-12-12T15:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Group date by calendar week in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Group-date-by-calendar-week-in-pivot-table/m-p/2015525#M1221892</link>
      <description>&lt;P&gt;Thanks for the function recommendation, although I'm not sure how I should use it. I have a field [Project Start Date] which contains dates that go back a few years. If I only wanted to show those fields where the Project Start Date is within the last month how would I do that? After that, I then would need to format the columns such that they appear in the example I mentioned above.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 15:36:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-date-by-calendar-week-in-pivot-table/m-p/2015525#M1221892</guid>
      <dc:creator>Red_Hare</dc:creator>
      <dc:date>2022-12-12T15:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Group date by calendar week in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Group-date-by-calendar-week-in-pivot-table/m-p/2015532#M1221893</link>
      <description>&lt;P&gt;Something along the lines of: Sum({&amp;lt; Project Start Date = &lt;STRONG&gt;{"&amp;gt;Today()-30"} &lt;/STRONG&gt;&amp;gt;} PlannedHours)&lt;/P&gt;
&lt;P&gt;I'd suggest reading up on set analysis to better understand how to do this sort of thing in a general sense.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 15:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-date-by-calendar-week-in-pivot-table/m-p/2015532#M1221893</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-12-12T15:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Group date by calendar week in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Group-date-by-calendar-week-in-pivot-table/m-p/2015577#M1221894</link>
      <description>&lt;P&gt;Yes, I was just reading about set analysis. I'm pretty new to Qlik so I'm not very familar with it yet.&amp;nbsp;&lt;BR /&gt;I tried using your suggestion in my expression, but I get an undescriptive error. With what little I know about set analysis, I don't get what the '&amp;gt;' is used for just before the Today function.&lt;/P&gt;
&lt;P&gt;This is the code I used:&lt;/P&gt;
&lt;P&gt;=Sum({&amp;lt;[Project Start Date]={"&amp;gt;Today()-30"} &amp;gt;} PlannedHours)&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 17:07:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-date-by-calendar-week-in-pivot-table/m-p/2015577#M1221894</guid>
      <dc:creator>Red_Hare</dc:creator>
      <dc:date>2022-12-12T17:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Group date by calendar week in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Group-date-by-calendar-week-in-pivot-table/m-p/2015589#M1221895</link>
      <description>&lt;P&gt;The syntax should be correct assuming the field names are correct. The inner &amp;gt; means you're looking for greater-than (greater than today()-30 = last 30 days), as this is a search string.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 17:22:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-date-by-calendar-week-in-pivot-table/m-p/2015589#M1221895</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-12-12T17:22:52Z</dc:date>
    </item>
  </channel>
</rss>

