<?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: count all skucodes in textobject with aggregation and set  analysis: wrong total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/count-all-skucodes-in-textobject-with-aggregation-and-set/m-p/1762431#M454106</link>
    <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28754"&gt;@chriscools&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try like below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum(Aggr(If(Sum({&amp;lt;info = {'Active','Liquidation'}, TypeArtikel={'Normaal'} &amp;gt;}&amp;nbsp;[AK # open] )+&amp;nbsp;sum ( {&amp;lt;warehouse_name = {"WHS BE"},info = {'Active','Liquidation'}, TypeArtikel={'Normaal'}&amp;gt;}qty) -&amp;nbsp;sum ({&amp;lt;info = {'Active','Liquidation'}, TypeArtikel={'Normaal'} &amp;gt;}&amp;nbsp; qty_unit_open )&amp;lt;=0, 1, 0),&amp;nbsp;sku_code))&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Nov 2020 01:40:18 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2020-11-18T01:40:18Z</dc:date>
    <item>
      <title>count all skucodes in textobject with aggregation and set  analysis: wrong total</title>
      <link>https://community.qlik.com/t5/QlikView/count-all-skucodes-in-textobject-with-aggregation-and-set/m-p/1762428#M454105</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i would like to do a count of all Sku codes with these 3 conditions:&lt;/P&gt;&lt;P&gt;1 = "info" equals Active or Liquidation&lt;/P&gt;&lt;P&gt;2 = "TypeArtikel equals Normaal&lt;/P&gt;&lt;P&gt;3 = but also&amp;nbsp; where the sum of&amp;nbsp;[AK # open] +&amp;nbsp;sum ( {&amp;lt;warehouse_name = {"WHS BE"}&amp;gt;}qty -&amp;nbsp;sum ( qty_unit_open ) for each sku-code is less than zero&lt;/P&gt;&lt;P&gt;And i don't know where to place that last part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this formula:&lt;/P&gt;&lt;P&gt;=count ( {&amp;lt;info = {'Active','Liquidation'}, TypeArtikel={'Normaal'} &amp;gt;} ( (Aggr( (sum ([AK # open])+sum ( {&amp;lt;warehouse_name = {"WHS BE"}&amp;gt;}qty)-sum ( qty_unit_open )),sku_code)&amp;lt;=0)))&lt;/P&gt;&lt;P&gt;But then it only gives me the number of all sku_codes for the first 2 conditions, but it doesn't take into account that the aggregated sum must be less than zero.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea on what i might do to fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;htanx!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 00:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-all-skucodes-in-textobject-with-aggregation-and-set/m-p/1762428#M454105</guid>
      <dc:creator>chriscools</dc:creator>
      <dc:date>2020-11-18T00:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: count all skucodes in textobject with aggregation and set  analysis: wrong total</title>
      <link>https://community.qlik.com/t5/QlikView/count-all-skucodes-in-textobject-with-aggregation-and-set/m-p/1762431#M454106</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28754"&gt;@chriscools&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try like below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum(Aggr(If(Sum({&amp;lt;info = {'Active','Liquidation'}, TypeArtikel={'Normaal'} &amp;gt;}&amp;nbsp;[AK # open] )+&amp;nbsp;sum ( {&amp;lt;warehouse_name = {"WHS BE"},info = {'Active','Liquidation'}, TypeArtikel={'Normaal'}&amp;gt;}qty) -&amp;nbsp;sum ({&amp;lt;info = {'Active','Liquidation'}, TypeArtikel={'Normaal'} &amp;gt;}&amp;nbsp; qty_unit_open )&amp;lt;=0, 1, 0),&amp;nbsp;sku_code))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 01:40:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-all-skucodes-in-textobject-with-aggregation-and-set/m-p/1762431#M454106</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2020-11-18T01:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: count all skucodes in textobject with aggregation and set  analysis: wrong total</title>
      <link>https://community.qlik.com/t5/QlikView/count-all-skucodes-in-textobject-with-aggregation-and-set/m-p/1764527#M454204</link>
      <description>&lt;P&gt;it worked, thanx!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 23:07:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-all-skucodes-in-textobject-with-aggregation-and-set/m-p/1764527#M454204</guid>
      <dc:creator>chriscools</dc:creator>
      <dc:date>2020-11-25T23:07:31Z</dc:date>
    </item>
  </channel>
</rss>

