<?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: Doubt with set analysis with max(date) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Doubt-with-set-analysis-with-max-date/m-p/788837#M1028790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like,&lt;/P&gt;&lt;P&gt;IF(FLAG = '1', sum ({&amp;lt;MonthYear= {'$(=Max(&lt;SPAN style="font-size: 13.33px;"&gt;MonthYear&lt;/SPAN&gt;))',FLAG={'1'}} &amp;gt;} FLAG))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Feb 2015 06:13:48 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2015-02-12T06:13:48Z</dc:date>
    <item>
      <title>Doubt with set analysis with max(date)</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-with-set-analysis-with-max-date/m-p/788831#M1028784</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;Im using this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(FLAG = '1', sum ({&amp;lt;MonthYear= {'$(=Max(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;MonthYear&lt;/SPAN&gt;))'} &amp;gt;} FLAG))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanna see this graphic only with MAX (MONTHYEAR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it doesn't work i don't know why&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 17:44:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-with-set-analysis-with-max-date/m-p/788831#M1028784</guid>
      <dc:creator />
      <dc:date>2015-02-11T17:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt with set analysis with max(date)</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-with-set-analysis-with-max-date/m-p/788832#M1028785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would it be okay to share your app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 18:04:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-with-set-analysis-with-max-date/m-p/788832#M1028785</guid>
      <dc:creator />
      <dc:date>2015-02-11T18:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt with set analysis with max(date)</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-with-set-analysis-with-max-date/m-p/788833#M1028786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Jeremias,&lt;/P&gt;&lt;P&gt;The Monthyear field is a derived field?, if so you can add date function max(date(monthyear)),See if it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 19:24:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-with-set-analysis-with-max-date/m-p/788833#M1028786</guid>
      <dc:creator>saurabh5</dc:creator>
      <dc:date>2015-02-11T19:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt with set analysis with max(date)</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-with-set-analysis-with-max-date/m-p/788834#M1028787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the expression work if you hard-code the desired value, for example:&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;"&gt;IF(FLAG = '1', sum ({&amp;lt;MonthYear= {'Jan-2015&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'} &amp;gt;} FLAG))?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;If yes, then clearly it'is a formatting problem, try someting like DATE(MAX(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MonthYear&lt;/SPAN&gt;), 'MMM-YYYY').&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Ernesto.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 19:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-with-set-analysis-with-max-date/m-p/788834#M1028787</guid>
      <dc:creator>consenit</dc:creator>
      <dc:date>2015-02-11T19:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt with set analysis with max(date)</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-with-set-analysis-with-max-date/m-p/788835#M1028788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe (replace &lt;SPAN style="font-size: 13.3333330154419px;"&gt;MMM-YYYY with your format)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(FLAG='1',&lt;/P&gt;&lt;P&gt;sum({$ &amp;lt;MonthYear={"$(=date(max(MonthYear),'MMM-YYYY'))"}&amp;gt; } FLAG)&amp;nbsp; &lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not sure if the expression IF(FLAG='1', sum(&amp;nbsp; ..... FLAG)) makes sense&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 20:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-with-set-analysis-with-max-date/m-p/788835#M1028788</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-02-11T20:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt with set analysis with max(date)</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-with-set-analysis-with-max-date/m-p/788836#M1028789</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;Sum(Flag) is not correct approach in my point of view.It will be count or you need to take ant other filed in the place of Flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 05:56:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-with-set-analysis-with-max-date/m-p/788836#M1028789</guid>
      <dc:creator>krishna20</dc:creator>
      <dc:date>2015-02-12T05:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt with set analysis with max(date)</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-with-set-analysis-with-max-date/m-p/788837#M1028790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like,&lt;/P&gt;&lt;P&gt;IF(FLAG = '1', sum ({&amp;lt;MonthYear= {'$(=Max(&lt;SPAN style="font-size: 13.33px;"&gt;MonthYear&lt;/SPAN&gt;))',FLAG={'1'}} &amp;gt;} FLAG))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 06:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-with-set-analysis-with-max-date/m-p/788837#M1028790</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-02-12T06:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt with set analysis with max(date)</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-with-set-analysis-with-max-date/m-p/788838#M1028791</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;If you have Monthyear field in this format MMM-YYYY then arrive a date field in your script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;Date(Date#(MonthYear, 'MMM-YYYY')) AS Date&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in chart you can try this expression&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Sum ({&amp;lt;FLAG={1}, MonthYear=, Date={'&amp;gt;=$(=MonthStart(Max(Date)))&amp;lt;=$(=Date(Max(Date)))'} &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;gt;} FLAG)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 08:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-with-set-analysis-with-max-date/m-p/788838#M1028791</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-02-12T08:00:12Z</dc:date>
    </item>
  </channel>
</rss>

