<?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 Previous 20 weeks in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-20-weeks/m-p/1038246#M932695</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;&lt;/P&gt;&lt;P&gt;Need a line chart giving me the results of last 20 weeks. Now I already achieved this with my months for a 3,6,12 month chart but can't seem to figure out how it works for the weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression gives me the last 4 months and works when I got 2016 = Feb 16, Jan 16, Dec 15, Nov 15&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Week=, MonthName=, Year=, DivisionName = {***'} + {'****'}, PerformanceDate&amp;nbsp; ={"&amp;gt;=$(=MonthStart(AddMonths(Today(),-4)))&amp;lt;$(=MonthEnd(Today()))"}&amp;gt;} Production.DurationHrs)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Week=, MonthName=, Year=, DivisionName = {****'&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;} + {&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;****'}, PerformanceDate&amp;nbsp; ={"&amp;gt;=$(=MonthStart(AddMonths(Today(),-4)))&amp;lt;$(=MonthEnd(Today()))"}&amp;gt;} Production.Name)*5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Previous 20 weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-20-weeks/m-p/1038246#M932695</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;&lt;/P&gt;&lt;P&gt;Need a line chart giving me the results of last 20 weeks. Now I already achieved this with my months for a 3,6,12 month chart but can't seem to figure out how it works for the weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression gives me the last 4 months and works when I got 2016 = Feb 16, Jan 16, Dec 15, Nov 15&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Week=, MonthName=, Year=, DivisionName = {***'} + {'****'}, PerformanceDate&amp;nbsp; ={"&amp;gt;=$(=MonthStart(AddMonths(Today(),-4)))&amp;lt;$(=MonthEnd(Today()))"}&amp;gt;} Production.DurationHrs)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Week=, MonthName=, Year=, DivisionName = {****'&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;} + {&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;****'}, PerformanceDate&amp;nbsp; ={"&amp;gt;=$(=MonthStart(AddMonths(Today(),-4)))&amp;lt;$(=MonthEnd(Today()))"}&amp;gt;} Production.Name)*5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-20-weeks/m-p/1038246#M932695</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Previous 20 weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-20-weeks/m-p/1038247#M932696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Similar to monthstart we have Weekstart, try with that&lt;/P&gt;&lt;P&gt;&lt;SPAN class="script_token" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-weight: bold; font-size: 12px; color: #0f0f0f;"&gt;WeekStart(&lt;/SPAN&gt;&lt;SPAN class="bnf_token" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: #0f0f0f;"&gt;date [, period_no]&lt;/SPAN&gt;&lt;SPAN class="statement" style="font-weight: bold; color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 11:41:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-20-weeks/m-p/1038247#M932696</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-03-09T11:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Previous 20 weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-20-weeks/m-p/1038248#M932697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try thid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=sum({&amp;lt;Week=, MonthName=, Year=, DivisionName = {***'} + {'****'}, PerformanceDate&amp;nbsp; ={"&amp;gt;=$(=date(Today()-140))&amp;lt;=$(=date(Today()))"}&amp;gt;} Production.DurationHrs)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count({&amp;lt;Week=, MonthName=, Year=, DivisionName = {****'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;} + {&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;****'}, PerformanceDate&amp;nbsp; =&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{"&amp;gt;=$(=date(Today()-140))&amp;lt;=$(=date(Today()))"}&lt;/SPAN&gt;&amp;gt;} Production.Name)*5&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 11:44:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-20-weeks/m-p/1038248#M932697</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-03-09T11:44:16Z</dc:date>
    </item>
  </channel>
</rss>

