<?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: 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/1778536#M60490</link>
    <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;try this link&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/November2020/Subsystems/Hub/Content/Sense_Hub/Dimensions/calculated-dimensions.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/November2020/Subsystems/Hub/Content/Sense_Hub/Dimensions/calculated-dimensions.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;ksrinivasan&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jan 2021 17:52:56 GMT</pubDate>
    <dc:creator>Ksrinivasan</dc:creator>
    <dc:date>2021-01-29T17:52:56Z</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/1778037#M60391</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;Can any one please help me on below requirement.&lt;/P&gt;&lt;P&gt;I've data for 24 months but by default the user wants to see the data for 6 months and for the rest of the months he want's to see it using the filter.&lt;/P&gt;&lt;P&gt;I've &lt;STRONG&gt;s_month&lt;/STRONG&gt; as the field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp; &amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/73394"&gt;@anil&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/113812"&gt;@vaibhavv&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/59170"&gt;@anu&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/75614"&gt;@Sash&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 10:18:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Restrict-the-months-in-dimension-filter/m-p/1778037#M60391</guid>
      <dc:creator>Prakash004</dc:creator>
      <dc:date>2021-01-28T10:18:58Z</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/1778136#M60406</link>
      <description>&lt;P&gt;Let me understand you further - in case of no user selection - you want the present the last 6 month. If the user select one month, you want to present only this month data, or the selected month + previous 5 month prior to it, or just the selected month alone?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 15:13:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Restrict-the-months-in-dimension-filter/m-p/1778136#M60406</guid>
      <dc:creator>sonkumamon</dc:creator>
      <dc:date>2021-01-28T15:13:32Z</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/1778145#M60408</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;try this link&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-App-Development/QlikSense-Default-Month-Filter/td-p/1140625" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Sense-App-Development/QlikSense-Default-Month-Filter/td-p/1140625&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ksrinivasan&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 15:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Restrict-the-months-in-dimension-filter/m-p/1778145#M60408</guid>
      <dc:creator>Ksrinivasan</dc:creator>
      <dc:date>2021-01-28T15:29:13Z</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/1778195#M60417</link>
      <description>&lt;P&gt;It should be just the selected month alone.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 17:18:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Restrict-the-months-in-dimension-filter/m-p/1778195#M60417</guid>
      <dc:creator>Prakash004</dc:creator>
      <dc:date>2021-01-28T17:18:31Z</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/1778197#M60418</link>
      <description>&lt;P&gt;Instead of writing the expression in every charts and KPI, is there any other work around?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 17:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Restrict-the-months-in-dimension-filter/m-p/1778197#M60418</guid>
      <dc:creator>Prakash004</dc:creator>
      <dc:date>2021-01-28T17:22:43Z</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/1778198#M60419</link>
      <description>&lt;P&gt;You can create a master measure and use it in all the charts an KPIs, thus you would need to write the expression only once.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 17:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Restrict-the-months-in-dimension-filter/m-p/1778198#M60419</guid>
      <dc:creator>sonkumamon</dc:creator>
      <dc:date>2021-01-28T17:24:48Z</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/1778204#M60420</link>
      <description>&lt;P&gt;Hi Sonkumamon,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me to write the expression please.&lt;/P&gt;&lt;P&gt;Let's assume the month field is 's_month' , and filed 'Sales' is the measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much in advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 17:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Restrict-the-months-in-dimension-filter/m-p/1778204#M60420</guid>
      <dc:creator>Prakash004</dc:creator>
      <dc:date>2021-01-28T17:53:16Z</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/1778520#M60489</link>
      <description>&lt;P&gt;1) Create bookmark for selected one and it allows by default if you are using latest version in QS&lt;/P&gt;&lt;P&gt;2) Perhaps you can play around &lt;STRONG&gt;Only({&amp;lt;s_month&amp;nbsp;= E(s_month)&amp;gt;}s_month)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 17:08:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Restrict-the-months-in-dimension-filter/m-p/1778520#M60489</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2021-01-29T17:08:23Z</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/1778536#M60490</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;try this link&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/November2020/Subsystems/Hub/Content/Sense_Hub/Dimensions/calculated-dimensions.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/November2020/Subsystems/Hub/Content/Sense_Hub/Dimensions/calculated-dimensions.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;ksrinivasan&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 17:52:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Restrict-the-months-in-dimension-filter/m-p/1778536#M60490</guid>
      <dc:creator>Ksrinivasan</dc:creator>
      <dc:date>2021-01-29T17:52:56Z</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/1778592#M60501</link>
      <description>&lt;P&gt;Hi Prakash,&lt;/P&gt;&lt;P&gt;Lets say you want to calculate the measure only for the selected month, then your expression should be something like this:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;s_month={$(=Max(s_month)}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;Lets say you want to calculate the measure for the last 6 month when there is no selection, your expression should be like:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;s_month=&lt;SPAN&gt;{"&amp;gt;=AddMonths(Max(s_month),-6)&amp;lt;=Max(s_month)"}&lt;/SPAN&gt;&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;So, if you want to make this expression dynamic (shows the last 6 month if no month is selected, and only the selected month in case of a selection, you should either use this 2 measures and each time hide one of then is concern of the selection, or create one dynamic measure:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;s_month=If(GetSelectedCount(&lt;SPAN&gt;s_month)=0,&lt;/SPAN&gt;&lt;SPAN&gt;{"&amp;gt;=AddMonths(Max(s_month),-6)&amp;lt;=Max(s_month)"},Max(s_month))&amp;nbsp;&lt;/SPAN&gt;&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;Keep in mind that using the above expression may effect the performance as it uses an if expression for in&amp;nbsp; a measure.&lt;/P&gt;&lt;P&gt;Uri&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 21:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Restrict-the-months-in-dimension-filter/m-p/1778592#M60501</guid>
      <dc:creator>sonkumamon</dc:creator>
      <dc:date>2021-01-29T21:05:29Z</dc:date>
    </item>
  </channel>
</rss>

