<?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: AGGR with SET expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AGGR-with-SET-expression/m-p/1456905#M435332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Above expression is throwing syntax error and below one returns the same 149000 value &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 30 Dec 2017 09:17:03 GMT</pubDate>
    <dc:creator>kakani87</dc:creator>
    <dc:date>2017-12-30T09:17:03Z</dc:date>
    <item>
      <title>AGGR with SET expression</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-with-SET-expression/m-p/1456900#M435327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want your help to find out something based on the aggr().&lt;/P&gt;&lt;P&gt;I'm having a data with me invoice,actual sale and sale but i want to display the actual sale using aggr() in the expression &lt;/P&gt;&lt;P&gt;expected value is 83000 as actual sale but it is showing as 149000 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one help me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2017 07:37:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-with-SET-expression/m-p/1456900#M435327</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2017-12-30T07:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR with SET expression</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-with-SET-expression/m-p/1456901#M435328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my expression as follows =sum(aggr(sum({&amp;lt;flag={'Asc'}&amp;gt;}actual_sales_val),sales_pk))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2017 07:38:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-with-SET-expression/m-p/1456901#M435328</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2017-12-30T07:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR with SET expression</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-with-SET-expression/m-p/1456902#M435329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This exp is giving proper out put as expected&lt;/P&gt;&lt;P&gt;=sum(aggr(actual_sales_val,sales_pk))&lt;BR /&gt;but if i apply set expression it is not showing the same&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;=sum(aggr(sum({&amp;lt;flag={'Asc'}&amp;gt;}actual_sales_val),sales_pk))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2017 07:41:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-with-SET-expression/m-p/1456902#M435329</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2017-12-30T07:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR with SET expression</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-with-SET-expression/m-p/1456903#M435330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;may be this &lt;BR /&gt;&lt;/SPAN&gt;&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;&lt;BR /&gt;&lt;/SPAN&gt;&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;&lt;STRONG&gt;sum( &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;flag={'Asc'} &lt;/SPAN&gt;aggr(sum({&amp;lt;flag={'Asc'}&amp;gt;}actual_sales_val),sales_pk))&lt;/STRONG&gt;&lt;/SPAN&gt;&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;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&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;&lt;STRONG&gt;or &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&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;&lt;STRONG&gt;sum( &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;total &lt;/SPAN&gt;aggr(sum({&amp;lt;flag={'Asc'}&amp;gt;}actual_sales_val),sales_pk))&lt;/STRONG&gt;&lt;/SPAN&gt;&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;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&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;Why/where do you need aggr() though ? The output is 149000 for actual_sales_val and 83000 for sales. so i cant see what's wring there?&lt;STRONG&gt; &lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2017 08:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-with-SET-expression/m-p/1456903#M435330</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-12-30T08:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR with SET expression</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-with-SET-expression/m-p/1456904#M435331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradosh .... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets say if actual sale is 6000 with in that sale value is considered as 3000 and 3000&lt;/P&gt;&lt;P&gt;let me explain this ...&lt;/P&gt;&lt;P&gt;for an invoice amount of 6000 is per an item where this was sold by 2 representatives 3000 and 3000&lt;/P&gt;&lt;P&gt;but invoice wise this is repeated for actualsale of 6000 based on employee &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you have a look at that sample once repeated invoice alias sales_pk&amp;nbsp; can identify them &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2017 09:12:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-with-SET-expression/m-p/1456904#M435331</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2017-12-30T09:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR with SET expression</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-with-SET-expression/m-p/1456905#M435332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Above expression is throwing syntax error and below one returns the same 149000 value &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2017 09:17:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-with-SET-expression/m-p/1456905#M435332</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2017-12-30T09:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR with SET expression</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-with-SET-expression/m-p/1456906#M435333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you try this&lt;/P&gt;&lt;P&gt;&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;&lt;STRONG&gt;sum(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;aggr(sum({&amp;lt;flag={'Asc'}&amp;gt;}actual_sales_val)/count(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;{&amp;lt;flag={'Asc'}&amp;gt;}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;sales_pk)&lt;/STRONG&gt;&lt;/SPAN&gt;,sales_pk))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2017 09:23:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-with-SET-expression/m-p/1456906#M435333</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-12-30T09:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR with SET expression</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-with-SET-expression/m-p/1456907#M435334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Pradosh for supporting me inspite of weekend holiday . &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Happy New Year In Advance &lt;/EM&gt;&lt;/STRONG&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2017 09:56:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-with-SET-expression/m-p/1456907#M435334</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2017-12-30T09:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR with SET expression</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-with-SET-expression/m-p/1456908#M435335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem man .. Wish you the same .. cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2017 12:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-with-SET-expression/m-p/1456908#M435335</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-12-30T12:29:15Z</dc:date>
    </item>
  </channel>
</rss>

