<?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 Choose columns to sum - pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Choose-columns-to-sum-pivot-table/m-p/1285393#M856617</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&amp;nbsp; a base year for each process, that it is diferent each time, and I need to sum, all years that are not base.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this, I have an expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;/P&gt;&lt;P&gt;SecondaryDimensionality()=1,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;bla bla bla ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SUM(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aggr(&lt;/P&gt;&lt;P&gt;&amp;nbsp; (&lt;SPAN style="font-size: 10pt;"&gt; Sum({$&amp;lt; VARIABLE={'BUDG_PROVISIONS'}, SCENARIO_MOODYS={'PROVISIONS_ICAAP_2015','Final_Results_ICAAP_2015'}, SCENARIO={B}, VARIABLE_YEAR=VARIABLE_YEAR -{"$(=&lt;STRONG&gt;Max&lt;/STRONG&gt;(BASE_YEAR))"} &amp;gt;} VARIABLE_VALUE))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; , VARIABLE_YEAR,VARIABLE_SEGMENT,PROCESS)&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Choose columns to sum - pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-columns-to-sum-pivot-table/m-p/1285393#M856617</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&amp;nbsp; a base year for each process, that it is diferent each time, and I need to sum, all years that are not base.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this, I have an expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;/P&gt;&lt;P&gt;SecondaryDimensionality()=1,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;bla bla bla ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SUM(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aggr(&lt;/P&gt;&lt;P&gt;&amp;nbsp; (&lt;SPAN style="font-size: 10pt;"&gt; Sum({$&amp;lt; VARIABLE={'BUDG_PROVISIONS'}, SCENARIO_MOODYS={'PROVISIONS_ICAAP_2015','Final_Results_ICAAP_2015'}, SCENARIO={B}, VARIABLE_YEAR=VARIABLE_YEAR -{"$(=&lt;STRONG&gt;Max&lt;/STRONG&gt;(BASE_YEAR))"} &amp;gt;} VARIABLE_VALUE))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; , VARIABLE_YEAR,VARIABLE_SEGMENT,PROCESS)&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&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/Choose-columns-to-sum-pivot-table/m-p/1285393#M856617</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Choose columns to sum - pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-columns-to-sum-pivot-table/m-p/1285394#M856618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set Analysis does not consider your dimension values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe use something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SecondaryDimensionality()=1,&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="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;bla bla bla ,&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;SUM(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Aggr(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; (&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt; Sum({$&amp;lt; VARIABLE={'BUDG_PROVISIONS'}, SCENARIO_MOODYS={'PROVISIONS_ICAAP_2015','Final_Results_ICAAP_2015'}, SCENARIO={B} &amp;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="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG&gt;If(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;VARIABLE_YEAR&lt;/SPAN&gt;&amp;gt;BASE_YEAR, VARIABLE_VALUE) ))&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;&amp;nbsp; , VARIABLE_YEAR,VARIABLE_SEGMENT,PROCESS)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; )&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;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Or have a look at&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-1335"&gt;Evaluating "sets" in the context of a dimension&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;for another approach&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 19:58:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-columns-to-sum-pivot-table/m-p/1285394#M856618</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-02-02T19:58:32Z</dc:date>
    </item>
  </channel>
</rss>

