<?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: Help with variable within set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-variable-within-set-analysis/m-p/1642557#M730939</link>
    <description>&lt;P&gt;Thank you, was more simple than I thought:)&lt;/P&gt;</description>
    <pubDate>Mon, 04 Nov 2019 14:21:15 GMT</pubDate>
    <dc:creator>Meg00</dc:creator>
    <dc:date>2019-11-04T14:21:15Z</dc:date>
    <item>
      <title>Help with variable within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-variable-within-set-analysis/m-p/1642518#M730937</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Example of current set analysis:&lt;/P&gt;&lt;P&gt;=num(sum({$&amp;lt;Lev = {1},&lt;FONT color="#FF0000"&gt;PeriodCounter ={"&amp;gt;=$(#=max(PeriodCounter)-11&amp;lt;=$(#=max(PeriodCounter))"},period=&lt;/FONT&gt;&amp;gt;}Netsales)*-1/1000000,'#&amp;nbsp;##0')&lt;/P&gt;&lt;P&gt;I want to store the red part (rolling 12) in a variable. But how do I then use that variable correct? I can't get the right syntax.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Meg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-variable-within-set-analysis/m-p/1642518#M730937</guid>
      <dc:creator>Meg00</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with variable within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-variable-within-set-analysis/m-p/1642535#M730938</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;You should create the variable &lt;EM&gt;vSetExpression&lt;/EM&gt; with the following content&lt;/P&gt;&lt;P&gt;&lt;EM&gt;PeriodCounter ={"&amp;gt;=$(#=max(PeriodCounter)-11&amp;lt;=$(#=max(PeriodCounter))"},period=&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;And then you invoque it as follows&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=num(sum({$&amp;lt;Lev = {1},&lt;FONT color="#FF0000"&gt;$(vSetExpression )&lt;/FONT&gt;&amp;gt;}Netsales)*-1/1000000,'#&amp;nbsp;##0')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know your doubts! Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jaime.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 13:27:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-variable-within-set-analysis/m-p/1642535#M730938</guid>
      <dc:creator>jaibau1993</dc:creator>
      <dc:date>2019-11-04T13:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help with variable within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-variable-within-set-analysis/m-p/1642557#M730939</link>
      <description>&lt;P&gt;Thank you, was more simple than I thought:)&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 14:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-variable-within-set-analysis/m-p/1642557#M730939</guid>
      <dc:creator>Meg00</dc:creator>
      <dc:date>2019-11-04T14:21:15Z</dc:date>
    </item>
  </channel>
</rss>

