<?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 Restrict the months in dimension filter in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Restrict-the-months-in-dimension-filter/m-p/2470871#M99671</link>
    <description>&lt;P&gt;Hi Anyone,&lt;/P&gt;
&lt;P&gt;May I ask how to create a Month filter no affect the back end data.&lt;/P&gt;
&lt;P&gt;For example ,I have 2 Year data (202201-202312). I want to create a filter the user only can choose(202301-202312).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The filter as below expression.&lt;/P&gt;
&lt;P&gt;If( Date#(Month,'YYYYMM') &amp;lt;= Date(MonthStart(vMaxMonthYear,0) ,'YYYYMM') &lt;BR /&gt;AND&lt;BR /&gt;Date#(Month,'YYYYMM') &amp;gt;= Date(MonthStart(vMaxMonthYear,-11) ,'YYYYMM')&lt;/P&gt;
&lt;P&gt;, Date(Month,'MMM YY'))&lt;/P&gt;
&lt;P&gt;However, this expression let the user can't access all the data from&amp;nbsp;(202201-202212) which is not I want . It is because I have some YTD Comparison and past year chart.&lt;/P&gt;
&lt;P&gt;I just want to limit user choosing the filter only.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2024 07:15:29 GMT</pubDate>
    <dc:creator>eddywong71</dc:creator>
    <dc:date>2024-07-16T07:15:29Z</dc:date>
    <item>
      <title>Restrict the months in dimension filter</title>
      <link>https://community.qlik.com/t5/App-Development/Restrict-the-months-in-dimension-filter/m-p/2470871#M99671</link>
      <description>&lt;P&gt;Hi Anyone,&lt;/P&gt;
&lt;P&gt;May I ask how to create a Month filter no affect the back end data.&lt;/P&gt;
&lt;P&gt;For example ,I have 2 Year data (202201-202312). I want to create a filter the user only can choose(202301-202312).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The filter as below expression.&lt;/P&gt;
&lt;P&gt;If( Date#(Month,'YYYYMM') &amp;lt;= Date(MonthStart(vMaxMonthYear,0) ,'YYYYMM') &lt;BR /&gt;AND&lt;BR /&gt;Date#(Month,'YYYYMM') &amp;gt;= Date(MonthStart(vMaxMonthYear,-11) ,'YYYYMM')&lt;/P&gt;
&lt;P&gt;, Date(Month,'MMM YY'))&lt;/P&gt;
&lt;P&gt;However, this expression let the user can't access all the data from&amp;nbsp;(202201-202212) which is not I want . It is because I have some YTD Comparison and past year chart.&lt;/P&gt;
&lt;P&gt;I just want to limit user choosing the filter only.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 07:15:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Restrict-the-months-in-dimension-filter/m-p/2470871#M99671</guid>
      <dc:creator>eddywong71</dc:creator>
      <dc:date>2024-07-16T07:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict the months in dimension filter</title>
      <link>https://community.qlik.com/t5/App-Development/Restrict-the-months-in-dimension-filter/m-p/2471030#M99678</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/213575"&gt;@eddywong71&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Are these two range periods bringing the correct periods? With the Year/Month date formatted, &lt;BR /&gt;try this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Tradução" aria-label="Texto traduzido" data-ved="2ahUKEwijj5m3rKyHAxXEtJUCHaBtAagQ3ewLegQIChAU"&gt;&lt;SPAN class="Y2IQFc"&gt;aggr(Only({&amp;lt; DateMonth ={ "&amp;gt;=$(=Date(MonthStart(DateMonth,-11) ,'YYYYMM'))&amp;lt;=$(=Date(MonthStart(DateMonth,0) ,'YYYYMM'))" }&amp;gt;} DateMonth),DateMonth)&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;- Matheus&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 20:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Restrict-the-months-in-dimension-filter/m-p/2471030#M99678</guid>
      <dc:creator>MatheusC</dc:creator>
      <dc:date>2024-07-16T20:38:46Z</dc:date>
    </item>
  </channel>
</rss>

