<?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 Qlik Sense - select current year on page load in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-select-current-year-on-page-load/m-p/933578#M13006</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have several years worth of Sales history and have filters on the page to display various measures by Year.&amp;nbsp; When you load the page, not year is selected so you get a summary for ALL years.&amp;nbsp; I would like to automatically (on load) select the current year data without the user needing to physically select the year. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to automatically filter data on the initial load of the page?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Dec 2015 19:01:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-12-15T19:01:19Z</dc:date>
    <item>
      <title>Qlik Sense - select current year on page load</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-select-current-year-on-page-load/m-p/933578#M13006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have several years worth of Sales history and have filters on the page to display various measures by Year.&amp;nbsp; When you load the page, not year is selected so you get a summary for ALL years.&amp;nbsp; I would like to automatically (on load) select the current year data without the user needing to physically select the year. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to automatically filter data on the initial load of the page?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 19:01:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-select-current-year-on-page-load/m-p/933578#M13006</guid>
      <dc:creator />
      <dc:date>2015-12-15T19:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - select current year on page load</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-select-current-year-on-page-load/m-p/933579#M13007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kenneth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can achive this with formulas in objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(getselectedcount(Date)=0,sum({$&amp;lt;Date={'$(=year(now()))'}&amp;gt;} measure),sum(measure))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If no date is selected then&lt;/LI&gt;&lt;LI&gt;measure = sum of actual year &lt;/LI&gt;&lt;LI&gt;else measure = sum of all year&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can implement more difficult function to implement what you desire.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 04:02:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-select-current-year-on-page-load/m-p/933579#M13007</guid>
      <dc:creator>undergrinder</dc:creator>
      <dc:date>2015-12-16T04:02:57Z</dc:date>
    </item>
  </channel>
</rss>

