<?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 Straight Table vs Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Straight-Table-vs-Pivot-Table/m-p/440940#M164365</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; I have created a straight table and have chosen Sum of rows as total. And the total is showing correctly. But when i change that straight table to the pivot table the value is getting reduced. I am not changing any expression or dimension it is like a fast change. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression is set analysis with count distinct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;COUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={50}&amp;gt;} cid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Mar 2013 11:10:25 GMT</pubDate>
    <dc:creator>brindlogcool</dc:creator>
    <dc:date>2013-03-14T11:10:25Z</dc:date>
    <item>
      <title>Straight Table vs Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-vs-Pivot-Table/m-p/440940#M164365</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; I have created a straight table and have chosen Sum of rows as total. And the total is showing correctly. But when i change that straight table to the pivot table the value is getting reduced. I am not changing any expression or dimension it is like a fast change. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression is set analysis with count distinct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;COUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={50}&amp;gt;} cid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 11:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-vs-Pivot-Table/m-p/440940#M164365</guid>
      <dc:creator>brindlogcool</dc:creator>
      <dc:date>2013-03-14T11:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table vs Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-vs-Pivot-Table/m-p/440941#M164366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the pivot table doesn't have a totalling mode you can set, so it defaults to the expression itself. You'll have to use the aggr function if you want the sum. sum(aggr(count distinct {&amp;lt;Id={50}&amp;gt;} cid, MyDim1, MyDim2,... )). Replace MyDim1, MyDim2 ... with all the dimensions of your pivot table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 11:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-vs-Pivot-Table/m-p/440941#M164366</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-14T11:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table vs Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-vs-Pivot-Table/m-p/440942#M164367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert,&lt;/P&gt;&lt;P&gt;I have modified the expression with aggr function But still it is not giving the same total.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 12:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-vs-Pivot-Table/m-p/440942#M164367</guid>
      <dc:creator>brindlogcool</dc:creator>
      <dc:date>2013-03-14T12:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table vs Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-vs-Pivot-Table/m-p/440943#M164368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works for me. See attached qvw. If you're still unable to solve the problem, post your document (or a representative sample).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 12:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-vs-Pivot-Table/m-p/440943#M164368</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-14T12:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table vs Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-vs-Pivot-Table/m-p/440944#M164369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response. One more reason is inconsistent across the columns only one column is giving wrong value when converting from Staright to pivot table. But all the other columns are correct. &lt;/P&gt;&lt;P&gt;But if i use the agg function i am getting the wrong value for all the columns.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 13:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-vs-Pivot-Table/m-p/440944#M164369</guid>
      <dc:creator>brindlogcool</dc:creator>
      <dc:date>2013-03-14T13:03:15Z</dc:date>
    </item>
  </channel>
</rss>

