<?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 How to over come the default selection in Qliksense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-over-come-the-default-selection-in-Qliksense/m-p/1889322#M73265</link>
    <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in my Line chart am showing last 3 years of data, 2022 , 2021, 2020 in 3 different lines, within the date range from 2020 to 2022 all the date selections applied are working fine. here my requirement is when I select 2018 as well it should reflect in my line chart. so i want these 3 years of data as default selection when no other data filter is selected and when other data filter is selected it should respond accordingly.&lt;/P&gt;
&lt;P&gt;Which expression i have to use in order to achieve the above. please suggest is it possible even&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;My 3 expressions and dims are :&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;CY - (2022)&lt;/P&gt;
&lt;P&gt;if(Count({&amp;lt; Inflow_Date = &amp;nbsp;{"&amp;gt;=$(=Date(Yearstart(Today()),'DD.MM.YYYY')) &amp;lt;=$(=Date(Today(),'DD.MM.YYYY'))"} &amp;gt;}Id) &amp;gt; 0,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Count({&amp;lt; Inflow_Date = &amp;nbsp;{"&amp;gt;=$(=Date(Yearstart(Today()),'DD.MM.YYYY')) &amp;lt;=$(=Date(Today(),'DD.MM.YYYY'))"} &amp;gt;}Id))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PY : (2021)&lt;/P&gt;
&lt;P&gt;Count({&amp;lt; Inflow_Date = {"&amp;gt;=$(=Date(Yearstart(Today(),-1),'DD.MM.YYYY'))&amp;lt;=$(=Date(Yearend(Today(),-1),'DD.MM.YYYY')) "}&amp;gt;}Id)&lt;/P&gt;
&lt;P&gt;PPY : 2020&lt;/P&gt;
&lt;P&gt;Count({&amp;lt; Inflow_Date = {"&amp;gt;=$(=Date(Yearstart(Today(),-2),'DD.MM.YYYY')) &amp;lt;=$(=Date(Yearend(Today(),-2),'DD.MM.YYYY')) "} &amp;gt;}Id)&lt;/P&gt;
&lt;P&gt;Dim : Month(Inflow_Date)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks much in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Feb 2022 18:21:27 GMT</pubDate>
    <dc:creator>dhasharadh</dc:creator>
    <dc:date>2022-02-04T18:21:27Z</dc:date>
    <item>
      <title>How to over come the default selection in Qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-over-come-the-default-selection-in-Qliksense/m-p/1889322#M73265</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in my Line chart am showing last 3 years of data, 2022 , 2021, 2020 in 3 different lines, within the date range from 2020 to 2022 all the date selections applied are working fine. here my requirement is when I select 2018 as well it should reflect in my line chart. so i want these 3 years of data as default selection when no other data filter is selected and when other data filter is selected it should respond accordingly.&lt;/P&gt;
&lt;P&gt;Which expression i have to use in order to achieve the above. please suggest is it possible even&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;My 3 expressions and dims are :&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;CY - (2022)&lt;/P&gt;
&lt;P&gt;if(Count({&amp;lt; Inflow_Date = &amp;nbsp;{"&amp;gt;=$(=Date(Yearstart(Today()),'DD.MM.YYYY')) &amp;lt;=$(=Date(Today(),'DD.MM.YYYY'))"} &amp;gt;}Id) &amp;gt; 0,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Count({&amp;lt; Inflow_Date = &amp;nbsp;{"&amp;gt;=$(=Date(Yearstart(Today()),'DD.MM.YYYY')) &amp;lt;=$(=Date(Today(),'DD.MM.YYYY'))"} &amp;gt;}Id))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PY : (2021)&lt;/P&gt;
&lt;P&gt;Count({&amp;lt; Inflow_Date = {"&amp;gt;=$(=Date(Yearstart(Today(),-1),'DD.MM.YYYY'))&amp;lt;=$(=Date(Yearend(Today(),-1),'DD.MM.YYYY')) "}&amp;gt;}Id)&lt;/P&gt;
&lt;P&gt;PPY : 2020&lt;/P&gt;
&lt;P&gt;Count({&amp;lt; Inflow_Date = {"&amp;gt;=$(=Date(Yearstart(Today(),-2),'DD.MM.YYYY')) &amp;lt;=$(=Date(Yearend(Today(),-2),'DD.MM.YYYY')) "} &amp;gt;}Id)&lt;/P&gt;
&lt;P&gt;Dim : Month(Inflow_Date)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks much in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 18:21:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-over-come-the-default-selection-in-Qliksense/m-p/1889322#M73265</guid>
      <dc:creator>dhasharadh</dc:creator>
      <dc:date>2022-02-04T18:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to over come the default selection in Qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-over-come-the-default-selection-in-Qliksense/m-p/1889420#M73270</link>
      <description>&lt;P&gt;Hi, I think there is no option to hide line as it is in a table, would be nice if they add the option.&lt;/P&gt;
&lt;P&gt;So far the closest I think is to chek with if and only return value when the sleected year is lower than 2020, something like:&lt;/P&gt;
&lt;P&gt;If(GetSelectedCount(&lt;SPAN&gt;Inflow_Date&lt;/SPAN&gt;)&amp;gt;0 and Min(Year(&lt;SPAN&gt;Inflow_Date&lt;/SPAN&gt;))&amp;lt;2020,&amp;nbsp;&lt;SPAN&gt;Count({&amp;lt; Inflow_Date = {"&amp;gt;=$(=Date(Yearstart(MakeDate($(=Min(Year(Inflow_Date))))),'DD.MM.YYYY')) &amp;lt;=$(=Date(Yearend(MakeDate($(=Min(Year(Inflow_Date))))),'DD.MM.YYYY')) "} &amp;gt;}Id)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It will be shown on legend, I don't know how to hide that&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Feb 2022 08:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-over-come-the-default-selection-in-Qliksense/m-p/1889420#M73270</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-02-05T08:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to over come the default selection in Qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-over-come-the-default-selection-in-Qliksense/m-p/1889525#M73277</link>
      <description>&lt;P&gt;Thanks for the reply. Yes as we don't have the option to hide, any other way to do this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;&amp;nbsp;any other experts please suggest.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Feb 2022 15:44:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-over-come-the-default-selection-in-Qliksense/m-p/1889525#M73277</guid>
      <dc:creator>dhasharadh</dc:creator>
      <dc:date>2022-02-06T15:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to over come the default selection in Qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-over-come-the-default-selection-in-Qliksense/m-p/1889530#M73278</link>
      <description>&lt;P&gt;Hi, instead of 3 different expressions you can add year as dimension (maybe you also need to create the field in script) and use only one expression, the expression can be:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Count({&amp;lt;YearField+={2020,2021,2022}&amp;gt;}Id)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Feb 2022 17:25:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-over-come-the-default-selection-in-Qliksense/m-p/1889530#M73278</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-02-06T17:25:09Z</dc:date>
    </item>
  </channel>
</rss>

