<?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 in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis/m-p/2446320#M97688</link>
    <description>&lt;P&gt;Ok, in the preview, this expression return Sum({$&amp;lt;[Calendar Year]={"2024"}&amp;gt;} Sales) ? &lt;BR /&gt;if yes, you need to upgrade the Rank with Rank(Aggr(Sum( {$&amp;lt;[Calendar Year]={"2024"} Sales), [Customer]) too &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Apr 2024 12:50:22 GMT</pubDate>
    <dc:creator>mpc</dc:creator>
    <dc:date>2024-04-29T12:50:22Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis/m-p/2446165#M97681</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to create a rank for Max Year for Sales data.&amp;nbsp; I am using the following set analysis, but in returns 0 values in Sales column&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sum({$&amp;lt;[Calendar Year]={vMaxYear}&amp;gt;} Sales)&lt;/P&gt;
&lt;P&gt;and this set analysis for Rank column&lt;/P&gt;
&lt;P&gt;Rank(Aggr(Sum( {&amp;lt;vMaxYear&amp;gt;} Sales), [Customer])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;vMaxYear returns 2024&lt;/P&gt;
&lt;P&gt;Output&lt;/P&gt;
&lt;P&gt;Rank&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;nbsp; &amp;nbsp; Customer&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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sales&lt;/P&gt;
&lt;TABLE width="511"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;1&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;ABC&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;2&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;DEF&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;ANT&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;4&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;BET&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;5&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;SALT&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;6&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;CATE&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;7&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;A OTHERS&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;8&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;COMBI&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;9&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;REVERSE&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;10&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;KILT&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;11&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;GENTLE&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;12&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;AXE&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;13&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;MANAGE A&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;14&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;NEW B&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;15&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;SCOTS&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;16&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;QUEEN&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;17&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;CANDY&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;18&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;PENS&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;19&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;WESTFIELDS&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;20&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;CHARLIE&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;21&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;CAN18&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;22&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;BRITNEY&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;23&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;VOLCANO&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;24&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;TRIMS&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;25&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;PREMS&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;26&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;MOSES&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;27&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;QUEENS&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Mon, 29 Apr 2024 09:04:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis/m-p/2446165#M97681</guid>
      <dc:creator>Super-T</dc:creator>
      <dc:date>2024-04-29T09:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis/m-p/2446308#M97686</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Can you try this syntax ?:&lt;/P&gt;
&lt;P&gt;Sum({$&amp;lt;[Calendar Year]={"$(=vMaxYear)"}&amp;gt;} Sales)&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 12:30:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis/m-p/2446308#M97686</guid>
      <dc:creator>mpc</dc:creator>
      <dc:date>2024-04-29T12:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis/m-p/2446317#M97687</link>
      <description>&lt;P&gt;Thanks for your response.&amp;nbsp; However it doesn't appear to have resolved the issue.&lt;/P&gt;
&lt;P&gt;I replaced the variable with a fixed number '2024' and I am now receiving sales numbers instead of 0s.&lt;/P&gt;
&lt;P&gt;My variable vMaxYear is set as Max([Calendar Year]), I am not sure why my expression is not recognising it.&amp;nbsp; Do you have any suggestions to help me with this please?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 12:39:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis/m-p/2446317#M97687</guid>
      <dc:creator>Super-T</dc:creator>
      <dc:date>2024-04-29T12:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis/m-p/2446320#M97688</link>
      <description>&lt;P&gt;Ok, in the preview, this expression return Sum({$&amp;lt;[Calendar Year]={"2024"}&amp;gt;} Sales) ? &lt;BR /&gt;if yes, you need to upgrade the Rank with Rank(Aggr(Sum( {$&amp;lt;[Calendar Year]={"2024"} Sales), [Customer]) too &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 12:50:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis/m-p/2446320#M97688</guid>
      <dc:creator>mpc</dc:creator>
      <dc:date>2024-04-29T12:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis/m-p/2446321#M97689</link>
      <description>&lt;P&gt;Thanks, however I would prefer to use the variable, is there something amiss with the syntax?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 12:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis/m-p/2446321#M97689</guid>
      <dc:creator>Super-T</dc:creator>
      <dc:date>2024-04-29T12:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis/m-p/2446323#M97690</link>
      <description>&lt;P&gt;My bad, Rank(Aggr(Sum( {$&amp;lt;[Calendar Year]={"$(=vMaxYear)"} Sales), [Customer])&lt;BR /&gt;In the data previeuw, you should see this expression: Rank(Aggr(Sum({$&amp;lt;[Calendar Year]={"2024"} Sales), [Customer]), is that ok ?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 13:01:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis/m-p/2446323#M97690</guid>
      <dc:creator>mpc</dc:creator>
      <dc:date>2024-04-29T13:01:19Z</dc:date>
    </item>
  </channel>
</rss>

