<?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 Set Analysis question , need a &amp;gt; then expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-question-need-a-gt-then-expression/m-p/146083#M24690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks John!&lt;/P&gt;&lt;P&gt;that did it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Jun 2009 02:44:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-06-06T02:44:10Z</dc:date>
    <item>
      <title>Set Analysis question , need a &gt; then expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-question-need-a-gt-then-expression/m-p/146081#M24688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Trying to write a set analysis statement but can't seem to find the correct syntax. Trying to do a rolling average based on week of year. User select the number of weeks to include and I want to select all week greater thenthe current week of year - the number of week to include&lt;/P&gt;&lt;P&gt;avg( {1&amp;lt;[Week of Yr] &amp;gt;= { $(#=week(Now())- $(numweeks)) } &amp;gt; } [2009 sales figures])&lt;/P&gt;&lt;P&gt;It works perfectly for a single week, but when I add the &amp;gt; I get all weeks of 2009.&lt;/P&gt;&lt;P&gt;Thanks In Advance&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2009 00:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-question-need-a-gt-then-expression/m-p/146081#M24688</guid>
      <dc:creator />
      <dc:date>2009-06-06T00:13:28Z</dc:date>
    </item>
    <item>
      <title>Set Analysis question , need a &gt; then expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-question-need-a-gt-then-expression/m-p/146082#M24689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to do the &amp;gt;= in the set expression itself. I think it would look like this:&lt;/P&gt;&lt;P&gt;avg({1&amp;lt;[Week of Yr]={"&amp;gt;=$(=week(now())-$(numweeks))"}&amp;gt;} [2009 sales figures])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2009 02:14:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-question-need-a-gt-then-expression/m-p/146082#M24689</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-06-06T02:14:26Z</dc:date>
    </item>
    <item>
      <title>Set Analysis question , need a &gt; then expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-question-need-a-gt-then-expression/m-p/146083#M24690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks John!&lt;/P&gt;&lt;P&gt;that did it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2009 02:44:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-question-need-a-gt-then-expression/m-p/146083#M24690</guid>
      <dc:creator />
      <dc:date>2009-06-06T02:44:10Z</dc:date>
    </item>
  </channel>
</rss>

