<?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: How to update query based upon user's selection in inputbox? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-update-query-based-upon-user-s-selection-in-inputbox/m-p/497724#M479858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might find this interesting.&amp;nbsp; (Dynamic Update)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/45050"&gt;How to use Dynamic update action in QV 11&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Angad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jan 2014 17:19:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-14T17:19:02Z</dc:date>
    <item>
      <title>How to update query based upon user's selection in inputbox?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-update-query-based-upon-user-s-selection-in-inputbox/m-p/497719#M479853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I used this &lt;A _jive_internal="true" href="https://community.qlik.com/message/267788#267788"&gt;post &lt;/A&gt;to to update the query based upon user's selection (or entry) in Inputbox, This is what I did.&lt;/P&gt;&lt;P&gt;1. Create a variable vSelectedValue in Settings-Variable overview with a value 2013.&lt;/P&gt;&lt;P&gt;2. In Inputbox property - chose vSelectedValue as ONLY displayed variables.&lt;/P&gt;&lt;P&gt;3. In SQL I used WHERE year(a.DischargeDTS)='$(vSelectedValue)' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I selected (or enter) different values (2011,2012). The data is not updated. I do not what I have missed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Longmatch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jan 2014 19:15:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-update-query-based-upon-user-s-selection-in-inputbox/m-p/497719#M479853</guid>
      <dc:creator />
      <dc:date>2014-01-12T19:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to update query based upon user's selection in inputbox?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-update-query-based-upon-user-s-selection-in-inputbox/m-p/497720#M479854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you manually substitute into the WHERE statement the values that you've entered, I think you'll see the problem with syntax. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jan 2014 19:34:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-update-query-based-upon-user-s-selection-in-inputbox/m-p/497720#M479854</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-01-12T19:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to update query based upon user's selection in inputbox?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-update-query-based-upon-user-s-selection-in-inputbox/m-p/497721#M479855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Whiteline,&lt;/P&gt;&lt;P&gt;I cannot find what is wrong with my code. Please see my example in the attachment. Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Longmatch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 21:05:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-update-query-based-upon-user-s-selection-in-inputbox/m-p/497721#M479855</guid>
      <dc:creator />
      <dc:date>2014-01-13T21:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to update query based upon user's selection in inputbox?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-update-query-based-upon-user-s-selection-in-inputbox/m-p/497722#M479856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;in my environment with a SqlServer db it works when I reload&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only changed&lt;/P&gt;&lt;P&gt;='$(vSelectedValue)'&lt;/P&gt;&lt;P&gt;with&lt;/P&gt;&lt;P&gt;=$(vSelectedValue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;SELECT TOP 10 &lt;/P&gt;&lt;P&gt;[dat_data]&lt;/P&gt;&lt;P&gt;FROM [sisim_stat].[dbo].[d003_date]&lt;/P&gt;&lt;P&gt;where year(dat_data) &amp;gt;= $(vSelectedValue)&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 23:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-update-query-based-upon-user-s-selection-in-inputbox/m-p/497722#M479856</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-01-13T23:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to update query based upon user's selection in inputbox?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-update-query-based-upon-user-s-selection-in-inputbox/m-p/497723#M479857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Massimo,&lt;/P&gt;&lt;P&gt;I made changes based upon your suggestions, but nothing happened when I either selected a value from Inputbox or entered a value into Inputbox. It looks like the value is linked back to SQL query. Inputbox links to variable (vSelectedValue) which was defined in Variable window and was used in SQL. I would like to know how to pass the selected value in Inputbox back to query? Is trigger required? Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Longmatch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 15:30:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-update-query-based-upon-user-s-selection-in-inputbox/m-p/497723#M479857</guid>
      <dc:creator />
      <dc:date>2014-01-14T15:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to update query based upon user's selection in inputbox?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-update-query-based-upon-user-s-selection-in-inputbox/m-p/497724#M479858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might find this interesting.&amp;nbsp; (Dynamic Update)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/45050"&gt;How to use Dynamic update action in QV 11&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Angad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 17:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-update-query-based-upon-user-s-selection-in-inputbox/m-p/497724#M479858</guid>
      <dc:creator />
      <dc:date>2014-01-14T17:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to update query based upon user's selection in inputbox?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-update-query-based-upon-user-s-selection-in-inputbox/m-p/497725#M479859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The script is executed only during document reload.&lt;/P&gt;&lt;P&gt;No matter what you've entered in the inputbox or variable, to get changes you need reload the document with a user action or trigger/button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are also some special possibilities as Dynamic update and so on, but this could not be the case to use them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do you want to use SQL query? You can use common approach, load all years and then let the user use the associative logic of QlikView.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 18:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-update-query-based-upon-user-s-selection-in-inputbox/m-p/497725#M479859</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-01-14T18:26:58Z</dc:date>
    </item>
  </channel>
</rss>

