<?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: Selection criteria sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selection-criteria-sum/m-p/963754#M977309</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I completely understand, would you be able to share few lines of data with your expected output??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2015 13:24:46 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-08-20T13:24:46Z</dc:date>
    <item>
      <title>Selection criteria sum</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-criteria-sum/m-p/963753#M977308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have two list boxes [Sales Level 1] and [Sales level 2].I wanted to fetch the value on the basis of below logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(&lt;SPAN style="font-size: 13.3333330154419px;"&gt; [Sales level 2]&lt;/SPAN&gt;)/&lt;SPAN style="font-size: 13.3333330154419px;"&gt; sum([Sales level 1]).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But Sales Level 1&amp;nbsp; is a Parent like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AMERICAS&lt;/P&gt;&lt;P&gt; and Sales level 2 is child&amp;nbsp; like CANADA,LATAM,US etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Sales Level 1 and Sales Level 2 has the dynamic value.By applying below expression for &lt;SPAN style="font-size: 13.3333330154419px;"&gt; [Sales level 2] calculation its not working dynamically.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;[Sales Level 2]=&amp;gt;}[Net Bookings])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 13:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-criteria-sum/m-p/963753#M977308</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2015-08-20T13:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Selection criteria sum</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-criteria-sum/m-p/963754#M977309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I completely understand, would you be able to share few lines of data with your expected output??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 13:24:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-criteria-sum/m-p/963754#M977309</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-20T13:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Selection criteria sum</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-criteria-sum/m-p/963755#M977310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you want to have aggregated value based on&amp;nbsp; Sales Level1 ,so I suggest&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;aggr( sum({$&amp;lt;[Sales Level 2]=&amp;gt;}[Net Bookings]), [ Sales Level 1] )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I got you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Kiran Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 13:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-criteria-sum/m-p/963755#M977310</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2015-08-20T13:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Selection criteria sum</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-criteria-sum/m-p/963756#M977311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;[Fiscal Year] = {$(=only([Fiscal Year]))},[Month in Fiscal Year] = {'&amp;lt;=$(=only([Month in Fiscal Year]))'},CATEGORY={'IOT'},[Sales Level 2]={"$(vSel2)"}&amp;gt;} [Net Bookings])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which is giving me the correct value for CANADA YTD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for AMERICAS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;[Fiscal Year] = {$(=only([Fiscal Year]))},[Month in Fiscal Year] = {'&amp;lt;=$(=only([Month in Fiscal Year]))'},CATEGORY={'IOT'},[Sales Level 1]={"$(vSel1)"}&amp;gt;} [Net Bookings])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is giving the total of all &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sales Level 2 which comes under Amercias Sales Level 1. YTD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But whenever I deslect and select then the value gets blank for First expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls suggest&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 14:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-criteria-sum/m-p/963756#M977311</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2015-08-20T14:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Selection criteria sum</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-criteria-sum/m-p/963757#M977312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you essentially looking for sales numbers that make up a region?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(sum([Sales Level 2]/[Sales Level 1]), [Sales Level 1])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 14:08:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-criteria-sum/m-p/963757#M977312</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-20T14:08:19Z</dc:date>
    </item>
  </channel>
</rss>

