<?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 2 variables in set analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/2-variables-in-set-analysis/m-p/1628294#M46741</link>
    <description>&lt;P&gt;Hello All - i have bumped into a weird problem.&amp;nbsp; I need to to an Aggr(only(_LANE_ID_WF),_LANE_ID_WF), but my set analysis has 2 variables:&lt;/P&gt;&lt;P&gt;1: $(wf_ADD) - contains an expression with set analysis&lt;BR /&gt;2: $(t_toplanes) - contains a number between 5 and 25&lt;BR /&gt;need: only show values where the rank of wf_add is less than t_toplanes&lt;/P&gt;&lt;P&gt;the following is NOT working:&lt;BR /&gt;aggr(Only({&amp;lt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_LANE_ID_WF = {"=Rank($(wf_ADD)) &amp;lt;='$(t_toplanes)'"}&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt;}&lt;BR /&gt;_LANE_ID_WF), _LANE_ID_WF)&lt;/P&gt;&lt;P&gt;help!&lt;/P&gt;</description>
    <pubDate>Wed, 25 Sep 2019 19:34:35 GMT</pubDate>
    <dc:creator>jheasley</dc:creator>
    <dc:date>2019-09-25T19:34:35Z</dc:date>
    <item>
      <title>2 variables in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/2-variables-in-set-analysis/m-p/1628294#M46741</link>
      <description>&lt;P&gt;Hello All - i have bumped into a weird problem.&amp;nbsp; I need to to an Aggr(only(_LANE_ID_WF),_LANE_ID_WF), but my set analysis has 2 variables:&lt;/P&gt;&lt;P&gt;1: $(wf_ADD) - contains an expression with set analysis&lt;BR /&gt;2: $(t_toplanes) - contains a number between 5 and 25&lt;BR /&gt;need: only show values where the rank of wf_add is less than t_toplanes&lt;/P&gt;&lt;P&gt;the following is NOT working:&lt;BR /&gt;aggr(Only({&amp;lt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_LANE_ID_WF = {"=Rank($(wf_ADD)) &amp;lt;='$(t_toplanes)'"}&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt;}&lt;BR /&gt;_LANE_ID_WF), _LANE_ID_WF)&lt;/P&gt;&lt;P&gt;help!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 19:34:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/2-variables-in-set-analysis/m-p/1628294#M46741</guid>
      <dc:creator>jheasley</dc:creator>
      <dc:date>2019-09-25T19:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: 2 variables in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/2-variables-in-set-analysis/m-p/1630752#M46970</link>
      <description>&lt;P&gt;Usually with AGGR you need to add set analysis to both the inside and outside expressions.&lt;/P&gt;&lt;P&gt;See if this works:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Only({&amp;lt;_LANE_ID_WF = {"=Rank($(wf_ADD)) &amp;lt;='$(t_toplanes)'"}&amp;gt;}
    aggr(Only({&amp;lt;_LANE_ID_WF = {"=Rank($(wf_ADD)) &amp;lt;='$(t_toplanes)'"}&amp;gt;}_LANE_ID_WF), _LANE_ID_WF))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 19:36:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/2-variables-in-set-analysis/m-p/1630752#M46970</guid>
      <dc:creator>treysmithdev</dc:creator>
      <dc:date>2019-10-02T19:36:10Z</dc:date>
    </item>
  </channel>
</rss>

