<?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: QlikView Quarter Filter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-Quarter-Filter/m-p/893809#M1005651</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;You need to bring date field from Year and Quarter in script, after that it would be easier to handle this&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;MakeDate(Year, Right(Quarter, 1) * 3) AS Date&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in set analysis use this expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px;"&gt;sum({&amp;lt;Year=, Quarter=, Date={'&amp;gt;=$(=QuarterStart(Max(Date), -7))&amp;lt;=$(=QuarterEnd(Max(Date)))'}&amp;gt;}Proj__Default_Crp)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&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>Wed, 20 May 2015 09:53:20 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2015-05-20T09:53:20Z</dc:date>
    <item>
      <title>QlikView Quarter Filter</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Quarter-Filter/m-p/893808#M1005650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hello &lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Everyone,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I need some help regarding a quarter selection in my qvw file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;In my file, there are two filters (Year and Quarter) available. &lt;BR /&gt;Please have a look at the below two screenshots. &lt;BR /&gt;The Requirement is, if I select Year (e.g 2015) and Quarter(Q1), then my chart should show latest 8 quarters. But currently the chart is showing all the 12 quarters which are as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86992_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/SPAN&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/86996_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;But the Chart Dimension is not a Date Column (e.g 2015Q1, 2014Q4). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;What should be the expression? currently this expression is used: sum(Proj__Default_Crp).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Looking forward to the correct answer.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Sajid.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 09:47:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Quarter-Filter/m-p/893808#M1005650</guid>
      <dc:creator />
      <dc:date>2015-05-20T09:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Quarter Filter</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Quarter-Filter/m-p/893809#M1005651</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;You need to bring date field from Year and Quarter in script, after that it would be easier to handle this&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;MakeDate(Year, Right(Quarter, 1) * 3) AS Date&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in set analysis use this expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px;"&gt;sum({&amp;lt;Year=, Quarter=, Date={'&amp;gt;=$(=QuarterStart(Max(Date), -7))&amp;lt;=$(=QuarterEnd(Max(Date)))'}&amp;gt;}Proj__Default_Crp)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&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>Wed, 20 May 2015 09:53:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Quarter-Filter/m-p/893809#M1005651</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-05-20T09:53:20Z</dc:date>
    </item>
  </channel>
</rss>

