<?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 Keep values years comparison in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Keep-values-years-comparison/m-p/994370#M977730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have values for years 2015 and 2014 for Transportation "RGSOZFV" &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Page1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96954_Page1.png" style="height: 279px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I do not select any year is clearly to see the comparison for both years (2015-2014)&lt;/P&gt;&lt;P&gt;Nevertheless when I select a Year, the values for 2014 desappear.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Page2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/96955_Page2.png" style="height: 279px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to keep the values for the last year even when I do not have values for the current year similar as when there is no year selected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Aug 2015 17:31:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-25T17:31:01Z</dc:date>
    <item>
      <title>Keep values years comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-values-years-comparison/m-p/994370#M977730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have values for years 2015 and 2014 for Transportation "RGSOZFV" &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Page1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96954_Page1.png" style="height: 279px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I do not select any year is clearly to see the comparison for both years (2015-2014)&lt;/P&gt;&lt;P&gt;Nevertheless when I select a Year, the values for 2014 desappear.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Page2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/96955_Page2.png" style="height: 279px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to keep the values for the last year even when I do not have values for the current year similar as when there is no year selected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 17:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-values-years-comparison/m-p/994370#M977730</guid>
      <dc:creator />
      <dc:date>2015-08-25T17:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Keep values years comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-values-years-comparison/m-p/994371#M977731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When using advanced aggregation, you may need to apply set analysis to the outer as well as the inner aggregation function. For example, for your Servicios 2014 expression in Transportation table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only(&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&amp;lt;FamiliaDescr=,MatDescripFINAL=,TipoDato={'NS_TipoServicio'} ,Año={'$(vMaxAñoAnt)'}&amp;gt;}&lt;/STRONG&gt; TOTAL &amp;lt;Embarcacion,CargoADescr&amp;gt;&lt;/P&gt;&lt;P&gt;aggr(sum ( {&amp;lt;FamiliaDescr=,MatDescripFINAL=,TipoDato={'NS_TipoServicio'} ,Año={'$(vMaxAñoAnt)'}&amp;gt;} CanAliHue) ,Embarcacion,CargoADescr)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 19:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-values-years-comparison/m-p/994371#M977731</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-25T19:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Keep values years comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-values-years-comparison/m-p/994372#M977732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your time &lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;, how does &lt;STRONG&gt;Inner aggregation function&lt;/STRONG&gt; works exactly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 22:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-values-years-comparison/m-p/994372#M977732</guid>
      <dc:creator />
      <dc:date>2015-08-25T22:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Keep values years comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-values-years-comparison/m-p/994373#M977733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this example, ONLY() is the outer aggregation function, and SUM() is the inner aggregation function of the advanced aggregation. &lt;/P&gt;&lt;P&gt;Look at advanced aggregation like you build a table chart with dimensions &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Embarcacion and &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; line-height: 1.5em; background-color: #f2f2f2;"&gt;CargoADescr&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and a single expression Sum({...} CanAliHue).&lt;/P&gt;&lt;P&gt;The expression results form a vector and can be aggregated again by another aggregation function, the outer aggregation. Before the outer aggregation takes place, the temporary table will be limited to dimension values that match with the chart dimension values of the chart where your advanced aggregation is located in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 22:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-values-years-comparison/m-p/994373#M977733</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-25T22:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Keep values years comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Keep-values-years-comparison/m-p/994374#M977734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you again &lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;‌, I apply the set analysis sintax that you gave me into the formula expression, and It works! Partially.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="96977" alt="Page3.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96977_Page3.png" style="height: 265px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the totals on top, and when I use the aggr function for totals the value's detail &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;desappear, here is the example, even the subtotals row.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="96978" alt="Page4.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/96978_Page4.png" style="height: 258px; width: 620px;" /&gt; !&lt;/P&gt;&lt;P&gt;I tried using &lt;STRONG&gt;Sum(Aggr(&lt;/STRONG&gt; as I usually do, but it doesn't work&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=if(Dimensionality()&amp;gt;=1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;//sum( Aggr(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;sum({&amp;lt;TipoDato={'Movimiento'} ,Año={'$(vMaxAñoAnt)'}&amp;gt;}CostoMov)/ Only({&amp;lt;FamiliaDescr=,MatDescripFINAL=,TipoDato={'NS_TipoServicio'} ,Año={'$(vMaxAñoAnt)'}&amp;gt;} TOTAL &amp;lt;Embarcacion,CargoADescr&amp;gt;aggr(sum ( {&amp;lt;FamiliaDescr=,MatDescripFINAL=,TipoDato={'NS_TipoServicio'} ,Año={'$(vMaxAñoAnt)'}&amp;gt;} CanAliHue) ,Embarcacion,CargoADescr)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;//,Embarcacion,CargoADescr))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;,sum(Aggr(sum({&amp;lt;TipoDato={'Movimiento'} ,Año={'$(vMaxAñoAnt)'}&amp;gt;}CostoMov)/sum (TOTAL &amp;lt;CargoADescr&amp;gt; aggr(sum ( {&amp;lt;FamiliaDescr=,MatDescripFINAL=,TipoDato={'NS_TipoServicio'} ,Año={'$(vMaxAñoAnt)'}&amp;gt;} CanAliHue) ,CargoADescr)),CargoADescr))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 23:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keep-values-years-comparison/m-p/994374#M977734</guid>
      <dc:creator />
      <dc:date>2015-08-25T23:49:55Z</dc:date>
    </item>
  </channel>
</rss>

