<?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 Set Analysis in Straight Table  {'&amp;lt;=$(=...)'} in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-Straight-Table-lt/m-p/442747#M165032</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;there is an error in this set analysis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you tell me what is wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can not use a variable for the central expression for other reasons...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M.&lt;/P&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;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;EM&gt;=sum({$&amp;lt;Day=&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;EM&gt;{'&amp;lt;=&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;EM&gt;$(=if($(vCurrentWorkDay)&amp;lt;15,$(vCurrentWorkDay),&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;EM&gt;(max({$&amp;lt;Year={$(vPrevYear)}, Month={$(vCurrentMonth)}&amp;gt;}Day)-&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;EM&gt;(max({$&amp;lt;Year={$(vCurrentYear)}, Month={$(vCurrentMonth)}&amp;gt;}Day)-&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;EM&gt;Only({$&amp;lt;Cdr_Day={$(=if(max(Cdr_Day) &amp;lt;= vCurrentDay, max(Cdr_Day), vCurrentDay-1 ))}&amp;gt;} Day))))&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;EM&gt;)'}&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;EM&gt;, Month={$(=Only(Month))}&amp;gt;} Actual) &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2012 10:15:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-26T10:15:41Z</dc:date>
    <item>
      <title>Set Analysis in Straight Table  {'&lt;=$(=...)'}</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-Straight-Table-lt/m-p/442747#M165032</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;there is an error in this set analysis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you tell me what is wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can not use a variable for the central expression for other reasons...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M.&lt;/P&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;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;EM&gt;=sum({$&amp;lt;Day=&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;EM&gt;{'&amp;lt;=&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;EM&gt;$(=if($(vCurrentWorkDay)&amp;lt;15,$(vCurrentWorkDay),&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;EM&gt;(max({$&amp;lt;Year={$(vPrevYear)}, Month={$(vCurrentMonth)}&amp;gt;}Day)-&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;EM&gt;(max({$&amp;lt;Year={$(vCurrentYear)}, Month={$(vCurrentMonth)}&amp;gt;}Day)-&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;EM&gt;Only({$&amp;lt;Cdr_Day={$(=if(max(Cdr_Day) &amp;lt;= vCurrentDay, max(Cdr_Day), vCurrentDay-1 ))}&amp;gt;} Day))))&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;EM&gt;)'}&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;EM&gt;, Month={$(=Only(Month))}&amp;gt;} Actual) &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 10:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-in-Straight-Table-lt/m-p/442747#M165032</guid>
      <dc:creator />
      <dc:date>2012-09-26T10:15:41Z</dc:date>
    </item>
  </channel>
</rss>

