<?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: Dynamically set a variable from a slider in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamically-set-a-variable-from-a-slider/m-p/1015663#M925391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are talking about a QlikView variable? Or a field value you want to select? I assume first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Create a variable in Settings - Variable Overview, e.g. called vDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Create a slider:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Slider.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/121392_Slider.png" style="height: 523px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Min Value: &lt;/P&gt;&lt;P&gt;=MakeDate(2009,1,1) //or whatever date you want your slider to start with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max Value:&lt;/P&gt;&lt;P&gt;=MakeDate(2009,12,31) // or whatever date you want your slider to end with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Static step of 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Override document settings on number tab and select Date as format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should display your slider and you should be able to assign the date value to your variable vDate by moving the slider.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the variable value will be the numeric date value, but this shouldn't be an issue. You can use the numeric value in any QV date function, e.g. in formatting function Date():&lt;/P&gt;&lt;P&gt;=Date(vDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Apr 2016 14:12:43 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-04-12T14:12:43Z</dc:date>
    <item>
      <title>Dynamically set a variable from a slider</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-set-a-variable-from-a-slider/m-p/1015662#M925390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Good morning.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I have to set a variable from a slider object. &lt;BR /&gt;As you can see in this picture I have a chart and a slider and my target is to set a &lt;SPAN style="color: #575757;"&gt;&lt;EM&gt;finishInvestment&lt;/EM&gt;&lt;/SPAN&gt; variable when one finishes to slide the slider; for example in the picture I have to set &lt;SPAN style="color: #575757;"&gt;&lt;EM&gt;finishInvestment&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; variable to 2009-08-03: &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="slider.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/121374_slider.png" style="height: 263px; width: 620px;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;What can I do to set this variable from the slider?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I'm using a personal edition and I am not able to open qlikview file, so maybe you can use some pictures instead of attach qlikview file.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-set-a-variable-from-a-slider/m-p/1015662#M925390</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically set a variable from a slider</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-set-a-variable-from-a-slider/m-p/1015663#M925391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are talking about a QlikView variable? Or a field value you want to select? I assume first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Create a variable in Settings - Variable Overview, e.g. called vDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Create a slider:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Slider.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/121392_Slider.png" style="height: 523px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Min Value: &lt;/P&gt;&lt;P&gt;=MakeDate(2009,1,1) //or whatever date you want your slider to start with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max Value:&lt;/P&gt;&lt;P&gt;=MakeDate(2009,12,31) // or whatever date you want your slider to end with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Static step of 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Override document settings on number tab and select Date as format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should display your slider and you should be able to assign the date value to your variable vDate by moving the slider.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the variable value will be the numeric date value, but this shouldn't be an issue. You can use the numeric value in any QV date function, e.g. in formatting function Date():&lt;/P&gt;&lt;P&gt;=Date(vDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 14:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-set-a-variable-from-a-slider/m-p/1015663#M925391</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-12T14:12:43Z</dc:date>
    </item>
  </channel>
</rss>

