<?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: Last 4 week from latest week - Latest week diffrence through Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-4-week-from-latest-week-Latest-week-diffrence-through-Set/m-p/1205494#M387523</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice thanks Shraddha for your time... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Oct 2016 04:26:30 GMT</pubDate>
    <dc:creator>sridhar_sigired</dc:creator>
    <dc:date>2016-10-20T04:26:30Z</dc:date>
    <item>
      <title>Last 4 week from latest week - Latest week diffrence through Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-4-week-from-latest-week-Latest-week-diffrence-through-Set/m-p/1205487#M387516</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 have confusion with set analysis whether i can use &amp;lt;= or &amp;gt;= with in set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create last field in attached table which is "Difference with 5th Week". I have created pivot table as available in attachment except last field "Difference with 5th Week", i want to create it separately&amp;nbsp; with same dimension and want to keep right side of pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i want to create a expression Avg(last 4 weeks from previous week - amount) -Sum(latest week amount)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me how to take 4 weeks in set analysis (i will create variable), just need help on how to write expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 12:24:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-4-week-from-latest-week-Latest-week-diffrence-through-Set/m-p/1205487#M387516</guid>
      <dc:creator>sridhar_sigired</dc:creator>
      <dc:date>2016-10-19T12:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Last 4 week from latest week - Latest week diffrence through Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-4-week-from-latest-week-Latest-week-diffrence-through-Set/m-p/1205488#M387517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use &amp;lt;= and &amp;gt;= in set analysis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 12:27:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-4-week-from-latest-week-Latest-week-diffrence-through-Set/m-p/1205488#M387517</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2016-10-19T12:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Last 4 week from latest week - Latest week diffrence through Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-4-week-from-latest-week-Latest-week-diffrence-through-Set/m-p/1205489#M387518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is one example of &amp;lt;= here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4394"&gt;Dates in Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 12:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-4-week-from-latest-week-Latest-week-diffrence-through-Set/m-p/1205489#M387518</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-19T12:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Last 4 week from latest week - Latest week diffrence through Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-4-week-from-latest-week-Latest-week-diffrence-through-Set/m-p/1205490#M387519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we use variable in set expression, we do use $, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating expression for each of previous weekend and creating pivot table like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vLatestWeek = Date(WeekEnd(Today()),'MM/DD/YYYY')&lt;/P&gt;&lt;P&gt;Let vPreviousWeek = Date(WeekEnd(Today(),-1),'MM/DD/YYYY') so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression is like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Week={$('vLatestWeek')}&amp;gt;}Sales) or&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Week={$(vLatestWeek)}&amp;gt;}Sales) or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not working, however i tested with below and working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Week={'10/23/2016')}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do we need to remember any specific point while we use variable in set expression? Checked in help, and syntax looks correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 03:21:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-4-week-from-latest-week-Latest-week-diffrence-through-Set/m-p/1205490#M387519</guid>
      <dc:creator>sridhar_sigired</dc:creator>
      <dc:date>2016-10-20T03:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Last 4 week from latest week - Latest week diffrence through Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-4-week-from-latest-week-Latest-week-diffrence-through-Set/m-p/1205491#M387520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Week={"$(=vLatestWeek)"}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 03:45:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-4-week-from-latest-week-Latest-week-diffrence-through-Set/m-p/1205491#M387520</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2016-10-20T03:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Last 4 week from latest week - Latest week diffrence through Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-4-week-from-latest-week-Latest-week-diffrence-through-Set/m-p/1205492#M387521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Shraddha... Tried but not getting result. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plain.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 04:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-4-week-from-latest-week-Latest-week-diffrence-through-Set/m-p/1205492#M387521</guid>
      <dc:creator>sridhar_sigired</dc:creator>
      <dc:date>2016-10-20T04:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Last 4 week from latest week - Latest week diffrence through Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-4-week-from-latest-week-Latest-week-diffrence-through-Set/m-p/1205493#M387522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Week={"$(vLatestWeek)"}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 04:12:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-4-week-from-latest-week-Latest-week-diffrence-through-Set/m-p/1205493#M387522</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2016-10-20T04:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Last 4 week from latest week - Latest week diffrence through Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-4-week-from-latest-week-Latest-week-diffrence-through-Set/m-p/1205494#M387523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice thanks Shraddha for your time... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 04:26:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-4-week-from-latest-week-Latest-week-diffrence-through-Set/m-p/1205494#M387523</guid>
      <dc:creator>sridhar_sigired</dc:creator>
      <dc:date>2016-10-20T04:26:30Z</dc:date>
    </item>
  </channel>
</rss>

