<?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: Max date based on Quarters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-date-based-on-Quarters/m-p/913700#M316955</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe Quarterstart() and Quartername() functions have an optional argument to change beginning of the quarter. Check the HELP for more details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Aug 2015 08:56:17 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-08-07T08:56:17Z</dc:date>
    <item>
      <title>Max date based on Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Max-date-based-on-Quarters/m-p/913695#M316950</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;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I have a transposed script i need to find max date based on Quarters for each project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any suggestions? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This script helps to find Max date .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Trans3:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;ProjectID_SYS,&lt;/P&gt;&lt;P&gt;[Updated On],&lt;/P&gt;&lt;P&gt;[Value Before Update] as N_Customer_Traction_Status&lt;/P&gt;&lt;P&gt;Resident [Metrics History]&lt;/P&gt;&lt;P&gt;where [Metric Name]='Customer Traction Status'; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;ProjectID_SYS,&lt;/P&gt;&lt;P&gt;Timestamp(Date(Max([Updated On]),'MM/DD/YYYY hh:mm:ss TT')) as Maxmetric&lt;/P&gt;&lt;P&gt;Resident [Metrics History]&lt;/P&gt;&lt;P&gt;where [Metric Name]='Customer Traction Status'&lt;/P&gt;&lt;P&gt;Group by ProjectID_SYS,[Metric Name];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trans4:&lt;/P&gt;&lt;P&gt;NoConcatenate &lt;/P&gt;&lt;P&gt;LOAD ProjectID_SYS,[Updated On],N_Customer_Traction_Status,Maxmetric &lt;/P&gt;&lt;P&gt;Resident Trans3 &lt;/P&gt;&lt;P&gt;where Maxmetric=[Updated On];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop Table Trans3;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 10:09:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-date-based-on-Quarters/m-p/913695#M316950</guid>
      <dc:creator />
      <dc:date>2015-08-06T10:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Max date based on Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Max-date-based-on-Quarters/m-p/913696#M316951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want the max-date per quarter you need to quarter to the max-aggregation-load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Join&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;ProjectID_SYS,&lt;/P&gt;&lt;P&gt;Timestamp(Date(Max([Updated On]),'MM/DD/YYYY hh:mm:ss TT')) as Maxmetric,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'Q' &amp;amp; ceil(month([Updated On])/3) &amp;amp; ' ' &amp;amp; year([Updated On]) as YearQuarter&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Resident [Metrics History]&lt;/P&gt;&lt;P&gt;where [Metric Name]='Customer Traction Status'&lt;/P&gt;&lt;P&gt;Group by ProjectID_SYS,[Metric Name], &lt;STRONG&gt;'Q' &amp;amp; ceil(month([Updated On])/3) &amp;amp; ' ' &amp;amp; year([Updated On])&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 16:55:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-date-based-on-Quarters/m-p/913696#M316951</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-08-06T16:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Max date based on Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Max-date-based-on-Quarters/m-p/913697#M316952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Trans3:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NoConcatenate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ProjectID_SYS,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Updated On],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Value Before Update] as N_Customer_Traction_Status&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident [Metrics History]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where [Metric Name]='Customer Traction Status';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Join&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ProjectID_SYS,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Max([Updated On]) as [Updated On],&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;Quartername([Updated On]) as QuarterName&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident [Metrics History]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where [Metric Name]='Customer Traction Status'&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Group by ProjectID_SYS, Quarterstart([Updated On]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No need for another resident load, I think.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 17:15:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-date-based-on-Quarters/m-p/913697#M316952</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-06T17:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Max date based on Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Max-date-based-on-Quarters/m-p/913698#M316953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what if i have my Q1 starts from Nov.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 07:28:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-date-based-on-Quarters/m-p/913698#M316953</guid>
      <dc:creator />
      <dc:date>2015-08-07T07:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Max date based on Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Max-date-based-on-Quarters/m-p/913699#M316954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the best is you mapped your financial quarter from your master-calendar to this join-table then to rebuilt it here again makes no sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 08:07:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-date-based-on-Quarters/m-p/913699#M316954</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-08-07T08:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Max date based on Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Max-date-based-on-Quarters/m-p/913700#M316955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe Quarterstart() and Quartername() functions have an optional argument to change beginning of the quarter. Check the HELP for more details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 08:56:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-date-based-on-Quarters/m-p/913700#M316955</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-07T08:56:17Z</dc:date>
    </item>
  </channel>
</rss>

