<?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 Set analysis expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Set-analysis-expression/m-p/791119#M279732</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can simple use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM(&lt;SPAN style="color: #3d3d3d; font-family: inherit; line-height: 1.5em; font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;{&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;={&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit;"&gt;$(vRM)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; line-height: 1.5em; font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; line-height: 1.5em; font-weight: inherit; font-style: inherit; font-size: 8pt; color: #800000;"&gt;Category&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; line-height: 1.5em; font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;={'$(vCP)'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;AC_R.H)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Nov 2014 19:44:56 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-11-20T19:44:56Z</dc:date>
    <item>
      <title>Help with Set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-analysis-expression/m-p/791118#M279731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following table:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 761px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="144"&gt;Type&lt;/TD&gt;&lt;TD width="203"&gt;RCAT&lt;/TD&gt;&lt;TD width="64"&gt;Area&lt;/TD&gt;&lt;TD width="71"&gt;City&lt;/TD&gt;&lt;TD width="99"&gt;BUSINESS_DAY&lt;/TD&gt;&lt;TD width="180"&gt;AC_R.H&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Input&lt;/TD&gt;&lt;TD&gt;ILO&lt;/TD&gt;&lt;TD&gt;ASIA&lt;/TD&gt;&lt;TD&gt;Delhi&lt;/TD&gt;&lt;TD&gt;BD1&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Output&lt;/TD&gt;&lt;TD&gt;ILO&lt;/TD&gt;&lt;TD&gt;ASIA&lt;/TD&gt;&lt;TD&gt;Delhi&lt;/TD&gt;&lt;TD&gt;BD4&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Output&lt;/TD&gt;&lt;TD&gt;PLO&lt;/TD&gt;&lt;TD&gt;UK&lt;/TD&gt;&lt;TD&gt;London&lt;/TD&gt;&lt;TD&gt;BD4&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Output&lt;/TD&gt;&lt;TD&gt;PLO&lt;/TD&gt;&lt;TD&gt;UK&lt;/TD&gt;&lt;TD&gt;London&lt;/TD&gt;&lt;TD&gt;BD5&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Input&lt;/TD&gt;&lt;TD&gt;ILO&lt;/TD&gt;&lt;TD&gt;UK&lt;/TD&gt;&lt;TD&gt;London&lt;/TD&gt;&lt;TD&gt;BD6&lt;/TD&gt;&lt;TD align="right"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the following formula used in my expression.&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rank&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vRM)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Category&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'$(vCP)'}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AC_R.H&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RCAT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=1),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AC_R.H&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My aim is to aggregate the values and be able to drill down by all the different fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So headline figure should be 15. When filtering on to PLO (RCAT) the figure should output 5 (but i get 3). Asia = 4 (but i get 2). etc etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would appreciate the help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 19:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-analysis-expression/m-p/791118#M279731</guid>
      <dc:creator />
      <dc:date>2014-11-20T19:03:37Z</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/791119#M279732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can simple use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM(&lt;SPAN style="color: #3d3d3d; font-family: inherit; line-height: 1.5em; font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;{&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;={&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit;"&gt;$(vRM)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; line-height: 1.5em; font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; line-height: 1.5em; font-weight: inherit; font-style: inherit; font-size: 8pt; color: #800000;"&gt;Category&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; line-height: 1.5em; font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;={'$(vCP)'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;AC_R.H)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 19:44:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-analysis-expression/m-p/791119#M279732</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-20T19:44:56Z</dc:date>
    </item>
  </channel>
</rss>

