<?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 get last week value in set analysis?? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-last-week-value-in-set-analysis/m-p/89064#M758513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Ashok. Try this set analysis&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&amp;lt; [&lt;SPAN style="color: #ff6600;"&gt;YourDateField&lt;/SPAN&gt;] = {"&amp;gt;=$(=WeekStart(Today() - 7))&amp;lt;=$(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=WeekEnd(Today() - 7)&lt;/SPAN&gt;)"} &amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Sep 2018 19:16:29 GMT</pubDate>
    <dc:creator>andrey_krylov</dc:creator>
    <dc:date>2018-09-03T19:16:29Z</dc:date>
    <item>
      <title>How to get last week value in set analysis??</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-last-week-value-in-set-analysis/m-p/89063#M758512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Team, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could get value for current week sale , but in my scenario i need to get value for last week &lt;SPAN style="font-size: 13.3333px;"&gt;sale &lt;/SPAN&gt;so i need to use [week date] - 7 in my set analysis ! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please share your thoughts!!&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/How-to-get-last-week-value-in-set-analysis/m-p/89063#M758512</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get last week value in set analysis??</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-last-week-value-in-set-analysis/m-p/89064#M758513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Ashok. Try this set analysis&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&amp;lt; [&lt;SPAN style="color: #ff6600;"&gt;YourDateField&lt;/SPAN&gt;] = {"&amp;gt;=$(=WeekStart(Today() - 7))&amp;lt;=$(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=WeekEnd(Today() - 7)&lt;/SPAN&gt;)"} &amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 19:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-last-week-value-in-set-analysis/m-p/89064#M758513</guid>
      <dc:creator>andrey_krylov</dc:creator>
      <dc:date>2018-09-03T19:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to get last week value in set analysis??</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-last-week-value-in-set-analysis/m-p/89065#M758514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response Andrey! will try and get back to you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2018 09:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-last-week-value-in-set-analysis/m-p/89065#M758514</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-04T09:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to get last week value in set analysis??</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-last-week-value-in-set-analysis/m-p/89066#M758515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you use a master calendar?&lt;/P&gt;&lt;P&gt;Add a week id to that with autonumber: autonumber(Year(Date)&amp;amp;Week(Date)) as Week_ID.&lt;/P&gt;&lt;P&gt;this will give a sequencial number starting from the first date (be careful with week 53, is it in the old year or the new .....)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this in your set analysis:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Week_ID = {"$(=max(Week_ID)-1)"}&amp;gt;}whatever)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2018 14:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-last-week-value-in-set-analysis/m-p/89066#M758515</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2018-09-04T14:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to get last week value in set analysis??</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-last-week-value-in-set-analysis/m-p/2120910#M1224596</link>
      <description>&lt;P&gt;Hi Andrey ,&lt;BR /&gt;&lt;BR /&gt;I have scenario where we don't have dates for weekends and I want calculate average for last 7 data points&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The above expression will work if dates are in sequence like 3,4,5,6,7,8,9&lt;/P&gt;
&lt;P&gt;In my case dates are like 3,4,5,6,9,10,11 , how can I achieve 7 days avg here?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 10:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-last-week-value-in-set-analysis/m-p/2120910#M1224596</guid>
      <dc:creator>venkym1997</dc:creator>
      <dc:date>2023-09-21T10:58:34Z</dc:date>
    </item>
  </channel>
</rss>

