<?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: value for max date in each month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/value-for-max-date-in-each-month/m-p/1621410#M595257</link>
    <description>&lt;P&gt;hi, since you need to group the data by month since you're looking for max date for each month. The way I would do it is to identify max date in script and create artificial field for set analysis. I suggest doing this in the script in a way:&lt;/P&gt;&lt;P&gt;Left Join (originaltable)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Max(Date) as Date,&lt;/P&gt;&lt;P&gt;Month,&lt;/P&gt;&lt;P&gt;1 as SetAnalysisFlag&lt;/P&gt;&lt;P&gt;resident originaltable&lt;/P&gt;&lt;P&gt;group by Month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This way max for each month will have 1 in SetAnalysisFlag and you can use it like this:&lt;/P&gt;&lt;P&gt;sum{&amp;lt;SetAnalysisFlag={1}&amp;gt;}value)&lt;/P&gt;</description>
    <pubDate>Mon, 09 Sep 2019 05:41:41 GMT</pubDate>
    <dc:creator>DavidM</dc:creator>
    <dc:date>2019-09-09T05:41:41Z</dc:date>
    <item>
      <title>value for max date in each month</title>
      <link>https://community.qlik.com/t5/QlikView/value-for-max-date-in-each-month/m-p/1621375#M595255</link>
      <description>&lt;P&gt;i needto get value of max date in a month&lt;/P&gt;&lt;P&gt;jan 31&lt;/P&gt;&lt;P&gt;feb 28&lt;/P&gt;&lt;P&gt;mar 15 ,if i have data till 15 only&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i tried with date=max(date) and sum of value but no luck,thanks&lt;/P&gt;</description>
      <pubDate>Sun, 08 Sep 2019 21:21:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/value-for-max-date-in-each-month/m-p/1621375#M595255</guid>
      <dc:creator>sanjeeva_279</dc:creator>
      <dc:date>2019-09-08T21:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: value for max date in each month</title>
      <link>https://community.qlik.com/t5/QlikView/value-for-max-date-in-each-month/m-p/1621410#M595257</link>
      <description>&lt;P&gt;hi, since you need to group the data by month since you're looking for max date for each month. The way I would do it is to identify max date in script and create artificial field for set analysis. I suggest doing this in the script in a way:&lt;/P&gt;&lt;P&gt;Left Join (originaltable)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Max(Date) as Date,&lt;/P&gt;&lt;P&gt;Month,&lt;/P&gt;&lt;P&gt;1 as SetAnalysisFlag&lt;/P&gt;&lt;P&gt;resident originaltable&lt;/P&gt;&lt;P&gt;group by Month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This way max for each month will have 1 in SetAnalysisFlag and you can use it like this:&lt;/P&gt;&lt;P&gt;sum{&amp;lt;SetAnalysisFlag={1}&amp;gt;}value)&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 05:41:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/value-for-max-date-in-each-month/m-p/1621410#M595257</guid>
      <dc:creator>DavidM</dc:creator>
      <dc:date>2019-09-09T05:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: value for max date in each month</title>
      <link>https://community.qlik.com/t5/QlikView/value-for-max-date-in-each-month/m-p/1621421#M595258</link>
      <description>&lt;P&gt;Thanks for the mail.user want to pass calender as a filter to choose whatever date he wants&lt;/P&gt;&lt;P&gt;if i get all data by month level,if users go by date level it creates data issues&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.generic report should show data by max date of each month value ,&lt;/P&gt;&lt;P&gt;2.calender as input for start date and end date&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 06:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/value-for-max-date-in-each-month/m-p/1621421#M595258</guid>
      <dc:creator>sanjeeva_279</dc:creator>
      <dc:date>2019-09-09T06:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: value for max date in each month</title>
      <link>https://community.qlik.com/t5/QlikView/value-for-max-date-in-each-month/m-p/1621424#M595260</link>
      <description>&lt;P&gt;I am not sure, if I understand you correctly, but I think what you need is what I've showed you:&lt;/P&gt;&lt;P&gt;The set analysis will show you value for max date for each month.&lt;/P&gt;&lt;P&gt;You can create filter from the Date field and user can select which months he wants to look at&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 06:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/value-for-max-date-in-each-month/m-p/1621424#M595260</guid>
      <dc:creator>DavidM</dc:creator>
      <dc:date>2019-09-09T06:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: value for max date in each month</title>
      <link>https://community.qlik.com/t5/QlikView/value-for-max-date-in-each-month/m-p/1625864#M595261</link>
      <description>&lt;P&gt;Sanjeeva, I am providing some links that may be of some help given the other posts:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Dates-in-Set-Analysis/ba-p/1472511" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Dates-in-Set-Analysis/ba-p/1472511&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Here is the generic/search link for the Design Blog area in case you want to search on your own:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 15:28:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/value-for-max-date-in-each-month/m-p/1625864#M595261</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-09-19T15:28:14Z</dc:date>
    </item>
  </channel>
</rss>

