<?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: How to use Aggregate function in the Text Box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-Aggregate-function-in-the-Text-Box/m-p/786656#M666217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this:&lt;/P&gt;&lt;P&gt;count({&amp;lt;[Inventory Item]={'=only([Primary Item Quantity])+sum([Alternate Item Quantity])&amp;lt;only([Safety Stock Quantity])'}&amp;gt;}[Inventory Item])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, please post a document that demonstrates the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Dec 2014 07:29:51 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-12-25T07:29:51Z</dc:date>
    <item>
      <title>How to use Aggregate function in the Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Aggregate-function-in-the-Text-Box/m-p/786655#M666216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following expression in the text box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count (&amp;nbsp; IF ([Primary Item Quantity]&amp;nbsp; + sum( [Alternate Item Quantity] )&amp;nbsp; &amp;lt; [Safety Stock Quantity], [Inventory Item]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My objective is to find count of item&amp;nbsp; with Primary and Alternate quantity is less than safety stock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note, Alternate item&amp;nbsp; is a separate table with one to many relationships with Primary Item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above expression gives error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly Advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abubakker.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Dec 2014 04:56:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Aggregate-function-in-the-Text-Box/m-p/786655#M666216</guid>
      <dc:creator />
      <dc:date>2014-12-25T04:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Aggregate function in the Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Aggregate-function-in-the-Text-Box/m-p/786656#M666217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this:&lt;/P&gt;&lt;P&gt;count({&amp;lt;[Inventory Item]={'=only([Primary Item Quantity])+sum([Alternate Item Quantity])&amp;lt;only([Safety Stock Quantity])'}&amp;gt;}[Inventory Item])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, please post a document that demonstrates the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Dec 2014 07:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Aggregate-function-in-the-Text-Box/m-p/786656#M666217</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-12-25T07:29:51Z</dc:date>
    </item>
  </channel>
</rss>

