<?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: Create filter pane in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-filter-pane/m-p/1953690#M1219834</link>
    <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;Try like below&lt;/P&gt;
&lt;P&gt;LET vDMNoOfYear =20;&lt;BR /&gt;Let vMaxDate = Floor(YearEnd(Today()-1));&amp;nbsp;&lt;BR /&gt;LET vMinDate = Floor(YearStart(AddYears(Today(), -($(vDMNoOfYear)))));&lt;/P&gt;
&lt;P&gt;MasterCalendar:&lt;BR /&gt;LOAD &lt;BR /&gt;Year(CalDate) as Year,&lt;BR /&gt;WeekDay(CalDate) as WeekDay,&lt;BR /&gt;'Q' &amp;amp; Ceil(Month(CalDate)/3) as Quarter,&lt;BR /&gt;QuarterName(CalDate) as QuarterName,&lt;BR /&gt;Month(CalDate) as Month,&lt;BR /&gt;If(Month(CalDate) = Month(QuarterEnd(CalDate)), 1, 0) as MaxMonthFlag,&lt;BR /&gt;Date(MonthStart(CalDate), 'MM-YYYY') as MonthYear,&lt;BR /&gt;1000*Rand() as Sales;&lt;BR /&gt;LOAD &lt;BR /&gt;Date($(vMinDate) + IterNo()-1) as CalDate&lt;BR /&gt;AutoGenerate 1 &lt;BR /&gt;While $(vMinDate) + IterNo()-1 &amp;lt;= $(vMaxDate);&lt;/P&gt;
&lt;P&gt;LOAD QuarterName, Max(MonthYear) as MaxMonthYearPerQuarter Resident MasterCalendar Group by QuarterName;&lt;/P&gt;
&lt;P&gt;For i=5 to 20 step 5 &lt;BR /&gt;Load Distinct Year, 'Last '&amp;amp; $(i) &amp;amp; ' Years' as LastNYearFlag Resident MasterCalendar&lt;BR /&gt;Where Year &amp;gt; Year(Today())-$(i);&lt;BR /&gt;next&lt;BR /&gt;&lt;BR /&gt;o/p:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MayilVahanan_0-1657451829913.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83728iEDB3E52D4AAADBC5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MayilVahanan_0-1657451829913.png" alt="MayilVahanan_0-1657451829913.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 10 Jul 2022 11:17:40 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2022-07-10T11:17:40Z</dc:date>
    <item>
      <title>Create filter pane</title>
      <link>https://community.qlik.com/t5/QlikView/Create-filter-pane/m-p/1953684#M1219833</link>
      <description>&lt;P&gt;I wanted to create a filter pane for my bar chart data&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the filter pane should have like last 5 year ,last 10 year ,last 15 year like this option&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but the problem is that i have data in year format like 2001 ,2002 etc&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how to create filter pane so user can select directly last 5 year last 10 etc data&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please help&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jul 2022 08:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-filter-pane/m-p/1953684#M1219833</guid>
      <dc:creator>ha142000</dc:creator>
      <dc:date>2022-07-10T08:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create filter pane</title>
      <link>https://community.qlik.com/t5/QlikView/Create-filter-pane/m-p/1953690#M1219834</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;Try like below&lt;/P&gt;
&lt;P&gt;LET vDMNoOfYear =20;&lt;BR /&gt;Let vMaxDate = Floor(YearEnd(Today()-1));&amp;nbsp;&lt;BR /&gt;LET vMinDate = Floor(YearStart(AddYears(Today(), -($(vDMNoOfYear)))));&lt;/P&gt;
&lt;P&gt;MasterCalendar:&lt;BR /&gt;LOAD &lt;BR /&gt;Year(CalDate) as Year,&lt;BR /&gt;WeekDay(CalDate) as WeekDay,&lt;BR /&gt;'Q' &amp;amp; Ceil(Month(CalDate)/3) as Quarter,&lt;BR /&gt;QuarterName(CalDate) as QuarterName,&lt;BR /&gt;Month(CalDate) as Month,&lt;BR /&gt;If(Month(CalDate) = Month(QuarterEnd(CalDate)), 1, 0) as MaxMonthFlag,&lt;BR /&gt;Date(MonthStart(CalDate), 'MM-YYYY') as MonthYear,&lt;BR /&gt;1000*Rand() as Sales;&lt;BR /&gt;LOAD &lt;BR /&gt;Date($(vMinDate) + IterNo()-1) as CalDate&lt;BR /&gt;AutoGenerate 1 &lt;BR /&gt;While $(vMinDate) + IterNo()-1 &amp;lt;= $(vMaxDate);&lt;/P&gt;
&lt;P&gt;LOAD QuarterName, Max(MonthYear) as MaxMonthYearPerQuarter Resident MasterCalendar Group by QuarterName;&lt;/P&gt;
&lt;P&gt;For i=5 to 20 step 5 &lt;BR /&gt;Load Distinct Year, 'Last '&amp;amp; $(i) &amp;amp; ' Years' as LastNYearFlag Resident MasterCalendar&lt;BR /&gt;Where Year &amp;gt; Year(Today())-$(i);&lt;BR /&gt;next&lt;BR /&gt;&lt;BR /&gt;o/p:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MayilVahanan_0-1657451829913.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83728iEDB3E52D4AAADBC5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MayilVahanan_0-1657451829913.png" alt="MayilVahanan_0-1657451829913.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jul 2022 11:17:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-filter-pane/m-p/1953690#M1219834</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2022-07-10T11:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create filter pane</title>
      <link>https://community.qlik.com/t5/QlikView/Create-filter-pane/m-p/1955564#M1219897</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;hi can you explain this&amp;nbsp;1000*Rand() as Sales; I am not creating for sales i don't&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; understand it&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 06:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-filter-pane/m-p/1955564#M1219897</guid>
      <dc:creator>ha142000</dc:creator>
      <dc:date>2022-07-14T06:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create filter pane</title>
      <link>https://community.qlik.com/t5/QlikView/Create-filter-pane/m-p/1955573#M1219899</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Its provides random values between 0 to 1 and multiply by 1000.. for testing&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 06:24:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-filter-pane/m-p/1955573#M1219899</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2022-07-14T06:24:58Z</dc:date>
    </item>
  </channel>
</rss>

