<?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: Automatically set date picker to date and load data on open sheet in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Automatically-set-date-picker-to-date-and-load-data-on-open/m-p/2424375#M95986</link>
    <description>&lt;P&gt;Ok, I will answer my own question here.&lt;/P&gt;
&lt;P&gt;You will need to set the variable used in date picker to&lt;/P&gt;
&lt;P&gt;=Num(Today())&lt;/P&gt;
&lt;P&gt;Then the sheet will reload automatically onActivate.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2024 03:32:11 GMT</pubDate>
    <dc:creator>Matty</dc:creator>
    <dc:date>2024-02-28T03:32:11Z</dc:date>
    <item>
      <title>Automatically set date picker to date and load data on open sheet</title>
      <link>https://community.qlik.com/t5/App-Development/Automatically-set-date-picker-to-date-and-load-data-on-open/m-p/2412840#M94791</link>
      <description>&lt;P&gt;Hi Community,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am sure this has worked for me before, but now it doesn't for some reason???&lt;/P&gt;
&lt;P&gt;I have a date picker and I need it to default to current date and the pivot tables in the model to load the data for the current date only.&lt;/P&gt;
&lt;P&gt;I have set a trigger on ActivateSheet and I am using the External to set a variable (vFromDate) that the date picker uses to Today, (I also tried =Date(today())). Here is the thing, the Date Picker is setting the date correctly, and in the correct format and if I expand it, I can clearly see that todays date is selected, but the tables in the sheet is cleared (no data showing). However, if I manually select the date (same as is already selected) the data appears like magic. It's like it has set the date correctly, but is not refreshing to actually load the selected data in the tables.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just to so there is no confusion. I am not trying to reload the data in the sheet, I just want the selected date (and data) when you open the sheet to be today's date by default. The date picker is setting the date, but not executing the selection until I manually press again on the date that is already selected. Any ideas?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;#datepicker&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 04:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Automatically-set-date-picker-to-date-and-load-data-on-open/m-p/2412840#M94791</guid>
      <dc:creator>Matty</dc:creator>
      <dc:date>2024-01-31T04:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically set date picker to date and load data on open sheet</title>
      <link>https://community.qlik.com/t5/App-Development/Automatically-set-date-picker-to-date-and-load-data-on-open/m-p/2412855#M94797</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/262780"&gt;@Matty&lt;/a&gt;&amp;nbsp;Please check here, Edit Sheet.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anil_Babu_Samineni_0-1706680019706.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158713i294578527B426B9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anil_Babu_Samineni_0-1706680019706.png" alt="Anil_Babu_Samineni_0-1706680019706.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anil_Babu_Samineni_1-1706680057640.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158714i76414268D402031B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anil_Babu_Samineni_1-1706680057640.png" alt="Anil_Babu_Samineni_1-1706680057640.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 05:47:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Automatically-set-date-picker-to-date-and-load-data-on-open/m-p/2412855#M94797</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2024-01-31T05:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically set date picker to date and load data on open sheet</title>
      <link>https://community.qlik.com/t5/App-Development/Automatically-set-date-picker-to-date-and-load-data-on-open/m-p/2412861#M94800</link>
      <description>&lt;P&gt;I am not sure where this is. I am using QlikView ver 11.20.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't find this setting, so I assume you are using QlikSense or something else. As I mentioned, the correct date value is selected in the Datepicker,&amp;nbsp;it just does not update the data. Instead it is cleared. I need to select the same value in the Datepicker manually for the data to show in the tables.&lt;BR /&gt;In the expressions in the tables I use a syntax similar to this to present the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=Sum(if( Date($(vFromDate), 'YYYYMMDD') = date#(LoadDate,'dd/MM/yyyy'), Damaged,0))&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 06:27:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Automatically-set-date-picker-to-date-and-load-data-on-open/m-p/2412861#M94800</guid>
      <dc:creator>Matty</dc:creator>
      <dc:date>2024-01-31T06:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically set date picker to date and load data on open sheet</title>
      <link>https://community.qlik.com/t5/App-Development/Automatically-set-date-picker-to-date-and-load-data-on-open/m-p/2424375#M95986</link>
      <description>&lt;P&gt;Ok, I will answer my own question here.&lt;/P&gt;
&lt;P&gt;You will need to set the variable used in date picker to&lt;/P&gt;
&lt;P&gt;=Num(Today())&lt;/P&gt;
&lt;P&gt;Then the sheet will reload automatically onActivate.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 03:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Automatically-set-date-picker-to-date-and-load-data-on-open/m-p/2424375#M95986</guid>
      <dc:creator>Matty</dc:creator>
      <dc:date>2024-02-28T03:32:11Z</dc:date>
    </item>
  </channel>
</rss>

