<?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 Doubt in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/428919#M159868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;&lt;/P&gt;&lt;P&gt;MonthID = {"&amp;gt;=$(=Max(MonthID) - 11)&amp;lt;=$(=Max(MonthID))"},&lt;/P&gt;&lt;P&gt;CalendarType = {$(=vCalendarType)},&lt;/P&gt;&lt;P&gt;MonthOrder = ,&lt;/P&gt;&lt;P&gt;Date = {"&amp;lt;=$(=Max(Date))"},&lt;/P&gt;&lt;P&gt;Year = ,&lt;/P&gt;&lt;P&gt;FiscalYear = ,&lt;/P&gt;&lt;P&gt;Quarter = ,&lt;/P&gt;&lt;P&gt;Week = ,&lt;/P&gt;&lt;P&gt;[Period (#)] = ,&lt;/P&gt;&lt;P&gt;Month = ,&lt;/P&gt;&lt;P&gt;[Brand Code]={'=(365-Max( $(vSetRolling12) Date) + Min( $(vSetRolling12) Date)) &amp;lt;$(vL4LNrDays) and Sum({$(vRolling12)} _Inactive_Brand)&amp;lt;1'}&lt;/P&gt;&lt;P&gt;&amp;gt;}&lt;/P&gt;&lt;P&gt;[#Turnover EUR])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jun 2013 13:32:12 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-06-03T13:32:12Z</dc:date>
    <item>
      <title>Set Analysis Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/428915#M159864</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;I'm trying to make a Setanalysis expression but until now without success.&lt;/P&gt;&lt;P&gt;I want exclude Brands where (365-Max( $(vSetRolling12) Date) + Min( $(vSetRolling12) Date)) &amp;lt;$(vL4LNrDays)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give me an hand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Bruno&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: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=Max(MonthID) - 11)&amp;lt;=$(=Max(MonthID))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CalendarType&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=vCalendarType)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthOrder&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = ,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;lt;=$(=Max(Date))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = ,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FiscalYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = ,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Quarter&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = ,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Period&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = ,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Week&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = ,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Period (#)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = ,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Brand Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;E&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_Inactive_Brand&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'1'},&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=min( $(=$(vSetRolling12)) Date))&amp;nbsp; &amp;lt;=$(=max( $(=$(vSetRolling12)) Date)))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt; }&lt;BR /&gt;&lt;BR /&gt;&amp;gt;}),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;Month = &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[#Sales EUR]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//(365-Max( $(vSetRolling12) Date) + Min( $(vSetRolling12) Date)) &amp;lt;$(vL4LNrDays) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 12:24:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/428915#M159864</guid>
      <dc:creator>bruno_m_santos</dc:creator>
      <dc:date>2013-05-31T12:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/428916#M159865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know exactly what you're looking for... Date function needs parenthesis.&lt;/P&gt;&lt;P&gt;However, start by combining &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;(365-Max( $(vSetRolling12) Date) + Min( $(vSetRolling12) Date)) &lt;/SPAN&gt; in 1 variable so in your set analysis it'll be easier to evaluate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 13:27:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/428916#M159865</guid>
      <dc:creator />
      <dc:date>2013-05-31T13:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/428917#M159866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-1290"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jun 2013 16:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/428917#M159866</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-01T16:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/428918#M159867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’m uploading my app to demonstrate my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You ‘ll find a last column “Like For Like”. In this column I´m filtering the inactive Brands, but I need filter Brands that in the last Rolling12 have&amp;nbsp; 365-Max( $(vSetRolling12) Date) + Min( $(vSetRolling12) Date)) &amp;lt;5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 11:50:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/428918#M159867</guid>
      <dc:creator>bruno_m_santos</dc:creator>
      <dc:date>2013-06-03T11:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/428919#M159868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;&lt;/P&gt;&lt;P&gt;MonthID = {"&amp;gt;=$(=Max(MonthID) - 11)&amp;lt;=$(=Max(MonthID))"},&lt;/P&gt;&lt;P&gt;CalendarType = {$(=vCalendarType)},&lt;/P&gt;&lt;P&gt;MonthOrder = ,&lt;/P&gt;&lt;P&gt;Date = {"&amp;lt;=$(=Max(Date))"},&lt;/P&gt;&lt;P&gt;Year = ,&lt;/P&gt;&lt;P&gt;FiscalYear = ,&lt;/P&gt;&lt;P&gt;Quarter = ,&lt;/P&gt;&lt;P&gt;Week = ,&lt;/P&gt;&lt;P&gt;[Period (#)] = ,&lt;/P&gt;&lt;P&gt;Month = ,&lt;/P&gt;&lt;P&gt;[Brand Code]={'=(365-Max( $(vSetRolling12) Date) + Min( $(vSetRolling12) Date)) &amp;lt;$(vL4LNrDays) and Sum({$(vRolling12)} _Inactive_Brand)&amp;lt;1'}&lt;/P&gt;&lt;P&gt;&amp;gt;}&lt;/P&gt;&lt;P&gt;[#Turnover EUR])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 13:32:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/428919#M159868</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-03T13:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/428920#M159869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FANTASTIC.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Many Thanks Gysbert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I was completely&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in the wrong direction&lt;/SPAN&gt;. &lt;SPAN class="hps"&gt;I thought this&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;was only&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;possible&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;P&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;(&lt;/SPAN&gt;) &lt;SPAN class="hps"&gt;and E&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;(&lt;/SPAN&gt;). &lt;SPAN class="hps"&gt;I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;have a question&lt;/SPAN&gt;. &lt;SPAN class="hps"&gt;Why use&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;single&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;quote&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;instead of&lt;/SPAN&gt; double &lt;SPAN class="hps"&gt;Quotes.&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Thnks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Bruno&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 14:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/428920#M159869</guid>
      <dc:creator>bruno_m_santos</dc:creator>
      <dc:date>2013-06-03T14:16:04Z</dc:date>
    </item>
  </channel>
</rss>

