<?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 Problem with nested set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-nested-set-analysis/m-p/1065549#M356270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have the next expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;[JobLedgerDate] = {"&amp;gt;=$(=Max({&amp;lt;A_Date = {'&amp;lt;=$(vEndDate)'}&amp;gt;} A_Date))&amp;lt;=$(vEndDate)"}&amp;gt;}[P_Hours])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I set a vEndDate like 10/31/2014 I have this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/112452_Captura.JPG" style="height: 244px; width: 620px;" /&gt; &lt;/P&gt;&lt;P&gt;2,50 hours for P12/0044, but if I filter this Proyecto:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura01.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/112453_Captura01.JPG" style="height: 64px; width: 620px;" /&gt; &lt;/P&gt;&lt;P&gt;I have 16,5 hours which is the correct value. Why it doesn't show correct value when I have chart without filters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jan 2016 11:31:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-25T11:31:59Z</dc:date>
    <item>
      <title>Problem with nested set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-nested-set-analysis/m-p/1065549#M356270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have the next expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;[JobLedgerDate] = {"&amp;gt;=$(=Max({&amp;lt;A_Date = {'&amp;lt;=$(vEndDate)'}&amp;gt;} A_Date))&amp;lt;=$(vEndDate)"}&amp;gt;}[P_Hours])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I set a vEndDate like 10/31/2014 I have this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/112452_Captura.JPG" style="height: 244px; width: 620px;" /&gt; &lt;/P&gt;&lt;P&gt;2,50 hours for P12/0044, but if I filter this Proyecto:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura01.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/112453_Captura01.JPG" style="height: 64px; width: 620px;" /&gt; &lt;/P&gt;&lt;P&gt;I have 16,5 hours which is the correct value. Why it doesn't show correct value when I have chart without filters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 11:31:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-nested-set-analysis/m-p/1065549#M356270</guid>
      <dc:creator />
      <dc:date>2016-01-25T11:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with nested set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-nested-set-analysis/m-p/1065550#M356271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking for a max(..) evaluation per dimension line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(=Max({&amp;lt;A_Date = {'&amp;lt;=$(vEndDate)'}&amp;gt;} A_Date))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;This won't work, since the dollar sign expansion is evaluated only once per chart.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 12:25:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-nested-set-analysis/m-p/1065550#M356271</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-25T12:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with nested set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-nested-set-analysis/m-p/1065551#M356272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, and how could I get this result?&lt;/P&gt;&lt;P&gt;I have a variable with a date, for exemple 31 of July of 2014, and I want to sum hours in a table "Proyectos" with dates between max date in a table "Avances" smaller than 31 of July of 2014 and this date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proyectos:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Proyecto,JobLedgerDate,Hours&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P12/0044,05/03/2014,5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P12/0044,22/06/2014,7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P12/0044,14/08/2014,3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P12/0044,03/10/2014,4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P12/0044/06/11/2014,6&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avances:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Proyecto,A_Date,Percent&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P12/0044,31/05/2014,35&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P12/0044,30/09/2014,60&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working with DD/MM/YYYY date format. If my variable has the value 31/07/2014, I want the greater value in table Avences smaller than 31/07/2014, in this case, 31/05/2014, and sum Hours in Proyectos with JobLedgerDate between 31/05/2014 and 31/07/2014, in this case 7 hours because I only have a row with 22/06/2014 date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another example: If my variable was 31/12/2014 I want 10 hours as result, because greater date in Avances smaller than 31/12/2014 is 30/09/2014, and I have 2 rows between this dates with 4 and 6 hours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could I get this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 12:43:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-nested-set-analysis/m-p/1065551#M356272</guid>
      <dc:creator />
      <dc:date>2016-01-25T12:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with nested set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-nested-set-analysis/m-p/1065552#M356273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM(&lt;/P&gt;&lt;P&gt;Aggr(&lt;/P&gt;&lt;P&gt;If( [JobLedgerDate] &amp;gt;= Max(TOTAL&amp;lt;Proyecto&amp;gt; {&amp;lt;A_Date = {'&amp;lt;=$(vEndDate)'}&amp;gt;} A_Date) and JobLedgerDate &amp;lt;= '$(vEndDate)', [Hours])&lt;/P&gt;&lt;P&gt;,Proyecto,JobLedgerDate)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 13:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-nested-set-analysis/m-p/1065552#M356273</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-25T13:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with nested set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-nested-set-analysis/m-p/1065553#M356274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, It works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 16:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-nested-set-analysis/m-p/1065553#M356274</guid>
      <dc:creator />
      <dc:date>2016-01-25T16:18:49Z</dc:date>
    </item>
  </channel>
</rss>

