<?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: Different results with Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Different-results-with-Set-Analysis/m-p/1210304#M388331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe a missing &lt;SPAN style="color: #ff0000;"&gt;v&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum([Saldo neto]) - Sum({$&amp;lt;[Fecha Operación]={"&amp;gt;=$(=Date(vFecIni, 'DD/MM/YYYY')) &amp;lt;=$(=Date(&lt;SPAN style="color: #ff0000;"&gt;v&lt;/SPAN&gt;FecFin, 'DD/MM/YYYY'))"}&amp;gt;} Importe)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 06 Nov 2016 10:48:54 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2016-11-06T10:48:54Z</dc:date>
    <item>
      <title>Different results with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-with-Set-Analysis/m-p/1210301#M388328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same formula Set Analysis in two tables and get different results and can not find the cause.&lt;/P&gt;&lt;P&gt;Can you see the image&lt;/P&gt;&lt;P&gt;&lt;IMG alt="P_Valores.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143062_P_Valores.png" style="height: 253px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Attached is a simple data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2016 08:59:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-with-Set-Analysis/m-p/1210301#M388328</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2016-11-06T08:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Different results with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-with-Set-Analysis/m-p/1210302#M388329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Enrique,&lt;/P&gt;&lt;P&gt;in Your Set Expression You have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.......... &amp;lt;=$(=Date(&lt;SPAN style="color: #ff0000;"&gt;FecFin&lt;/SPAN&gt;, 'DD/MM/YYYY'))" &lt;/P&gt;&lt;P&gt;FecFin&amp;nbsp; -&amp;gt;&amp;nbsp; 3/11/2016&lt;/P&gt;&lt;P&gt;In First chart there are no limits of Fecha&lt;/P&gt;&lt;P&gt;in the second chart there are limit to 31/10/2016 in dimension&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Fecha Operación]&lt;/SPAN&gt; &amp;gt;= vFecIni &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[Fecha Operación]&lt;/SPAN&gt; &amp;lt;= &lt;SPAN style="color: #0000ff;"&gt;dayend&lt;/SPAN&gt;(vFecFin), &lt;SPAN style="color: #800000;"&gt;[Fecha Operación]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;So , If You change FecFin to vFecFin You get same results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2016 09:53:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-with-Set-Analysis/m-p/1210302#M388329</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2016-11-06T09:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Different results with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-with-Set-Analysis/m-p/1210303#M388330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, but I need appear &lt;SPAN style="text-decoration: underline;"&gt;only movements&lt;/SPAN&gt; between vFecIni and vFecFin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2016 10:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-with-Set-Analysis/m-p/1210303#M388330</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2016-11-06T10:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Different results with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-with-Set-Analysis/m-p/1210304#M388331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe a missing &lt;SPAN style="color: #ff0000;"&gt;v&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum([Saldo neto]) - Sum({$&amp;lt;[Fecha Operación]={"&amp;gt;=$(=Date(vFecIni, 'DD/MM/YYYY')) &amp;lt;=$(=Date(&lt;SPAN style="color: #ff0000;"&gt;v&lt;/SPAN&gt;FecFin, 'DD/MM/YYYY'))"}&amp;gt;} Importe)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2016 10:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-with-Set-Analysis/m-p/1210304#M388331</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-11-06T10:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Different results with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-with-Set-Analysis/m-p/1210305#M388332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/10670"&gt;maxgro&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;No, is correct FecFin.&lt;/P&gt;&lt;P&gt;I've two variables:&lt;/P&gt;&lt;P&gt;- vFecIni is the first date for the interval&lt;/P&gt;&lt;P&gt;- vFecFin is the final date for the interval&lt;/P&gt;&lt;P&gt;- FecFin is the max date in table. In this date I have "Posición" or "Saldo Neto" for this Cuenta.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Posición Inicial = Saldo Neto - Sum(Importe ... from vFecIni to FecFin (both included)&lt;/P&gt;&lt;P&gt;Posición Final = Saldo Neto - Sum((Importe ... from vFecFin (not included) to FecFin (included) or&amp;nbsp; greater than vFecFin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2016 11:07:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-with-Set-Analysis/m-p/1210305#M388332</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2016-11-06T11:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Different results with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-with-Set-Analysis/m-p/1210306#M388333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're using a calculated dimension in the bottom pivot table and you've enabled Suppress When Value is Null for it. That's causing the difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2016 14:34:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-with-Set-Analysis/m-p/1210306#M388333</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-11-06T14:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Different results with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-with-Set-Analysis/m-p/1210307#M388334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I Changed calculed dimension, and include selection in expressions.&lt;/P&gt;&lt;P&gt;[Entradas] = if([Fecha Operación]&amp;gt;=vFecIni and [Fecha Operación]&amp;lt;= vFecFin, sum(if(Importe &amp;gt; 0, Importe, 0)))&lt;/P&gt;&lt;P&gt;[Salidas] = if([Fecha Operación]&amp;gt;=vFecIni and [Fecha Operación]&amp;lt;= vFecFin, sum(if(Importe &amp;lt; 0, Importe, 0)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And results correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank's for alls&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2016 15:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-with-Set-Analysis/m-p/1210307#M388334</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2016-11-06T15:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Different results with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-with-Set-Analysis/m-p/1210308#M388335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum(if(Importe &amp;gt; 0, Importe, 0))&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You don't need to use an if statement here. Try this instead: sum(RangeMax(0, Importe)). And for the other expression RangeMin instead of RangeMax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2016 15:37:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-with-Set-Analysis/m-p/1210308#M388335</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-11-06T15:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Different results with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-with-Set-Analysis/m-p/1210309#M388336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you're right&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2016 15:39:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-with-Set-Analysis/m-p/1210309#M388336</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2016-11-06T15:39:20Z</dc:date>
    </item>
  </channel>
</rss>

