<?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 Date, problem with set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-problem-with-set-analysis/m-p/345631#M127825</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello I have a problem with the following table: &lt;/P&gt;&lt;P&gt;I want to have this data table present in the analysis set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="background-color: #eef4f9; margin-left: 5.4pt; border-width: initial; border-color: initial; border-image: initial; border-style: none;" width="574"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="background-color: #f5f5f5; border-top-width: 1pt; border-right-width: 1pt; border-bottom-width: 1pt; border-left-width: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: none; border-top-color: #dcdcdc; border-right-color: #dcdcdc; border-bottom-color: #dcdcdc; border-left-color: initial; padding-top: 0px; padding-bottom: 0px; padding-left: 5.4pt; padding-right: 5.4pt;" valign="bottom" width="397"&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;STRONG style="color: #636363; font-size: 8pt; font-family: Tahoma, sans-serif;"&gt;Descripcion&lt;/STRONG&gt;&lt;/P&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="background-color: #f5f5f5; border-top-width: 1pt; border-right-width: 1pt; border-bottom-width: 1pt; border-left-width: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: none; border-top-color: #dcdcdc; border-right-color: #dcdcdc; border-bottom-color: #dcdcdc; border-left-color: initial; padding-top: 0px; padding-bottom: 0px; padding-left: 5.4pt; padding-right: 5.4pt;" valign="bottom" width="84"&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;STRONG style="color: #636363; font-size: 8pt; font-family: Tahoma, sans-serif;"&gt;Saldo&lt;/STRONG&gt;&lt;/P&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="background-color: #f5f5f5; border-top-width: 1pt; border-right-width: 1pt; border-bottom-width: 1pt; border-left-width: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: none; border-top-color: #dcdcdc; border-right-color: #dcdcdc; border-bottom-color: #dcdcdc; border-left-color: initial; padding-top: 0px; padding-bottom: 0px; padding-left: 5.4pt; padding-right: 5.4pt;" valign="bottom" width="77"&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;STRONG style="color: #636363; font-size: 8pt; font-family: Tahoma, sans-serif;"&gt;Periodo&lt;/STRONG&gt;&lt;/P&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="background-color: white; border-top-width: initial; border-top-color: initial; border-bottom-width: 1pt; border-bottom-color: #dcdcdc; border-left-width: initial; border-left-color: initial; border-right-width: 1pt; border-right-color: #dcdcdc; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: none; padding-top: 0px; padding-bottom: 0px; padding-left: 5.4pt; padding-right: 5.4pt;" valign="bottom" width="397"&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN lang="ES-CR" style="color: #636363; font-family: Tahoma, sans-serif; font-size: 8pt;"&gt;Obligaciones&amp;nbsp; por bienes tomados en arrendamiento financiero Colones&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN lang="ES-CR" style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="background-color: white; border-top-width: initial; border-top-color: initial; border-bottom-width: 1pt; border-bottom-color: #dcdcdc; border-left-width: initial; border-left-color: initial; border-right-width: 1pt; border-right-color: #dcdcdc; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: none; padding-top: 0px; padding-bottom: 0px; padding-left: 5.4pt; padding-right: 5.4pt;" valign="bottom" width="84"&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Tahoma, sans-serif; font-size: 8pt;"&gt;724429,47&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="background-color: white; border-top-width: initial; border-top-color: initial; border-bottom-width: 1pt; border-bottom-color: #dcdcdc; border-left-width: initial; border-left-color: initial; border-right-width: 1pt; border-right-color: #dcdcdc; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: none; padding-top: 0px; padding-bottom: 0px; padding-left: 5.4pt; padding-right: 5.4pt;" valign="bottom" width="77"&gt; &lt;P align="right" style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Tahoma, sans-serif; font-size: 8pt;"&gt;31/01/2011&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="background-color: white; border-top-width: initial; border-top-color: initial; border-bottom-width: 1pt; border-bottom-color: #dcdcdc; border-left-width: initial; border-left-color: initial; border-right-width: 1pt; border-right-color: #dcdcdc; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: none; padding-top: 0px; padding-bottom: 0px; padding-left: 5.4pt; padding-right: 5.4pt;" valign="bottom" width="397"&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN lang="ES-CR" style="color: #636363; font-family: Tahoma, sans-serif; font-size: 8pt;"&gt;Obligaciones&amp;nbsp; por bienes tomados en arrendamiento financiero Colones&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN lang="ES-CR" style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="background-color: white; border-top-width: initial; border-top-color: initial; border-bottom-width: 1pt; border-bottom-color: #dcdcdc; border-left-width: initial; border-left-color: initial; border-right-width: 1pt; border-right-color: #dcdcdc; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: none; padding-top: 0px; padding-bottom: 0px; padding-left: 5.4pt; padding-right: 5.4pt;" valign="bottom" width="84"&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Tahoma, sans-serif; font-size: 8pt;"&gt;11178557,93&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="background-color: white; border-top-width: initial; border-top-color: initial; border-bottom-width: 1pt; border-bottom-color: #dcdcdc; border-left-width: initial; border-left-color: initial; border-right-width: 1pt; border-right-color: #dcdcdc; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: none; padding-top: 0px; padding-bottom: 0px; padding-left: 5.4pt; padding-right: 5.4pt;" valign="bottom" width="77"&gt; &lt;P align="right" style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Tahoma, sans-serif; font-size: 8pt;"&gt;31/01/2012&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="background-color: #eef4f9; margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; margin-bottom: 0.0001pt;"&gt;I work the analysisset with this formula:&lt;SPAN style="color: blue; font-family: Arial, sans-serif; font-size: 9pt;"&gt; sum&lt;/SPAN&gt; &lt;SPAN style="color: black; font-family: Arial, sans-serif; font-size: 9pt;"&gt;(&amp;nbsp; { &amp;lt;&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: Arial, sans-serif; font-size: 9pt;"&gt;Periodo&lt;/SPAN&gt; &lt;SPAN style="color: black; font-family: Arial, sans-serif; font-size: 9pt;"&gt;={'&amp;lt;=AddMonths(Periodo,-12)'} &amp;gt;}&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: Arial, sans-serif; font-size: 9pt;"&gt;Saldo&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Arial, sans-serif; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The previous step I use is to make a comparison with&amp;nbsp; the select date&amp;nbsp; with last year data.&lt;/P&gt;&lt;P&gt;This is the data table thatshows as a result&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="background-color: #eef4f9; border-width: initial; border-color: initial; border-image: initial; border-style: none;" width="751"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="background-color: transparent; border-image: initial; border-width: 1pt; border-color: black; border-style: solid; padding: 2.5pt;" width="93"&gt; &lt;P style="margin: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt;Tipo&amp;nbsp; Cuenta&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: transparent; border-top-width: 1pt; border-right-width: 1pt; border-bottom-width: 1pt; border-left-width: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: none; border-top-color: black; border-right-color: black; border-bottom-color: black; border-left-color: initial; padding: 2.5pt;" width="390"&gt; &lt;P style="margin: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt;Clasificación&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: transparent; border-top-width: 1pt; border-right-width: 1pt; border-bottom-width: 1pt; border-left-width: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: none; border-top-color: black; border-right-color: black; border-bottom-color: black; border-left-color: initial; padding: 2.5pt;" width="114"&gt; &lt;P style="margin: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt;31/01/2012&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: transparent; border-top-width: 1pt; border-right-width: 1pt; border-bottom-width: 1pt; border-left-width: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: none; border-top-color: black; border-right-color: black; border-bottom-color: black; border-left-color: initial; padding: 2.5pt;" width="154"&gt; &lt;P style="margin: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt;31/01/2011&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="background-color: transparent; border-top-width: initial; border-top-color: initial; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; padding: 2.5pt;" width="93"&gt; &lt;P style="margin: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt;PASIVO&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: transparent; border-top-width: initial; border-top-color: initial; border-bottom-width: 1pt; border-bottom-color: black; border-left-width: initial; border-left-color: initial; border-right-width: 1pt; border-right-color: black; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: none; padding: 2.5pt;" width="390"&gt; &lt;P style="margin: 0.85pt;"&gt;&lt;SPAN lang="ES-CR" style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt;Obligaciones&amp;nbsp; por&amp;nbsp; bienes tomados en arrendamiento financiero&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: transparent; border-top-width: initial; border-top-color: initial; border-bottom-width: 1pt; border-bottom-color: black; border-left-width: initial; border-left-color: initial; border-right-width: 1pt; border-right-color: black; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: none; padding: 2.5pt;" width="114"&gt; &lt;P align="right" style="margin: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt;₡11,178,557.93&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: transparent; border-top-width: initial; border-top-color: initial; border-bottom-width: 1pt; border-bottom-color: black; border-left-width: initial; border-left-color: initial; border-right-width: 1pt; border-right-color: black; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: none; padding: 2.5pt;" width="154"&gt; &lt;P style="margin: 0.85pt;"&gt;&lt;SPAN style="color: red; font-family: Arial, sans-serif; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; margin-bottom: 0.0001pt;"&gt;The problem is that in the data table doesn’t show &lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;this&lt;SPAN style="color: red;"&gt; : 724429.47 and must be&amp;nbsp; shown and instead is a 0.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2012 21:45:22 GMT</pubDate>
    <dc:creator>carlos13</dc:creator>
    <dc:date>2012-04-10T21:45:22Z</dc:date>
    <item>
      <title>Date, problem with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-problem-with-set-analysis/m-p/345631#M127825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello I have a problem with the following table: &lt;/P&gt;&lt;P&gt;I want to have this data table present in the analysis set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="background-color: #eef4f9; margin-left: 5.4pt; border-width: initial; border-color: initial; border-image: initial; border-style: none;" width="574"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="background-color: #f5f5f5; border-top-width: 1pt; border-right-width: 1pt; border-bottom-width: 1pt; border-left-width: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: none; border-top-color: #dcdcdc; border-right-color: #dcdcdc; border-bottom-color: #dcdcdc; border-left-color: initial; padding-top: 0px; padding-bottom: 0px; padding-left: 5.4pt; padding-right: 5.4pt;" valign="bottom" width="397"&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;STRONG style="color: #636363; font-size: 8pt; font-family: Tahoma, sans-serif;"&gt;Descripcion&lt;/STRONG&gt;&lt;/P&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="background-color: #f5f5f5; border-top-width: 1pt; border-right-width: 1pt; border-bottom-width: 1pt; border-left-width: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: none; border-top-color: #dcdcdc; border-right-color: #dcdcdc; border-bottom-color: #dcdcdc; border-left-color: initial; padding-top: 0px; padding-bottom: 0px; padding-left: 5.4pt; padding-right: 5.4pt;" valign="bottom" width="84"&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;STRONG style="color: #636363; font-size: 8pt; font-family: Tahoma, sans-serif;"&gt;Saldo&lt;/STRONG&gt;&lt;/P&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="background-color: #f5f5f5; border-top-width: 1pt; border-right-width: 1pt; border-bottom-width: 1pt; border-left-width: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: none; border-top-color: #dcdcdc; border-right-color: #dcdcdc; border-bottom-color: #dcdcdc; border-left-color: initial; padding-top: 0px; padding-bottom: 0px; padding-left: 5.4pt; padding-right: 5.4pt;" valign="bottom" width="77"&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;STRONG style="color: #636363; font-size: 8pt; font-family: Tahoma, sans-serif;"&gt;Periodo&lt;/STRONG&gt;&lt;/P&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="background-color: white; border-top-width: initial; border-top-color: initial; border-bottom-width: 1pt; border-bottom-color: #dcdcdc; border-left-width: initial; border-left-color: initial; border-right-width: 1pt; border-right-color: #dcdcdc; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: none; padding-top: 0px; padding-bottom: 0px; padding-left: 5.4pt; padding-right: 5.4pt;" valign="bottom" width="397"&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN lang="ES-CR" style="color: #636363; font-family: Tahoma, sans-serif; font-size: 8pt;"&gt;Obligaciones&amp;nbsp; por bienes tomados en arrendamiento financiero Colones&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN lang="ES-CR" style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="background-color: white; border-top-width: initial; border-top-color: initial; border-bottom-width: 1pt; border-bottom-color: #dcdcdc; border-left-width: initial; border-left-color: initial; border-right-width: 1pt; border-right-color: #dcdcdc; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: none; padding-top: 0px; padding-bottom: 0px; padding-left: 5.4pt; padding-right: 5.4pt;" valign="bottom" width="84"&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Tahoma, sans-serif; font-size: 8pt;"&gt;724429,47&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="background-color: white; border-top-width: initial; border-top-color: initial; border-bottom-width: 1pt; border-bottom-color: #dcdcdc; border-left-width: initial; border-left-color: initial; border-right-width: 1pt; border-right-color: #dcdcdc; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: none; padding-top: 0px; padding-bottom: 0px; padding-left: 5.4pt; padding-right: 5.4pt;" valign="bottom" width="77"&gt; &lt;P align="right" style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Tahoma, sans-serif; font-size: 8pt;"&gt;31/01/2011&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="background-color: white; border-top-width: initial; border-top-color: initial; border-bottom-width: 1pt; border-bottom-color: #dcdcdc; border-left-width: initial; border-left-color: initial; border-right-width: 1pt; border-right-color: #dcdcdc; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: none; padding-top: 0px; padding-bottom: 0px; padding-left: 5.4pt; padding-right: 5.4pt;" valign="bottom" width="397"&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN lang="ES-CR" style="color: #636363; font-family: Tahoma, sans-serif; font-size: 8pt;"&gt;Obligaciones&amp;nbsp; por bienes tomados en arrendamiento financiero Colones&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN lang="ES-CR" style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="background-color: white; border-top-width: initial; border-top-color: initial; border-bottom-width: 1pt; border-bottom-color: #dcdcdc; border-left-width: initial; border-left-color: initial; border-right-width: 1pt; border-right-color: #dcdcdc; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: none; padding-top: 0px; padding-bottom: 0px; padding-left: 5.4pt; padding-right: 5.4pt;" valign="bottom" width="84"&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Tahoma, sans-serif; font-size: 8pt;"&gt;11178557,93&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="background-color: white; border-top-width: initial; border-top-color: initial; border-bottom-width: 1pt; border-bottom-color: #dcdcdc; border-left-width: initial; border-left-color: initial; border-right-width: 1pt; border-right-color: #dcdcdc; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: none; padding-top: 0px; padding-bottom: 0px; padding-left: 5.4pt; padding-right: 5.4pt;" valign="bottom" width="77"&gt; &lt;P align="right" style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Tahoma, sans-serif; font-size: 8pt;"&gt;31/01/2012&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin-left: 0.85pt; margin-bottom: 0.0001pt; margin-right: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="background-color: #eef4f9; margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; margin-bottom: 0.0001pt;"&gt;I work the analysisset with this formula:&lt;SPAN style="color: blue; font-family: Arial, sans-serif; font-size: 9pt;"&gt; sum&lt;/SPAN&gt; &lt;SPAN style="color: black; font-family: Arial, sans-serif; font-size: 9pt;"&gt;(&amp;nbsp; { &amp;lt;&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: Arial, sans-serif; font-size: 9pt;"&gt;Periodo&lt;/SPAN&gt; &lt;SPAN style="color: black; font-family: Arial, sans-serif; font-size: 9pt;"&gt;={'&amp;lt;=AddMonths(Periodo,-12)'} &amp;gt;}&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: Arial, sans-serif; font-size: 9pt;"&gt;Saldo&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Arial, sans-serif; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The previous step I use is to make a comparison with&amp;nbsp; the select date&amp;nbsp; with last year data.&lt;/P&gt;&lt;P&gt;This is the data table thatshows as a result&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="background-color: #eef4f9; border-width: initial; border-color: initial; border-image: initial; border-style: none;" width="751"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="background-color: transparent; border-image: initial; border-width: 1pt; border-color: black; border-style: solid; padding: 2.5pt;" width="93"&gt; &lt;P style="margin: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt;Tipo&amp;nbsp; Cuenta&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: transparent; border-top-width: 1pt; border-right-width: 1pt; border-bottom-width: 1pt; border-left-width: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: none; border-top-color: black; border-right-color: black; border-bottom-color: black; border-left-color: initial; padding: 2.5pt;" width="390"&gt; &lt;P style="margin: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt;Clasificación&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: transparent; border-top-width: 1pt; border-right-width: 1pt; border-bottom-width: 1pt; border-left-width: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: none; border-top-color: black; border-right-color: black; border-bottom-color: black; border-left-color: initial; padding: 2.5pt;" width="114"&gt; &lt;P style="margin: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt;31/01/2012&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: transparent; border-top-width: 1pt; border-right-width: 1pt; border-bottom-width: 1pt; border-left-width: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: none; border-top-color: black; border-right-color: black; border-bottom-color: black; border-left-color: initial; padding: 2.5pt;" width="154"&gt; &lt;P style="margin: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt;31/01/2011&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="background-color: transparent; border-top-width: initial; border-top-color: initial; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; padding: 2.5pt;" width="93"&gt; &lt;P style="margin: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt;PASIVO&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: transparent; border-top-width: initial; border-top-color: initial; border-bottom-width: 1pt; border-bottom-color: black; border-left-width: initial; border-left-color: initial; border-right-width: 1pt; border-right-color: black; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: none; padding: 2.5pt;" width="390"&gt; &lt;P style="margin: 0.85pt;"&gt;&lt;SPAN lang="ES-CR" style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt;Obligaciones&amp;nbsp; por&amp;nbsp; bienes tomados en arrendamiento financiero&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: transparent; border-top-width: initial; border-top-color: initial; border-bottom-width: 1pt; border-bottom-color: black; border-left-width: initial; border-left-color: initial; border-right-width: 1pt; border-right-color: black; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: none; padding: 2.5pt;" width="114"&gt; &lt;P align="right" style="margin: 0.85pt;"&gt;&lt;SPAN style="color: #636363; font-family: Arial, sans-serif; font-size: 10pt;"&gt;₡11,178,557.93&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: transparent; border-top-width: initial; border-top-color: initial; border-bottom-width: 1pt; border-bottom-color: black; border-left-width: initial; border-left-color: initial; border-right-width: 1pt; border-right-color: black; border-top-style: none; border-right-style: solid; border-bottom-style: solid; border-left-style: none; padding: 2.5pt;" width="154"&gt; &lt;P style="margin: 0.85pt;"&gt;&lt;SPAN style="color: red; font-family: Arial, sans-serif; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; margin-bottom: 0.0001pt;"&gt;The problem is that in the data table doesn’t show &lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;this&lt;SPAN style="color: red;"&gt; : 724429.47 and must be&amp;nbsp; shown and instead is a 0.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 21:45:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-problem-with-set-analysis/m-p/345631#M127825</guid>
      <dc:creator>carlos13</dc:creator>
      <dc:date>2012-04-10T21:45:22Z</dc:date>
    </item>
    <item>
      <title>Date, problem with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-problem-with-set-analysis/m-p/345632#M127826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;In your present expression the AddMonths is not being executed as a function, and is being taken as a literal string which does not compare to the date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Something like this will probably give a better answer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: Arial, sans-serif;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial, sans-serif;"&gt;(&amp;nbsp; { &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: maroon; font-family: Arial, sans-serif;"&gt;Periodo&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial, sans-serif;"&gt;={'&amp;lt;=$(=AddMonths(max(Periodo),-12))'} &amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: maroon; font-family: Arial, sans-serif;"&gt;Saldo&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial, sans-serif;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial, sans-serif;"&gt;The &lt;STRONG&gt;$(= &lt;/STRONG&gt;tells QlikView to evalulate the expression included in the brackets and return the result.&amp;nbsp; The &lt;STRONG&gt;max&lt;/STRONG&gt; is required as the function will fail if more than one Period is returned.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial, sans-serif;"&gt;Personally I would calculate an additional fields for year in the load script (using the &lt;STRONG&gt;Year&lt;/STRONG&gt; function) and then do set analysis on that field.&amp;nbsp; Also, I would calculate the max year and the prior year in variables and use those.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial, sans-serif;"&gt;I've uploaded a couple of Set Analysis examples to the community which may be useful to you.&amp;nbsp; One of these is here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial, sans-serif;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/qlikviews/http://community.qlik.com/qlikviews/1175" style="outline-style: none; color: #007fc0;"&gt;http://community.qlik.com/qlikviews/1175&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial, sans-serif;"&gt;Hope that helps,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;- Steve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;A class="jive-link-external-small" href="http://www.quickintelligence.co.uk/" style="outline-style: none; color: #007fc0;"&gt;http://www.quickintelligence.co.uk/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 22:10:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-problem-with-set-analysis/m-p/345632#M127826</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2012-04-10T22:10:30Z</dc:date>
    </item>
    <item>
      <title>Date, problem with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-problem-with-set-analysis/m-p/345633#M127827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;&lt;SPAN style="font-family: arial, sans-serif; font-size: 18pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 22:56:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-problem-with-set-analysis/m-p/345633#M127827</guid>
      <dc:creator>carlos13</dc:creator>
      <dc:date>2012-04-10T22:56:16Z</dc:date>
    </item>
  </channel>
</rss>

