<?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 handle ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-handle/m-p/1031290#M931411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, I think this only works because there are as many Amoun records per Id as projects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't fully understood the requirement, I think it may be best to remodel the model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for a UI based solution, I assume the Sum(Amoun) per Id should be distributed equally to all Projects, and then show a sum-of-rows for the Total?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum( Aggr( Sum(Amoun) / Count(TOTAL&amp;lt;Id&amp;gt; DISTINCT Project),Project,Id))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#d1e0b5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;Project&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;SubHead&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;Id&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TD bgcolor="#e7efd9"&gt;Sum( Aggr( Sum(Amoun) / Count(TOTAL&amp;lt;Id&amp;gt; DISTINCT Project),Project,Id)) &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#e7efd9"&gt;&lt;TD bgcolor="#e7efd9" rowspan="3"&gt;E&lt;/TD&gt;&lt;TD bgcolor="#e7efd9" rowspan="2"&gt;55&lt;/TD&gt;&lt;TD bgcolor="#e7efd9"&gt;5&lt;/TD&gt;&lt;TD bgcolor="#e7efd9"&gt;3404 &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#e7efd9"&gt;&lt;TD bgcolor="#d1e0b5"&gt;&lt;STRONG&gt;Total &lt;/STRONG&gt;&lt;/TD&gt;&lt;TD bgcolor="#d1e0b5"&gt;&lt;STRONG&gt;3404 &lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#d1e0b5"&gt;&lt;TD bgcolor="#d1e0b5"&gt;&lt;STRONG&gt;Total &lt;/STRONG&gt;&lt;/TD&gt;&lt;TD bgcolor="#d1e0b5"&gt; &lt;/TD&gt;&lt;TD bgcolor="#d1e0b5"&gt;&lt;STRONG&gt;3404 &lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#e7efd9"&gt;&lt;TD bgcolor="#e7efd9" rowspan="3"&gt;F&lt;/TD&gt;&lt;TD bgcolor="#e7efd9" rowspan="2"&gt;66&lt;/TD&gt;&lt;TD bgcolor="#e7efd9"&gt;5&lt;/TD&gt;&lt;TD bgcolor="#e7efd9"&gt;3404 &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#e7efd9"&gt;&lt;TD bgcolor="#d1e0b5"&gt;&lt;STRONG&gt;Total &lt;/STRONG&gt;&lt;/TD&gt;&lt;TD bgcolor="#d1e0b5"&gt;&lt;STRONG&gt;3404 &lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#d1e0b5"&gt;&lt;TD bgcolor="#d1e0b5"&gt;&lt;STRONG&gt;Total &lt;/STRONG&gt;&lt;/TD&gt;&lt;TD bgcolor="#d1e0b5"&gt; &lt;/TD&gt;&lt;TD bgcolor="#d1e0b5"&gt;&lt;STRONG&gt;3404 &lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#d1e0b5"&gt;&lt;TD bgcolor="#d1e0b5"&gt;&lt;STRONG&gt;Total &lt;/STRONG&gt;&lt;/TD&gt;&lt;TD bgcolor="#d1e0b5"&gt; &lt;/TD&gt;&lt;TD bgcolor="#d1e0b5"&gt; &lt;/TD&gt;&lt;TD bgcolor="#d1e0b5"&gt;&lt;STRONG&gt;6808&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Mar 2016 16:32:56 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-03-08T16:32:56Z</dc:date>
    <item>
      <title>How to handle ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-handle/m-p/1031288#M931409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Sampl.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/117367_Sampl.JPG" style="height: auto;" /&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I m facing one issue, in my report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue is :&lt;/P&gt;&lt;P&gt;If Id is having more than one project or SubHead , i m getting same amount for both .....How to overcome this issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer my screenshot in that if i select Id=5 ,Amount should be show like that for Id ( &lt;SPAN style="font-size: 13.3333px;"&gt;If Id is having more than one project or SubHead &lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer my same application.&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/How-to-handle/m-p/1031288#M931409</guid>
      <dc:creator>subbareddykm</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-handle/m-p/1031289#M931410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not certain, but may be this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(Avg(Amoun), Project))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/117378_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 16:25:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-handle/m-p/1031289#M931410</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-08T16:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-handle/m-p/1031290#M931411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, I think this only works because there are as many Amoun records per Id as projects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't fully understood the requirement, I think it may be best to remodel the model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for a UI based solution, I assume the Sum(Amoun) per Id should be distributed equally to all Projects, and then show a sum-of-rows for the Total?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum( Aggr( Sum(Amoun) / Count(TOTAL&amp;lt;Id&amp;gt; DISTINCT Project),Project,Id))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#d1e0b5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;Project&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;SubHead&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;Id&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TD bgcolor="#e7efd9"&gt;Sum( Aggr( Sum(Amoun) / Count(TOTAL&amp;lt;Id&amp;gt; DISTINCT Project),Project,Id)) &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#e7efd9"&gt;&lt;TD bgcolor="#e7efd9" rowspan="3"&gt;E&lt;/TD&gt;&lt;TD bgcolor="#e7efd9" rowspan="2"&gt;55&lt;/TD&gt;&lt;TD bgcolor="#e7efd9"&gt;5&lt;/TD&gt;&lt;TD bgcolor="#e7efd9"&gt;3404 &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#e7efd9"&gt;&lt;TD bgcolor="#d1e0b5"&gt;&lt;STRONG&gt;Total &lt;/STRONG&gt;&lt;/TD&gt;&lt;TD bgcolor="#d1e0b5"&gt;&lt;STRONG&gt;3404 &lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#d1e0b5"&gt;&lt;TD bgcolor="#d1e0b5"&gt;&lt;STRONG&gt;Total &lt;/STRONG&gt;&lt;/TD&gt;&lt;TD bgcolor="#d1e0b5"&gt; &lt;/TD&gt;&lt;TD bgcolor="#d1e0b5"&gt;&lt;STRONG&gt;3404 &lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#e7efd9"&gt;&lt;TD bgcolor="#e7efd9" rowspan="3"&gt;F&lt;/TD&gt;&lt;TD bgcolor="#e7efd9" rowspan="2"&gt;66&lt;/TD&gt;&lt;TD bgcolor="#e7efd9"&gt;5&lt;/TD&gt;&lt;TD bgcolor="#e7efd9"&gt;3404 &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#e7efd9"&gt;&lt;TD bgcolor="#d1e0b5"&gt;&lt;STRONG&gt;Total &lt;/STRONG&gt;&lt;/TD&gt;&lt;TD bgcolor="#d1e0b5"&gt;&lt;STRONG&gt;3404 &lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#d1e0b5"&gt;&lt;TD bgcolor="#d1e0b5"&gt;&lt;STRONG&gt;Total &lt;/STRONG&gt;&lt;/TD&gt;&lt;TD bgcolor="#d1e0b5"&gt; &lt;/TD&gt;&lt;TD bgcolor="#d1e0b5"&gt;&lt;STRONG&gt;3404 &lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#d1e0b5"&gt;&lt;TD bgcolor="#d1e0b5"&gt;&lt;STRONG&gt;Total &lt;/STRONG&gt;&lt;/TD&gt;&lt;TD bgcolor="#d1e0b5"&gt; &lt;/TD&gt;&lt;TD bgcolor="#d1e0b5"&gt; &lt;/TD&gt;&lt;TD bgcolor="#d1e0b5"&gt;&lt;STRONG&gt;6808&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 16:32:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-handle/m-p/1031290#M931411</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-08T16:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-handle/m-p/1031291#M931412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more doubt in this .&lt;/P&gt;&lt;P&gt;In my application, i m applying logic after sum if the value is positive rest value i m showing as Zero.becoz of that reason , in pivot table for projectwise total is not matching , if convert it into stright table row level sum its giving correct value , this kind of isssues how to solve .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 16:34:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-handle/m-p/1031291#M931412</guid>
      <dc:creator>subbareddykm</dc:creator>
      <dc:date>2016-03-08T16:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-handle/m-p/1031292#M931413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case i m using expression like below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(&lt;/P&gt;&lt;P&gt;Sum(Amount)&amp;gt;0,&lt;SPAN style="font-size: 13.3333px;"&gt;Sum(Amount),0 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u help on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 16:41:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-handle/m-p/1031292#M931413</guid>
      <dc:creator>subbareddykm</dc:creator>
      <dc:date>2016-03-08T16:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-handle/m-p/1031293#M931414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems to me like you need a sum-of-rows in pivot tables anyway (have you set total mode to sum-of-rows in the straight table?):&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: 12px; background-color: #f2f2f2;"&gt;=Sum( Aggr( &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;=If(&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Sum(Amount)&amp;gt;0,&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sum(Amount),0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&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: 12px; background-color: #f2f2f2;"&gt; / Count(TOTAL&amp;lt;Id&amp;gt; DISTINCT Project)&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: 12px; background-color: #f2f2f2;"&gt;,Project,Id))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 16:44:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-handle/m-p/1031293#M931414</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-08T16:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-handle/m-p/1031294#M931415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes , i enabled that in stright table still i m getting in pivot table. how to solve tis?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 17:08:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-handle/m-p/1031294#M931415</guid>
      <dc:creator>subbareddykm</dc:creator>
      <dc:date>2016-03-08T17:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-handle/m-p/1031295#M931416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe the issue is your data model rather than your expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="117386" alt="model.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/117386_model.JPG" style="width: 620px; height: 198px;" /&gt;&lt;/P&gt;&lt;P&gt;Project A links to SubHead 11 which links to ID 1 and the Amounts&lt;/P&gt;&lt;P&gt;Project B links to SubHead 22 which also links to ID 1 and the same Amounts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you look at the total for project A , it sums both Amounts linked to ID 1 = 380&lt;/P&gt;&lt;P&gt;When you look at the total for project B , it sums both Amounts linked to ID 1 = 380&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when you select Projects A and B, the total is still 380 as this is the sum of the amounts associated with ID1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is your data model, not your chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 17:38:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-handle/m-p/1031295#M931416</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2016-03-08T17:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-handle/m-p/1031296#M931417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;subbareddykm wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Yes , i enabled that in stright table still i m getting in pivot table. how to solve tis?&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Sorry, what do you get in the pivot table?&lt;/P&gt;&lt;P&gt;Could you modify and repost your sample QVW to demonstrate your current status?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 17:40:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-handle/m-p/1031296#M931417</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-08T17:40:48Z</dc:date>
    </item>
  </channel>
</rss>

