<?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 calculate % by column in pivot table (differet years) in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/How-to-calculate-by-column-in-pivot-table-differet-years/m-p/975505#M33467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;but now I have a new situtation:&lt;/P&gt;&lt;P&gt;I want to sum only Pants and Shoes and I see that the % by year now is not corret:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="erro 2.PNG" class="jive-image image-1" src="/legacyfs/online/109860_erro 2.PNG" style="width: 620px; height: 139px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&amp;gt;'Shoes',(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Price&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))&lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff8000; font-size: 8pt; text-decoration: underline;"&gt;)&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;/&lt;BR /&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&amp;gt;'Shoes',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Price&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>Wed, 23 Dec 2015 18:15:18 GMT</pubDate>
    <dc:creator>silvia_assuncao</dc:creator>
    <dc:date>2015-12-23T18:15:18Z</dc:date>
    <item>
      <title>How to calculate % by column in pivot table (differet years)</title>
      <link>https://community.qlik.com/t5/Brasil/How-to-calculate-by-column-in-pivot-table-differet-years/m-p/975503#M33465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have the file attached here and I'd like to calculate the % by year to each column. &lt;/P&gt;&lt;P&gt;Could any of you help me creating this expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="imagem_qv.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/109744_imagem_qv.PNG" style="width: 620px; height: 158px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 20:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/How-to-calculate-by-column-in-pivot-table-differet-years/m-p/975503#M33465</guid>
      <dc:creator>silvia_assuncao</dc:creator>
      <dc:date>2015-12-22T20:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate % by column in pivot table (differet years)</title>
      <link>https://community.qlik.com/t5/Brasil/How-to-calculate-by-column-in-pivot-table-differet-years/m-p/975504#M33466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Price)/Sum(TOTAL &amp;lt;Year&amp;gt; Price)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/109751_Capture.PNG" style="height: 77px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 21:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/How-to-calculate-by-column-in-pivot-table-differet-years/m-p/975504#M33466</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-22T21:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate % by column in pivot table (differet years)</title>
      <link>https://community.qlik.com/t5/Brasil/How-to-calculate-by-column-in-pivot-table-differet-years/m-p/975505#M33467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;but now I have a new situtation:&lt;/P&gt;&lt;P&gt;I want to sum only Pants and Shoes and I see that the % by year now is not corret:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="erro 2.PNG" class="jive-image image-1" src="/legacyfs/online/109860_erro 2.PNG" style="width: 620px; height: 139px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&amp;gt;'Shoes',(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Price&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))&lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff8000; font-size: 8pt; text-decoration: underline;"&gt;)&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;/&lt;BR /&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&amp;gt;'Shoes',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Price&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>Wed, 23 Dec 2015 18:15:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/How-to-calculate-by-column-in-pivot-table-differet-years/m-p/975505#M33467</guid>
      <dc:creator>silvia_assuncao</dc:creator>
      <dc:date>2015-12-23T18:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate % by column in pivot table (differet years)</title>
      <link>https://community.qlik.com/t5/Brasil/How-to-calculate-by-column-in-pivot-table-differet-years/m-p/975506#M33468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this and see if it helps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Sum({&amp;lt;Product &lt;SPAN style="color: #ff0000;"&gt;-&lt;/SPAN&gt;= {'Shoes'}&amp;gt;}Price) &lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;/ &lt;/STRONG&gt;&lt;STRONG style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Sum(TOTAL {&amp;lt;Product &lt;SPAN style="color: #ff0000;"&gt;-&lt;/SPAN&gt;= {'Shoes'}&amp;gt;}Price&lt;/STRONG&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;&lt;STRONG&gt;) &lt;/STRONG&gt;//&lt;/STRONG&gt;Note the negative sign in red&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 19:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/How-to-calculate-by-column-in-pivot-table-differet-years/m-p/975506#M33468</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-23T19:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate % by column in pivot table (differet years)</title>
      <link>https://community.qlik.com/t5/Brasil/How-to-calculate-by-column-in-pivot-table-differet-years/m-p/975507#M33469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes! thanks a lot! you saved my day &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, 23 Dec 2015 21:07:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/How-to-calculate-by-column-in-pivot-table-differet-years/m-p/975507#M33469</guid>
      <dc:creator>silvia_assuncao</dc:creator>
      <dc:date>2015-12-23T21:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate % by column in pivot table (differet years)</title>
      <link>https://community.qlik.com/t5/Brasil/How-to-calculate-by-column-in-pivot-table-differet-years/m-p/975508#M33470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great &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;I am glad I was able to help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 21:12:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/How-to-calculate-by-column-in-pivot-table-differet-years/m-p/975508#M33470</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-23T21:12:20Z</dc:date>
    </item>
  </channel>
</rss>

