<?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: Pivot Table -Total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Total/m-p/1202295#M880688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhavvi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use advanced aggr in this case to get the actual count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(aggr(if(LWCHRG.OPPD_PERS_PROP='PERSONS',sum({&amp;lt;NAME_CODE={'VI'},PDRMSBKUP_LWMAIN.APPROVAL_LEVEL={"&amp;gt;1"},CASE_DISPOSITION={"*"}-{'1'},LWCHRG.OPPD_CRIME_PART={'2'}&amp;gt;}CRIME_CNT),&lt;/P&gt;&lt;P&gt;COUNT({&amp;lt;CHRGCNT={'1'},PDRMSBKUP_LWMAIN.APPROVAL_LEVEL={"&amp;gt;1"},CASE_DISPOSITION={"*"}-{'1'},LWCHRG.OPPD_CRIME_PART={'2'}&amp;gt;}DISTINCT LWMAINID)),KS_cRIME_TYPE))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Oct 2016 09:22:05 GMT</pubDate>
    <dc:creator>jyothish8807</dc:creator>
    <dc:date>2016-10-05T09:22:05Z</dc:date>
    <item>
      <title>Pivot Table -Total</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Total/m-p/1202293#M880686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my pivot table showing wrong total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="KS ISSUE.png" class="jive-image image-1" src="/legacyfs/online/139678_KS ISSUE.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;If &lt;SPAN style="color: #073763; font-family: 'Trebuchet MS', sans-serif; font-size: 16px;"&gt;You can see in the screen shot, its showing the total as 338 in the chart.If you add the totals from each column in the pivot table, you get 354. Not sure why they don't match . please help me to fix it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have taken KS_cRIME_TYPE as dimension and &lt;/P&gt;&lt;P&gt;=if(LWCHRG.OPPD_PERS_PROP='PERSONS',sum({&amp;lt;NAME_CODE={'VI'},PDRMSBKUP_LWMAIN.APPROVAL_LEVEL={"&amp;gt;1"},CASE_DISPOSITION={"*"}-{'1'},LWCHRG.OPPD_CRIME_PART={'2'}&amp;gt;}CRIME_CNT),&lt;/P&gt;&lt;P&gt;COUNT({&amp;lt;CHRGCNT={'1'},PDRMSBKUP_LWMAIN.APPROVAL_LEVEL={"&amp;gt;1"},CASE_DISPOSITION={"*"}-{'1'},LWCHRG.OPPD_CRIME_PART={'2'}&amp;gt;}DISTINCT LWMAINID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i converted to straight table and if i selected &lt;SPAN style="color: #ff6600;"&gt;sum of rows&lt;/SPAN&gt; in the expression then getting 354.But i need to get 354 in pivot table and line charts only their we dont have the &lt;SPAN style="color: #ff6600;"&gt;sum of rows.please help me to fix it.&lt;/SPAN&gt;&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/Pivot-Table-Total/m-p/1202293#M880686</guid>
      <dc:creator>bhavvibudagam</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table -Total</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Total/m-p/1202294#M880687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with Sum(Aggr(....))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Sum(Aggr(&lt;/STRONG&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;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(LWCHRG.OPPD_PERS_PROP='PERSONS',sum({&amp;lt;NAME_CODE={'VI'},PDRMSBKUP_LWMAIN.APPROVAL_LEVEL={"&amp;gt;1"},CASE_DISPOSITION={"*"}-{'1'},LWCHRG.OPPD_CRIME_PART={'2'}&amp;gt;}CRIME_CNT),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;COUNT({&amp;lt;CHRGCNT={'1'},PDRMSBKUP_LWMAIN.APPROVAL_LEVEL={"&amp;gt;1"},CASE_DISPOSITION={"*"}-{'1'},LWCHRG.OPPD_CRIME_PART={'2'}&amp;gt;}DISTINCT LWMAINID))&lt;/STRONG&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="color: #ff0000;"&gt;&lt;STRONG&gt;,&lt;SPAN style="font-size: 10pt;"&gt;KS_CRIME_TYPE&lt;/SPAN&gt;))&lt;/STRONG&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: #ff0000;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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="text-decoration: line-through;"&gt;Add the complete dimension name here in place for &lt;SPAN style="color: #ff0000; font-size: 14pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-decoration: line-through;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;KS_CRIME_T&lt;/STRONG&gt;&lt;/SPAN&gt;. I couldn't see the whole name in the image, so added what I can see&lt;/SPAN&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 09:18:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Total/m-p/1202294#M880687</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-05T09:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table -Total</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Total/m-p/1202295#M880688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhavvi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use advanced aggr in this case to get the actual count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(aggr(if(LWCHRG.OPPD_PERS_PROP='PERSONS',sum({&amp;lt;NAME_CODE={'VI'},PDRMSBKUP_LWMAIN.APPROVAL_LEVEL={"&amp;gt;1"},CASE_DISPOSITION={"*"}-{'1'},LWCHRG.OPPD_CRIME_PART={'2'}&amp;gt;}CRIME_CNT),&lt;/P&gt;&lt;P&gt;COUNT({&amp;lt;CHRGCNT={'1'},PDRMSBKUP_LWMAIN.APPROVAL_LEVEL={"&amp;gt;1"},CASE_DISPOSITION={"*"}-{'1'},LWCHRG.OPPD_CRIME_PART={'2'}&amp;gt;}DISTINCT LWMAINID)),KS_cRIME_TYPE))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 09:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Total/m-p/1202295#M880688</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2016-10-05T09:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table -Total</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Total/m-p/1202296#M880689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jyothish. Its working &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 12:36:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Total/m-p/1202296#M880689</guid>
      <dc:creator>bhavvibudagam</dc:creator>
      <dc:date>2016-10-05T12:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table -Total</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Total/m-p/1202297#M880690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome &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;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 12:41:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Total/m-p/1202297#M880690</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2016-10-05T12:41:41Z</dc:date>
    </item>
  </channel>
</rss>

