<?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: Set Analysis in QlikView - value for previous year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849913#M298142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only Total value is incorrect.&lt;/P&gt;&lt;P&gt;Should be 211+1605 = 1816.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this table a have also 2 dimensions, Supplier and Item&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2015 09:11:47 GMT</pubDate>
    <dc:creator>lukas_sokol</dc:creator>
    <dc:date>2015-06-30T09:11:47Z</dc:date>
    <item>
      <title>Set Analysis in QlikView - value for previous year</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849910#M298139</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;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;I have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the following problem&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;I want to have sum of OrderValue only when orderqty 2013,2014 and orderValue 2013,2014 is &amp;lt;&amp;gt; 0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;I try:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({$&amp;lt; Year ={$(PrevYear)} &amp;gt;}OrderedQty) &amp;lt;&amp;gt; 0 and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({$&amp;lt; Year ={$(PrevYear)} &amp;gt;}OrderValue) &amp;lt;&amp;gt; 0 and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum( {$&amp;lt;Flag_OrderValue = {1}&amp;gt;} OrderedQty) &amp;lt;&amp;gt; 0 and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum( {$&amp;lt;Flag_OrderValue = {1}&amp;gt;} OrderValueBase) &amp;lt;&amp;gt; 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(OrderValue)&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/91285_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 09:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849910#M298139</guid>
      <dc:creator>lukas_sokol</dc:creator>
      <dc:date>2015-06-30T09:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in QlikView - value for previous year</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849911#M298140</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;can you post sample data?&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 09:05:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849911#M298140</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-30T09:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in QlikView - value for previous year</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849912#M298141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;SPAN class="ita-kd-inputtools-div"&gt;&lt;/SPAN&gt;&lt;P class="almost_half_cell"&gt;&lt;SPAN class="hps"&gt;Sample &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;data&lt;/SPAN&gt; is presented &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;in the picture above.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Unfortunately I can't &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;add&lt;/SPAN&gt; &lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;report&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;file&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;because it contains&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;sensitive&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;data&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 09:09:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849912#M298141</guid>
      <dc:creator>lukas_sokol</dc:creator>
      <dc:date>2015-06-30T09:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in QlikView - value for previous year</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849913#M298142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only Total value is incorrect.&lt;/P&gt;&lt;P&gt;Should be 211+1605 = 1816.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this table a have also 2 dimensions, Supplier and Item&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 09:11:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849913#M298142</guid>
      <dc:creator>lukas_sokol</dc:creator>
      <dc:date>2015-06-30T09:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in QlikView - value for previous year</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849914#M298143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I see, with a qvw file it is better. Now I try to see what is the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 09:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849914#M298143</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-30T09:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in QlikView - value for previous year</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849915#M298144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({$&amp;lt; Year ={$(PrevYear)} &amp;gt;}OrderedQty) &amp;lt;&amp;gt; 0 and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({$&amp;lt; Year ={$(PrevYear)} &amp;gt;}OrderValue) &amp;lt;&amp;gt; 0 and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum( {$&amp;lt;Flag_OrderValue = {1}&amp;gt;} OrderedQty) &amp;lt;&amp;gt; 0 and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum( {$&amp;lt;Flag_OrderValue = {1}&amp;gt;} OrderValueBase) &amp;lt;&amp;gt; 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(OrderValue) &lt;STRONG&gt;,0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 09:19:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849915#M298144</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-30T09:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in QlikView - value for previous year</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849916#M298145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;yes, unfortunately&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;also&lt;/SPAN&gt;&lt;/SPAN&gt; tried in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;this way&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 09:22:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849916#M298145</guid>
      <dc:creator>lukas_sokol</dc:creator>
      <dc:date>2015-06-30T09:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in QlikView - value for previous year</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849917#M298146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without sample data (I understand the data is sensitive but I mean a load inline with the table) is a guessing game.&lt;/P&gt;&lt;P&gt;Really you cant provvide a test?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 09:25:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849917#M298146</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-30T09:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in QlikView - value for previous year</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849918#M298147</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;try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(if(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({$&amp;lt; Year ={$(PrevYear)} &amp;gt;}OrderedQty) &amp;lt;&amp;gt; 0 and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({$&amp;lt; Year ={$(PrevYear)} &amp;gt;}OrderValue) &amp;lt;&amp;gt; 0 and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum( {$&amp;lt;Flag_OrderValue = {1}&amp;gt;} OrderedQty) &amp;lt;&amp;gt; 0 and&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sum( {$&amp;lt;Flag_OrderValue = {1}&amp;gt;} OrderValueBase) &amp;lt;&amp;gt; 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderValue )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use aggr()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(AGGR(YourExpression,Dimension1,Dim2,Dim3))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 09:27:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849918#M298147</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-06-30T09:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in QlikView - value for previous year</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849919#M298148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If this is a straight table, change the Total to Sum of Rows on the Expression dialog.&lt;/P&gt;&lt;P&gt;If this is a pivot table, you need an expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Aggr(If(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({$&amp;lt; Year ={$(PrevYear)} &amp;gt;}OrderedQty) &amp;lt;&amp;gt; 0 and&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({$&amp;lt; Year ={$(PrevYear)} &amp;gt;}OrderValue) &amp;lt;&amp;gt; 0 and&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum( {$&amp;lt;Flag_OrderValue = {1}&amp;gt;} OrderedQty) &amp;lt;&amp;gt; 0 and&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum( {$&amp;lt;Flag_OrderValue = {1}&amp;gt;} OrderValueBase) &amp;lt;&amp;gt; 0,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(OrderValue)&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;EM&gt;&amp;lt;dim1&amp;gt;, &amp;lt;dim2&amp;gt;, ....&lt;/EM&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;Where &lt;EM style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;lt;dim1&amp;gt;, &amp;lt;dim2&amp;gt;, .... &lt;/EM&gt;are a comma separated list of the dimensions in your table. Eg&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;), ProductCode, Location))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 09:27:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849919#M298148</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-06-30T09:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in QlikView - value for previous year</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849920#M298149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;using&lt;/P&gt;&lt;P&gt;sum(AGGR(YourExpression,Dimension1,Dim2,Dim3)) give to correct value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 09:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-in-QlikView-value-for-previous-year/m-p/849920#M298149</guid>
      <dc:creator>lukas_sokol</dc:creator>
      <dc:date>2015-06-30T09:32:07Z</dc:date>
    </item>
  </channel>
</rss>

