<?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 Limit dimension to show data for current year in qliksense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Limit-dimension-to-show-data-for-current-year-in-qliksense/m-p/1849885#M70242</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;I have below dimension :-&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_0-1634800708399.png" style="width: 210px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/64899iB84772FB64E70D82/image-dimensions/210x318?v=v2" width="210" height="318" role="button" title="Aspiring_Developer_0-1634800708399.png" alt="Aspiring_Developer_0-1634800708399.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This field has data starting from 2010 till Nov 2021. I am using this field as filter and also as a dimension in one of the charts.&lt;/P&gt;
&lt;P&gt;I want to show the data only for current year i.e Jan 2021 till max . How can i restrict this dimension to show data only for current year ? Can anyone please help me ?&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Thu, 21 Oct 2021 07:20:51 GMT</pubDate>
    <dc:creator>Aspiring_Developer</dc:creator>
    <dc:date>2021-10-21T07:20:51Z</dc:date>
    <item>
      <title>Limit dimension to show data for current year in qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Limit-dimension-to-show-data-for-current-year-in-qliksense/m-p/1849885#M70242</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;I have below dimension :-&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_0-1634800708399.png" style="width: 210px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/64899iB84772FB64E70D82/image-dimensions/210x318?v=v2" width="210" height="318" role="button" title="Aspiring_Developer_0-1634800708399.png" alt="Aspiring_Developer_0-1634800708399.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This field has data starting from 2010 till Nov 2021. I am using this field as filter and also as a dimension in one of the charts.&lt;/P&gt;
&lt;P&gt;I want to show the data only for current year i.e Jan 2021 till max . How can i restrict this dimension to show data only for current year ? Can anyone please help me ?&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 07:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Limit-dimension-to-show-data-for-current-year-in-qliksense/m-p/1849885#M70242</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2021-10-21T07:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Limit dimension to show data for current year in qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Limit-dimension-to-show-data-for-current-year-in-qliksense/m-p/1849912#M70243</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;In your use case scenario I would suggest using Filter pane with expression similar to&lt;SPAN style="color:null"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;=If(WildMatch(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;DATE_FIELD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;, '&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;*2021&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;'), &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;FIELD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;". This expression will only show you the values of &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;FIELD&lt;/STRONG&gt;&lt;/SPAN&gt;, where &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;DATE_FIELD &lt;/STRONG&gt;&lt;/SPAN&gt;ends with "&lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;2021&lt;/STRONG&gt;&lt;/SPAN&gt;". For example dates such as "&lt;STRONG&gt;10/25/&lt;SPAN style="color:#8e44ad"&gt;2021&lt;/SPAN&gt;&lt;/STRONG&gt;" or "&lt;STRONG&gt;01/12/&lt;SPAN style="color:#8e44ad"&gt;2021&lt;/SPAN&gt;&lt;/STRONG&gt;" etc. If you would like to make it more scalable, you can add the "Year(Today())" part in your expression that will make sure that always the current year is used, without you needed to update the value manually each year. So the new expression looks like "&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;=If(WildMatch(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;DATE_FIELD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt; '*' &amp;amp; Year(Today())&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;), &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;FIELD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;". Below you will find the results of my testings:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The expression&amp;nbsp;&lt;SPAN style="color:null"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;DATE_FIELD&lt;/STRONG&gt;&lt;/SPAN&gt;" gives me:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/3a7941a1-9389-419c-bee7-56bb72a900cc.default.PNG" /&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The expression&amp;nbsp;"&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;=If(WildMatch(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;DATE_FIELD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt; '*' &amp;amp; Year(Today())&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;), &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;DATE_FIELD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;" gives me:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/56dfca00-e588-496b-95f4-42c3c88c59f8.default.PNG" /&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I hope that this information was helpful. In case I have misunderstood the use case scenario, please elaborate further in details&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 08:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Limit-dimension-to-show-data-for-current-year-in-qliksense/m-p/1849912#M70243</guid>
      <dc:creator>Andrei_Cusnir</dc:creator>
      <dc:date>2021-10-21T08:12:03Z</dc:date>
    </item>
  </channel>
</rss>

