<?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: Set Analysis Syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/1170758#M380585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this approach instead:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Aug 2016 22:29:11 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-08-10T22:29:11Z</dc:date>
    <item>
      <title>Set Analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/1170757#M380584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Calendar that looks like this &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 268px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="114"&gt;CALENDAR_DATE&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="94"&gt;WEEK_NUMBER&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="60"&gt;PrYrWeek&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;5/2/2016&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;201614&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;201514&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;5/3/2016&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;201614&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;201514&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;5/4/2016&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;201614&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;201514&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;5/5/2016&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;201614&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;201514&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;5/6/2016&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;201614&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;201514&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;5/7/2016&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;201614&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;201514&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;5/8/2016&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;201614&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;201514&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WEEK_NUMBER is the Week the date and PrYrWeek is the week number aligned from the last Year,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart the Dimension by WEEK_NUMBER and Sum(Sales)&amp;nbsp; strgiht forward (NP)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to add another expression to the chart to Sum(Sales of PrYrWeek)&lt;/P&gt;&lt;P&gt;like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({ $&amp;lt;WEEK_NUMBER = {"=$(" &amp;amp; PrYrWeek &amp;amp; ")" } &amp;gt;} Sales))&amp;nbsp; . This does not work .. Any idea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 22:22:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/1170757#M380584</guid>
      <dc:creator>ziadm</dc:creator>
      <dc:date>2016-08-10T22:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/1170758#M380585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this approach instead:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 22:29:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/1170758#M380585</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-10T22:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/1170759#M380586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should apply something like an AsOf table&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or a canonical date&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3585"&gt;Canonical Date&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You basically need to create a link table with a field you can use as dimension in your chart, where each field value links to a calendar date field value from current and previous year (multiple records per dimensional value).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 22:32:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/1170759#M380586</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-08-10T22:32:18Z</dc:date>
    </item>
  </channel>
</rss>

