<?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 Help with Set Analysis expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-expression/m-p/1565456#M741467</link>
    <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am stuck with a requirement.&amp;nbsp;Following are the details:&lt;/P&gt;&lt;P&gt;I have columns:&amp;nbsp;1. Customer&amp;nbsp; &amp;nbsp; 2. Quantity&amp;nbsp; &amp;nbsp; &amp;nbsp; 3. Sales&amp;nbsp; &amp;nbsp; &amp;nbsp; 4. Dates&lt;/P&gt;&lt;P&gt;I need to create a text box for&amp;nbsp;&lt;/P&gt;&lt;P&gt;(i) Customer with minimum sales for quantity &amp;gt;0 and between last 24 months.&lt;/P&gt;&lt;P&gt;(ii) Customer with maximum sales for quantity &amp;gt;0 and between last 24 months.&lt;/P&gt;&lt;P&gt;Something like aggr({&amp;lt;quantity&amp;gt;0}{&amp;lt;today()-24months&amp;gt;}Customer)&lt;/P&gt;&lt;P&gt;Please help..&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:56:47 GMT</pubDate>
    <dc:creator>sai_katare</dc:creator>
    <dc:date>2024-11-16T03:56:47Z</dc:date>
    <item>
      <title>Help with Set Analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-expression/m-p/1565456#M741467</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am stuck with a requirement.&amp;nbsp;Following are the details:&lt;/P&gt;&lt;P&gt;I have columns:&amp;nbsp;1. Customer&amp;nbsp; &amp;nbsp; 2. Quantity&amp;nbsp; &amp;nbsp; &amp;nbsp; 3. Sales&amp;nbsp; &amp;nbsp; &amp;nbsp; 4. Dates&lt;/P&gt;&lt;P&gt;I need to create a text box for&amp;nbsp;&lt;/P&gt;&lt;P&gt;(i) Customer with minimum sales for quantity &amp;gt;0 and between last 24 months.&lt;/P&gt;&lt;P&gt;(ii) Customer with maximum sales for quantity &amp;gt;0 and between last 24 months.&lt;/P&gt;&lt;P&gt;Something like aggr({&amp;lt;quantity&amp;gt;0}{&amp;lt;today()-24months&amp;gt;}Customer)&lt;/P&gt;&lt;P&gt;Please help..&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:56:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-expression/m-p/1565456#M741467</guid>
      <dc:creator>sai_katare</dc:creator>
      <dc:date>2024-11-16T03:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-expression/m-p/1565481#M741469</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample data:&lt;/P&gt;&lt;PRE&gt;LOAD * inline [
Customer,Quantity,Sales,Dates
Skinix,213,2832.72,2018-09-09
Babbleopia,297,920.98,2018-09-15
Skibox,680,4176.98,2018-07-09
Fatz,776,493.60,2019-02-23
Meembee,58,5253.99,2018-06-02
Dablist,731,926.57,2018-08-22
Linkbuzz,-900,-7147.04,2019-02-28
Ooba,822,1714.85,2018-01-27
Zoomlounge,839,2021.48,2018-11-18
Oloo,938,3241.51,2018-01-07
Demimbu,783,6733.75,2018-01-24
Brightdog,514,3070.53,2018-01-07
]; &lt;/PRE&gt;&lt;P&gt;Minimum company&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;FirstSortedValue(Customer,aggr(sum({&amp;lt;Quantity={"&amp;gt;0"},Dates={"&amp;gt;=$(=addmonths(today(),-12))"}&amp;gt;}Sales),Customer) )&lt;/PRE&gt;&lt;P&gt;Maximum cpmpany&lt;/P&gt;&lt;PRE&gt;FirstSortedValue(Customer,-aggr(sum({&amp;lt;Quantity={"&amp;gt;0"},Dates={"&amp;gt;=$(=addmonths(today(),-12))"}&amp;gt;}Sales),Customer) )&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 22:01:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-expression/m-p/1565481#M741469</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-04-04T22:01:37Z</dc:date>
    </item>
  </channel>
</rss>

