<?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 Aggregation in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregation-in-pivot-table/m-p/1265157#M861851</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Qlik Developers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table in which i have a calculated dimension called&lt;/P&gt;&lt;P&gt;=Num(Aggr(Sum(HCS_Data.Approved_Amount_per_Attendee),HCS_Data.NPI_Number), '#,##0.00').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is summing up the total amount based on npi. This is working fine when there is a Npi Number but if the Npi number is null its also calculating sum(amount) for all nulls. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is if i have npi number calculate sum(amount) and if i don't have NPi number display amount. Please find the attached app and also screen shot. Thanks in Advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>dandaanilreddy</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Aggregation in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-in-pivot-table/m-p/1265157#M861851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Qlik Developers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table in which i have a calculated dimension called&lt;/P&gt;&lt;P&gt;=Num(Aggr(Sum(HCS_Data.Approved_Amount_per_Attendee),HCS_Data.NPI_Number), '#,##0.00').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is summing up the total amount based on npi. This is working fine when there is a Npi Number but if the Npi number is null its also calculating sum(amount) for all nulls. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is if i have npi number calculate sum(amount) and if i don't have NPi number display amount. Please find the attached app and also screen shot. Thanks in Advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anil&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/Aggregation-in-pivot-table/m-p/1265157#M861851</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-in-pivot-table/m-p/1265158#M861852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;May be something like this - &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(len(&lt;SPAN&gt;HCS_Data.NPI_Number&lt;/SPAN&gt;)&amp;gt;0,&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Num(Aggr(Sum(HCS_Data.Approved_Amount_per_Attendee),HCS_Data.NPI_Number), '#,##0.00'),&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Amount Field&amp;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;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;Cannot see qvw as using personal edition of Qlikview.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 23:10:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-in-pivot-table/m-p/1265158#M861852</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2017-01-17T23:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-in-pivot-table/m-p/1265159#M861853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay&lt;/P&gt;&lt;P&gt;Thanks for the reply. The expression what you provided solve the amount issue but i wrote color condition for the amount like&lt;/P&gt;&lt;P&gt;=If(Sum(TOTAL &amp;lt;HCS_Data.NPI_Number&amp;gt; HCS_Data.Approved_Amount_per_Attendee)&amp;gt;350,rgb(179,0,0),&lt;/P&gt;&lt;P&gt;If(Sum(TOTAL &amp;lt;HCS_Data.NPI_Number&amp;gt; HCS_Data.Approved_Amount_per_Attendee)&amp;gt;325,rgb(255, 0, 0),&lt;/P&gt;&lt;P&gt;If(Sum(TOTAL &amp;lt;HCS_Data.NPI_Number&amp;gt; HCS_Data.Approved_Amount_per_Attendee)&amp;gt;300,rgb(255, 191, 0),&lt;/P&gt;&lt;P&gt;If(Sum(TOTAL &amp;lt;HCS_Data.NPI_Number&amp;gt; HCS_Data.Approved_Amount_per_Attendee)&amp;gt;275,rgb(255, 255, 0),&lt;/P&gt;&lt;P&gt;If(Sum(TOTAL &amp;lt;HCS_Data.NPI_Number&amp;gt; HCS_Data.Approved_Amount_per_Attendee)&amp;gt;0,rgb(255, 255, 255))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the color is not working based on the selection when i select amount greater than 350 the color should be red. But the red color is also appearing for amount like 120, 117. Can you help me with this please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 23:27:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-in-pivot-table/m-p/1265159#M861853</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2017-01-17T23:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-in-pivot-table/m-p/1265160#M861854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you put these expression in text box and see what value they show when you make selections.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 00:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-in-pivot-table/m-p/1265160#M861854</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2017-01-18T00:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-in-pivot-table/m-p/1265161#M861855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do mean by value for this expression. The expression gives the colors based on range selection right ? I am not sure what you are referring me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anil Danda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 00:42:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-in-pivot-table/m-p/1265161#M861855</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2017-01-18T00:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-in-pivot-table/m-p/1265162#M861856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mean the value of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum(TOTAL &amp;lt;HCS_Data.NPI_Number&amp;gt; HCS_Data.Approved_Amount_per_Attendee&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 00:45:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-in-pivot-table/m-p/1265162#M861856</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2017-01-18T00:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-in-pivot-table/m-p/1265163#M861857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The total amount value is correct but i have an issue with color condition. The above color expression is not working properly for the dimension. Is there any other way to write the color condition? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anil &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 00:47:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-in-pivot-table/m-p/1265163#M861857</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2017-01-18T00:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-in-pivot-table/m-p/1265164#M861858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may try color expression using the similar expression you used for calculated dimension - &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(HCS_Data.Approved_Amount_per_Attendee),HCS_Data.NPI_Number)&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;Since it worked for calculated dim calc, it should work for color exp as well.&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;I am sorry, cannot see qvw as not having license, may be other experts can help further.&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;Regards,&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 00:57:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-in-pivot-table/m-p/1265164#M861858</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2017-01-18T00:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-in-pivot-table/m-p/1265165#M861859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Sum(TOTAL &amp;lt;HCS_Data.NPI_Number&amp;gt; HCS_Data.Approved_Amount_per_Attendee)&amp;gt;350 ,rgb(179,0,0),&lt;/P&gt;&lt;P&gt;If(Sum(TOTAL &amp;lt;HCS_Data.NPI_Number&amp;gt; HCS_Data.Approved_Amount_per_Attendee)&amp;gt;325 and Sum(TOTAL &amp;lt;HCS_Data.NPI_Number&amp;gt; HCS_Data.Approved_Amount_per_Attendee)&amp;lt;349,rgb(255, 0, 0),&lt;/P&gt;&lt;P&gt;If(Sum(TOTAL &amp;lt;HCS_Data.NPI_Number&amp;gt; HCS_Data.Approved_Amount_per_Attendee)&amp;gt;300 and Sum(TOTAL &amp;lt;HCS_Data.NPI_Number&amp;gt; HCS_Data.Approved_Amount_per_Attendee)&amp;lt;324,rgb(255, 191, 0),&lt;/P&gt;&lt;P&gt;If(Sum(TOTAL &amp;lt;HCS_Data.NPI_Number&amp;gt; HCS_Data.Approved_Amount_per_Attendee)&amp;gt;275 and Sum(TOTAL &amp;lt;HCS_Data.NPI_Number&amp;gt; HCS_Data.Approved_Amount_per_Attendee)&amp;lt;1,rgb(255, 255, 0),&lt;/P&gt;&lt;P&gt;If(Sum(TOTAL &amp;lt;HCS_Data.NPI_Number&amp;gt; HCS_Data.Approved_Amount_per_Attendee)&amp;gt;0,rgb(255, 255, 255))))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 02:39:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-in-pivot-table/m-p/1265165#M861859</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2017-01-18T02:39:01Z</dc:date>
    </item>
  </channel>
</rss>

