<?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: Sum into a Text Object - How to use AGGR after fliter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-into-a-Text-Object-How-to-use-AGGR-after-fliter/m-p/1428555#M805132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for your response,&lt;/P&gt;&lt;P&gt;The &lt;STRONG style="color: #3d3d3d; font-size: 13px; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;'1 Vendor' &lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;is not the value of Vendor_code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;it Calculated with &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=if(aggr(Count(DISTINCT Vendor_Code), Material_Code)=1,&lt;/P&gt;&lt;P&gt;'1 Vendor',aggr(Count(DISTINCT Vendor_Code), Material_Code)&amp;amp;' Vendors')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Nov 2017 12:57:23 GMT</pubDate>
    <dc:creator>limingthefirst</dc:creator>
    <dc:date>2017-11-07T12:57:23Z</dc:date>
    <item>
      <title>Sum into a Text Object - How to use AGGR after fliter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-into-a-Text-Object-How-to-use-AGGR-after-fliter/m-p/1428552#M805129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have a straight table&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; (see screenshot).&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I'm trying to get the sum of rows of the Spend into a text object.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;And the 1/2/3/4 Vendor(s) is Dimensions with extension below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=if(aggr(Count(DISTINCT Vendor_Code), Material_Code)=1,&lt;/P&gt;&lt;P&gt;'1 Vendor',aggr(Count(DISTINCT Vendor_Code), Material_Code)&amp;amp;' Vendors')&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;IMG __jive_id="182379" alt="20171107203339.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/182379_20171107203339.png" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Now when I sum the Spend of 1 Vendor into Text Object, the result is incorrect. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;=sum(if(aggr(Count(DISTINCT Vendor_Code), Material_Code)=1,Delivery_Amount))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;or try this &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;extension is incorrect too:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;=sum(aggr(if(aggr(Count(DISTINCT Vendor_Code), Material_Code)=1,Delivery_Amount), Material_Code))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I want to sum the Spend of the material_code has only one vendor_code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Can anybody help me to correct the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;extension ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Ming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-into-a-Text-Object-How-to-use-AGGR-after-fliter/m-p/1428552#M805129</guid>
      <dc:creator>limingthefirst</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sum into a Text Object - How to use AGGR after fliter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-into-a-Text-Object-How-to-use-AGGR-after-fliter/m-p/1428553#M805130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;=Sum(If(Aggr(Count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Vendor_Code = {'1 Vendor'}&lt;/SPAN&gt;&amp;gt;} DISTINCT Vendor_Code), Material_Code)=1,Delivery_Amount))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 12:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-into-a-Text-Object-How-to-use-AGGR-after-fliter/m-p/1428553#M805130</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-07T12:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sum into a Text Object - How to use AGGR after fliter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-into-a-Text-Object-How-to-use-AGGR-after-fliter/m-p/1428554#M805131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Material_Code = {"=Count(DISTINCT Vendor_Code) = 1"}&amp;gt;}Delivery_Amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 12:54:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-into-a-Text-Object-How-to-use-AGGR-after-fliter/m-p/1428554#M805131</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-07T12:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sum into a Text Object - How to use AGGR after fliter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-into-a-Text-Object-How-to-use-AGGR-after-fliter/m-p/1428555#M805132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for your response,&lt;/P&gt;&lt;P&gt;The &lt;STRONG style="color: #3d3d3d; font-size: 13px; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;'1 Vendor' &lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;is not the value of Vendor_code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;it Calculated with &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=if(aggr(Count(DISTINCT Vendor_Code), Material_Code)=1,&lt;/P&gt;&lt;P&gt;'1 Vendor',aggr(Count(DISTINCT Vendor_Code), Material_Code)&amp;amp;' Vendors')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 12:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-into-a-Text-Object-How-to-use-AGGR-after-fliter/m-p/1428555#M805132</guid>
      <dc:creator>limingthefirst</dc:creator>
      <dc:date>2017-11-07T12:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sum into a Text Object - How to use AGGR after fliter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-into-a-Text-Object-How-to-use-AGGR-after-fliter/m-p/1428556#M805133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's working well, Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 13:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-into-a-Text-Object-How-to-use-AGGR-after-fliter/m-p/1428556#M805133</guid>
      <dc:creator>limingthefirst</dc:creator>
      <dc:date>2017-11-07T13:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sum into a Text Object - How to use AGGR after fliter</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-into-a-Text-Object-How-to-use-AGGR-after-fliter/m-p/1428557#M805134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then, Sunny's reply make sense&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 13:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-into-a-Text-Object-How-to-use-AGGR-after-fliter/m-p/1428557#M805134</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-07T13:01:01Z</dc:date>
    </item>
  </channel>
</rss>

