<?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: Using min (or max) with Greater Than in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-min-or-max-with-Greater-Than-in-Set-Analysis/m-p/1211558#M462079</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny T ! That syntax... something to get used to &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Oct 2016 20:56:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-10-24T20:56:49Z</dc:date>
    <item>
      <title>Using min (or max) with Greater Than in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-min-or-max-with-Greater-Than-in-Set-Analysis/m-p/1211556#M462077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first post in the qlik community so please forgive me if I'm doing something wrong. (I did search prior to adding this topic)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, my expression is correct until I try to 'inject' my MIN(date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My 'FirstDayMonth' contains the first day of the month of the 5 months in our reporting&lt;/P&gt;&lt;P&gt;1/06/2016&lt;/P&gt;&lt;P&gt;1/07/2016&lt;/P&gt;&lt;P&gt;1/08/2016&lt;/P&gt;&lt;P&gt;1/09/2016&lt;/P&gt;&lt;P&gt;1/10/2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because I want to keep it dynamic, I want to use the MIN function for the date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;DimMaterialType={"NB"}, [Contract Start Date]={'$(&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&amp;gt;=&lt;/STRONG&gt;&lt;/SPAN&gt;Min(FirstDayMonth))'} &amp;gt;} [Fees at CR]) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem should be with the bold italic part (&amp;gt;=)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much in advance helping me out!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Oct 2016 21:06:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-min-or-max-with-Greater-Than-in-Set-Analysis/m-p/1211556#M462077</guid>
      <dc:creator />
      <dc:date>2016-10-23T21:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using min (or max) with Greater Than in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-min-or-max-with-Greater-Than-in-Set-Analysis/m-p/1211557#M462078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is couple of ways you can handle this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option 1:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;DimMaterialType={"NB"}, [Contract Start Date]={&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;&amp;gt;&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;$(&lt;SPAN style="color: #ff0000;"&gt;=Date(&lt;/SPAN&gt;Min(FirstDayMonth)&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;, 'D/MM/YYYY')&lt;/STRONG&gt;)&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;}&amp;gt;} [Fees at CR])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option 2:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;DimMaterialType={"NB"}, [Contract Start Date]={&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;$(&lt;SPAN style="color: #ff0000;"&gt;='&lt;/SPAN&gt;&amp;gt;=&lt;SPAN style="color: #ff0000;"&gt;' &amp;amp;&lt;/SPAN&gt; &lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;Date(&lt;/STRONG&gt;Min(FirstDayMonth)&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;, 'D/MM/YYYY')&lt;/STRONG&gt;)&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;}&amp;gt;} [Fees at CR])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 06:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-min-or-max-with-Greater-Than-in-Set-Analysis/m-p/1211557#M462078</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-24T06:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using min (or max) with Greater Than in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-min-or-max-with-Greater-Than-in-Set-Analysis/m-p/1211558#M462079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny T ! That syntax... something to get used to &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 20:56:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-min-or-max-with-Greater-Than-in-Set-Analysis/m-p/1211558#M462079</guid>
      <dc:creator />
      <dc:date>2016-10-24T20:56:49Z</dc:date>
    </item>
  </channel>
</rss>

