<?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: Re: Pivot Table calculations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602815#M1093165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad - I didn't attach anything... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 May 2014 17:13:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-05-06T17:13:57Z</dc:date>
    <item>
      <title>Pivot Table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602808#M1093158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have a pivot table and it has a category of "Functional System".&amp;nbsp; For each Functional System (a type of highway) it gives me the total number fatalities for a 30 year period.&amp;nbsp; When I expand the Functional System, it then breaks out the the number of fatalities by year.&amp;nbsp; I am actually looking to have it show the percentage of fatalities of the total as opposed to the total number.&amp;nbsp; I have tried Set Analysis, but this does not seem to work.&amp;nbsp; I want it to show the percentage when the fields are collapsed or expanded.&amp;nbsp; Currently I have the expression as: Sum&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Number Of Fatalities]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 15:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602808#M1093158</guid>
      <dc:creator />
      <dc:date>2014-05-06T15:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602809#M1093159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depending on what is the base of the %, it could be&lt;/P&gt;&lt;P&gt;Sum([Number Of Fatalities])/Sum(total [Number Of Fatalities])&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;Sum([Number Of Fatalities])/Sum(total&amp;lt;feield1, field2,...&amp;gt; [Number Of Fatalities])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 15:52:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602809#M1093159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-06T15:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602810#M1093160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Michael.&amp;nbsp; I think this is the solution, but I need to know how "total" works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 16:04:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602810#M1093160</guid>
      <dc:creator />
      <dc:date>2014-05-06T16:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602811#M1093161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;P.S.&amp;nbsp; It did work.&amp;nbsp; Although I am not completely sure how.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 16:07:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602811#M1093161</guid>
      <dc:creator />
      <dc:date>2014-05-06T16:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602812#M1093162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I take that back.&amp;nbsp; When I did it, it used the total number of fatalities for all systems for all years,&amp;nbsp; When I expand it out to the years for each functional system, I need it to do the percentage for the functional system only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 16:08:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602812#M1093162</guid>
      <dc:creator />
      <dc:date>2014-05-06T16:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Pivot Table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602813#M1093163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached with four versions of % calculations.&amp;nbsp; Choose what you need, or create your own by modifying/combining...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 16:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602813#M1093163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-06T16:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602814#M1093164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When people have sent me attachments, they do not appear in the view I have of the discussion.&amp;nbsp; I found a different view by accident once where I could get to the attachements.&amp;nbsp; Any idea how I get there so I can view your attachment?&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 16:59:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602814#M1093164</guid>
      <dc:creator />
      <dc:date>2014-05-06T16:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Pivot Table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602815#M1093165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad - I didn't attach anything... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 17:13:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602815#M1093165</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-06T17:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602816#M1093167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whew!&amp;nbsp; I feel much better now!&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 17:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602816#M1093167</guid>
      <dc:creator />
      <dc:date>2014-05-06T17:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602817#M1093169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Any way to send it as a doc instead of a QVW?&amp;nbsp; I only have the personal edition of Qlikview and have a limited number of files I can open as a QVW.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 17:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602817#M1093169</guid>
      <dc:creator />
      <dc:date>2014-05-06T17:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602818#M1093171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can describe what is there.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Script for the test data, three years, three types:&lt;BR /&gt;load * inline [&lt;BR /&gt; Year, Type,&amp;nbsp; Number&lt;BR /&gt; 2000, A,&amp;nbsp; 10&lt;BR /&gt; 2000, B,&amp;nbsp; 8&lt;BR /&gt; 2000, C,&amp;nbsp; 7&lt;BR /&gt; 2001, A,&amp;nbsp; 5&lt;BR /&gt; 2001, B,&amp;nbsp; 3&lt;BR /&gt; 2001, C,&amp;nbsp; 1&lt;BR /&gt; 2002, A,&amp;nbsp; 13&lt;BR /&gt; 2002, B,&amp;nbsp; 9&lt;BR /&gt; 2002, C,&amp;nbsp; 11];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Front end - five pivot tables, all with dimensions Type and Year.&amp;nbsp; Expressions are different in each table&lt;/P&gt;&lt;P&gt;1. sum(Number)&lt;BR /&gt;2. sum(Number)/sum(total Number)&lt;BR /&gt;3. sum(Number)/sum(total&amp;lt;Type&amp;gt; Number)&lt;BR /&gt;4. sum(Number)/sum(total&amp;lt;Year&amp;gt; Number)&lt;BR /&gt;5. sum(Number)/ if(Dimensionality()&amp;lt;2, sum(total Number), sum(total&amp;lt;Year&amp;gt; Number))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See what makes more sense for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 18:49:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602818#M1093171</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-06T18:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602819#M1093173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#5 works...sort of.&amp;nbsp; When I expand to the second dimension it gives 100% for all of the years.&amp;nbsp; So, I changed the Dimension for when I expand it out from Year to Functional System and it worked flawlessly!&amp;nbsp; Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 15:14:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-calculations/m-p/602819#M1093173</guid>
      <dc:creator />
      <dc:date>2014-05-08T15:14:06Z</dc:date>
    </item>
  </channel>
</rss>

