<?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 % in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table/m-p/1355929#M836330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share a sample to look into ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 May 2017 14:55:11 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2017-05-16T14:55:11Z</dc:date>
    <item>
      <title>Pivot Table %</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table/m-p/1355926#M836327</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 have an expression where I am calculating count of total population for particular group/count of total population for particular company&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;count of Group A, company 123/ count of company 123&lt;/P&gt;&lt;P&gt;I'm suppose to get % as individual but i'm always getting 100% which is not true.&lt;/P&gt;&lt;P&gt;I used below exp &lt;/P&gt;&lt;P&gt;Count({&amp;lt;Group={'A'},Company={123}&amp;gt;}DISTINCT Number)/Count({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;Company&lt;/SPAN&gt;={123}&amp;gt;}DISTINCT Number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In text box it is giving me correct % but in pivot it is giving me 100% for Group A.&lt;/P&gt;&lt;P&gt;Tried different exp as well but not working&lt;/P&gt;&lt;P&gt;Company is Dim 1 and Group is Dim 2&lt;/P&gt;&lt;P&gt;Company has 3 values inside and Group has 4 to 5 values&lt;/P&gt;&lt;P&gt;If I remove Group Dim, the % comes correct.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708" target="_blank"&gt;stalwar1&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/15823" target="_blank"&gt;swuehl&lt;/A&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/m-p/1355926#M836327</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table %</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table/m-p/1355927#M836328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Aehman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try with this.&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: 13px;"&gt;Count(Aggr(Count({&amp;lt;Group={'A'},Company={123}&amp;gt;}DISTINCT Number)/Count({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Company&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;={123}&amp;gt;}DISTINCT 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;Dim1,Dim2))&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;Tripati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 14:33:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table/m-p/1355927#M836328</guid>
      <dc:creator>tripatirao</dc:creator>
      <dc:date>2017-05-16T14:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table %</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table/m-p/1355928#M836329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tripati,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your logic but it is still giving me 100% for row A&lt;/P&gt;&lt;P&gt;I'm not sure if my data model is the problem.&lt;/P&gt;&lt;P&gt;Cus Group or Company is being derived from a composite key to link to fact.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 14:43:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table/m-p/1355928#M836329</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-05-16T14:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table %</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table/m-p/1355929#M836330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share a sample to look into ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 14:55:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table/m-p/1355929#M836330</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-05-16T14:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table %</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table/m-p/1355930#M836331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vishwarath, unfortunately I cannot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't even create sample for this, as the table is derived from key fields&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 15:03:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table/m-p/1355930#M836331</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-05-16T15:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table %</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table/m-p/1355931#M836332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mean to say your .qvw file which you are working on. You can scramble data and send us the file. Check below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 15:11:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table/m-p/1355931#M836332</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-05-16T15:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table %</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table/m-p/1355932#M836333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, the data volume is very high..&lt;BR /&gt;I'll make a new qvw with required fields, scramble it and upload here soon.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 15:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table/m-p/1355932#M836333</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-05-16T15:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table %</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table/m-p/1355933#M836334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;You need to ignore any group selections from your denominator:&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;Count({&amp;lt;Group={'A'},Company={123}&amp;gt;}DISTINCT Number)/Count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Group=&lt;/SPAN&gt; ,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Company&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;={123}&amp;gt;}DISTINCT Number)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 15:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table/m-p/1355933#M836334</guid>
      <dc:creator>c_gilbert</dc:creator>
      <dc:date>2017-05-16T15:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table %</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table/m-p/1355934#M836335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count({&amp;lt;Group={'A'},Company={123}&amp;gt;}DISTINCT Number)/Count(&lt;SPAN style="text-decoration: underline;"&gt;TOTAL&lt;/SPAN&gt;{&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Company&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;={123}&amp;gt;}DISTINCT Number)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 15:42:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table/m-p/1355934#M836335</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2017-05-16T15:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table %</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table/m-p/1355935#M836336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks all of guys for help...&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I used &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;@Neelam Sehrawat, I used your expression and also Charlotte's expression to get my result....&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I had tweak your expression to adjust my requirement. Cus as I said I am calculating for each row&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;below is my expression&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Count({&amp;lt;Group={'A'},Company&amp;gt;}DISTINCT Number)/Count(&lt;STRONG&gt;TOTAL{&lt;/STRONG&gt;&amp;lt;&lt;STRONG&gt;Company=&lt;/STRONG&gt;,&lt;SPAN style="font-size: 13.3333px;"&gt;Group&lt;/SPAN&gt;={'A'}&amp;gt;}DISTINCT EMPLOYEEIDNBR) &lt;STRONG&gt;+&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Count({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;Group&lt;/SPAN&gt;={'B'},Company&amp;gt;}DISTINCT Number)/Count(&lt;STRONG&gt;TOTAL&lt;/STRONG&gt;{&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Company&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;,&lt;SPAN style="font-size: 13.3333px;"&gt;Group&lt;/SPAN&gt;={'B'}&amp;gt;}DISTINCT EMPLOYEEIDNBR)&amp;nbsp; &lt;STRONG&gt;+&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Count({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;Group&lt;/SPAN&gt;={'C'},Company&amp;gt;}DISTINCT Number)/Count(&lt;STRONG&gt;TOTAL&lt;/STRONG&gt;{&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Company&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;,&lt;SPAN style="font-size: 13.3333px;"&gt;Group&lt;/SPAN&gt;={'C'}&amp;gt;}DISTINCT EMPLOYEEIDNBR)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 17:55:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table/m-p/1355935#M836336</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-05-16T17:55:40Z</dc:date>
    </item>
  </channel>
</rss>

