<?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: Getting Data for Past 4 Weeks in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-Data-for-Past-4-Weeks/m-p/67755#M781034</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also tried the following but got the same errors in expression::&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=WeekStart(Today(), -14))&amp;lt;=$(=Today())’}&amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should the format of the Today() be?&amp;nbsp; I currently have it as SET DateFormat='YYYY-MM-DD';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2018 22:51:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-21T22:51:42Z</dc:date>
    <item>
      <title>Getting Data for Past 4 Weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Data-for-Past-4-Weeks/m-p/67754#M781033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to get data for the past 4 weeks.&amp;nbsp; I have tried the following but am getting the errors in expression message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=WeekStart(Max(PAYMENT_POST_DATE), -4))&amp;lt;=$(=Date(Max(PAYMENT_POST_DATE)))’}&amp;gt;} REMIT_AMOUNT )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have changed the SET DateFormat='YYYY-MM-DD' to match with PAYMENT_POST_DATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found this at:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-9144?_ga=2.191541354.1333035801.1521571620-238648824.1512403417" title="https://community.qlik.com/docs/DOC-9144?_ga=2.191541354.1333035801.1521571620-238648824.1512403417" target="_blank"&gt;https://community.qlik.com/docs/DOC-9144?_ga=2.191541354.1333035801.1521571620-238648824.1512403417&lt;/A&gt;&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/Getting-Data-for-Past-4-Weeks/m-p/67754#M781033</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Data for Past 4 Weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Data-for-Past-4-Weeks/m-p/67755#M781034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also tried the following but got the same errors in expression::&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=WeekStart(Today(), -14))&amp;lt;=$(=Today())’}&amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should the format of the Today() be?&amp;nbsp; I currently have it as SET DateFormat='YYYY-MM-DD';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 22:51:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Data-for-Past-4-Weeks/m-p/67755#M781034</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-21T22:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Data for Past 4 Weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Data-for-Past-4-Weeks/m-p/67756#M781035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a chart that needs to look back 10 weeks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I get no data display for the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; =Sum({=$(=WeekStart(Max(Date), -10))&amp;lt;=$(=WeekEnd(Max(Date)))'}&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; Last 15 Weeks Sales&lt;BR /&gt; Sum({=$(=WeekStart(Max(Date), -10))&amp;lt;=$(=Date(Max(Date)))’}&amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Sum({=$(=WeekStart(Today(), -10))&amp;lt;=$(=Today())’}&amp;gt;} Sales )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 23:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Data-for-Past-4-Weeks/m-p/67756#M781035</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-21T23:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Data for Past 4 Weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Data-for-Past-4-Weeks/m-p/67757#M781036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it to work with the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;PAYMENT_POST_DATE={"&amp;gt;=$(=Weekstart(Max(PAYMENT_POST_DATE), -9))&amp;lt;=$(=Date(Max(PAYMENT_POST_DATE)))"}&amp;gt;} REMIT_AMOUNT)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 00:00:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Data-for-Past-4-Weeks/m-p/67757#M781036</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-22T00:00:42Z</dc:date>
    </item>
  </channel>
</rss>

