<?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 Datapicker in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Datapicker/m-p/1896434#M73957</link>
    <description>&lt;P&gt;Good day!&lt;/P&gt;
&lt;P&gt;Is it possible to pass the maximum and minimum values ​​of dates from the datepicker to a variable?&lt;/P&gt;</description>
    <pubDate>Wed, 23 Feb 2022 09:54:41 GMT</pubDate>
    <dc:creator>07mishin</dc:creator>
    <dc:date>2022-02-23T09:54:41Z</dc:date>
    <item>
      <title>Datapicker</title>
      <link>https://community.qlik.com/t5/App-Development/Datapicker/m-p/1896434#M73957</link>
      <description>&lt;P&gt;Good day!&lt;/P&gt;
&lt;P&gt;Is it possible to pass the maximum and minimum values ​​of dates from the datepicker to a variable?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 09:54:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Datapicker/m-p/1896434#M73957</guid>
      <dc:creator>07mishin</dc:creator>
      <dc:date>2022-02-23T09:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Datapicker</title>
      <link>https://community.qlik.com/t5/App-Development/Datapicker/m-p/1896447#M73959</link>
      <description>&lt;P&gt;If you define your variable with an expression with an equals sign, you will get that:&lt;/P&gt;&lt;P&gt;=Max(Date)&lt;BR /&gt;=Min(Date)&lt;/P&gt;&lt;P&gt;Such a variable will get a new value every time the user clicks.&lt;/P&gt;&lt;P&gt;See also&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/The-Little-Equals-Sign/ba-p/1475639" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/The-Little-Equals-Sign/ba-p/1475639&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 10:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Datapicker/m-p/1896447#M73959</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2022-02-23T10:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Datapicker</title>
      <link>https://community.qlik.com/t5/App-Development/Datapicker/m-p/1896449#M73960</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If my understanding is correct, you have &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Date &lt;/STRONG&gt;&lt;/SPAN&gt;filed with selected dates in &lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Date picker&lt;/STRONG&gt;&lt;/SPAN&gt; and you want to assign the &lt;STRONG&gt;Min &lt;/STRONG&gt;date and &lt;STRONG&gt;Max &lt;/STRONG&gt;date to variables. Below are the steps that I have followed to achieve a similar use case scenario. You can take the idea behind it and modify to your needs:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1. We have a dataset with fake dates&lt;/P&gt; 
&lt;P&gt;2. Now create 2 variables:&lt;/P&gt; 
&lt;P&gt;&lt;IMG alt="IMAGE" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/21b21e58-e573-41fb-99ed-94aca5b325ee.default.PNG" /&gt;&lt;/P&gt; 
&lt;P&gt;3. Create a&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt; Date picker&lt;/STRONG&gt;&lt;/SPAN&gt; object&lt;/P&gt; 
&lt;P&gt;4. Create a &lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Button&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;5. In button's configuration, create 2 actions:&lt;/P&gt; 
&lt;P&gt;&lt;IMG alt="IMAGE" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/95e72881-22b1-4fe1-a754-10ba0cc0173b.default.PNG" /&gt;&lt;/P&gt; 
&lt;P&gt;6. Set both actions to &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;"Set variable value"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;7. For the first one use &lt;STRONG&gt;vMin &lt;/STRONG&gt;and for the second one, use &lt;STRONG&gt;vMax &lt;/STRONG&gt;as variables&lt;/P&gt; 
&lt;P&gt;8. For the expressions use the expressions:&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;&lt;STRONG&gt;=&lt;SPAN style="color:#2980b9"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color:#2980b9"&gt;GetFieldSelections&lt;/SPAN&gt;(&lt;SPAN style="color:#f39c12"&gt;Date&lt;/SPAN&gt;), &lt;SPAN style="color:#27ae60"&gt;', '&lt;/SPAN&gt;, 1)&lt;/STRONG&gt;&lt;/LI&gt; 
 &lt;LI&gt;&lt;STRONG&gt;=&lt;SPAN style="color:#2980b9"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color:#2980b9"&gt;GetFieldSelections&lt;/SPAN&gt;(&lt;SPAN style="color:#f39c12"&gt;Date&lt;/SPAN&gt;),&lt;SPAN style="color:#27ae60"&gt; ', '&lt;/SPAN&gt;, -1)&lt;/STRONG&gt;&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;9. The output is:&lt;/P&gt; 
&lt;P&gt;&lt;IMG alt="IMAGE" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/f0ff0096-0fa2-4c18-b3ee-952667f98956.default.PNG" /&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;As you can see we have selected dates from&lt;STRONG&gt; 2/2/2022 to 4/2/2022 &lt;/STRONG&gt;and in the &lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Text &amp;amp; image&lt;/STRONG&gt;&lt;/SPAN&gt; object you can see the values that are assigned to the variables as soon as the button is clicked.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN style="color:#7f8c8d"&gt;&lt;EM&gt;&lt;STRONG&gt;I hope that this information was helpful. In case I have misunderstood the use case scenario, please elaborate in details by providing additional information. However, if it has helped you resolve the issue, please mark it as accepted solution to give further visibility to other community members.&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
&lt;/UL&gt;</description>
      <pubDate>Wed, 23 Feb 2022 10:17:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Datapicker/m-p/1896449#M73960</guid>
      <dc:creator>Andrei_Cusnir</dc:creator>
      <dc:date>2022-02-23T10:17:49Z</dc:date>
    </item>
  </channel>
</rss>

