<?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: Query Prompt in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453329#M13680</link>
    <description>&lt;P&gt;To prompt the user you need the option 2.&lt;/P&gt;</description>
    <pubDate>Thu, 16 May 2024 17:41:40 GMT</pubDate>
    <dc:creator>igoralcantara</dc:creator>
    <dc:date>2024-05-16T17:41:40Z</dc:date>
    <item>
      <title>Query Prompt</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453277#M13672</link>
      <description>&lt;P&gt;Can I have a prompt to filter the data when using an SQL query? Something like:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Select * from table where column = prompt&lt;/P&gt;
&lt;P&gt;--- where "prompt" is input from the user at run time&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 15:30:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453277#M13672</guid>
      <dc:creator>Sheri</dc:creator>
      <dc:date>2024-05-16T15:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Query Prompt</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453278#M13673</link>
      <description>&lt;P&gt;Good day. Where are you planning to do this? Qlik Sense load script? Somewhere else?&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 15:33:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453278#M13673</guid>
      <dc:creator>igoralcantara</dc:creator>
      <dc:date>2024-05-16T15:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Query Prompt</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453293#M13675</link>
      <description>&lt;P&gt;Yes in the Qlik Sense Load script. I would like my report to prompt the user and then use that result to run the query for that filter.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 16:03:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453293#M13675</guid>
      <dc:creator>Sheri</dc:creator>
      <dc:date>2024-05-16T16:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Query Prompt</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453318#M13678</link>
      <description>&lt;P&gt;You can do something similar using variables.&lt;/P&gt;
&lt;P&gt;Option 1: Easy&lt;/P&gt;
&lt;P&gt;Set a variable in your script and use it as a prompt&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Set vPrompt = value;&lt;/P&gt;
&lt;P&gt;Select * from table where column = ‘$(vPrompt)’;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Option 2: Less easy&lt;/P&gt;
&lt;P&gt;Set the variable using a input variable custom object. Have a button that reloads the app.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 17:09:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453318#M13678</guid>
      <dc:creator>igoralcantara</dc:creator>
      <dc:date>2024-05-16T17:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Query Prompt</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453323#M13679</link>
      <description>&lt;P&gt;How does the first option prompt the user?&lt;BR /&gt;and if it does not, do you have the steps to do the second option?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 17:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453323#M13679</guid>
      <dc:creator>Sheri</dc:creator>
      <dc:date>2024-05-16T17:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Query Prompt</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453329#M13680</link>
      <description>&lt;P&gt;To prompt the user you need the option 2.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 17:41:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453329#M13680</guid>
      <dc:creator>igoralcantara</dc:creator>
      <dc:date>2024-05-16T17:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Query Prompt</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453332#M13681</link>
      <description>&lt;P&gt;I am trying to do option 2, but it is not working. Do you have the steps? Or a video that shows me how?&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 17:43:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453332#M13681</guid>
      <dc:creator>Sheri</dc:creator>
      <dc:date>2024-05-16T17:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Query Prompt</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453338#M13682</link>
      <description>&lt;P&gt;Sure. Here are some images that show the sequence.&lt;/P&gt;
&lt;P&gt;In summary, you need to (after your script is ready to use the variable as my earlier message showed):&lt;/P&gt;
&lt;P&gt;All in the sheet design mode.&lt;BR /&gt;&lt;BR /&gt;- Create the variable&lt;/P&gt;
&lt;P&gt;- Add an Input variable object and configure it&lt;/P&gt;
&lt;P&gt;- Add a button&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Add a Reload action to the button&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 17:58:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453338#M13682</guid>
      <dc:creator>igoralcantara</dc:creator>
      <dc:date>2024-05-16T17:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Query Prompt</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453346#M13685</link>
      <description>&lt;P&gt;That is what I tried before. It does not pass the value (that the user put in the variable) to the query to fetch the data using the prompt value. It just reloads the data using the value that I set in the original query. &lt;BR /&gt;&lt;BR /&gt;This would be my original query on the firs load.&lt;/P&gt;
&lt;P&gt;Set vPrompt = 4845;&lt;/P&gt;
&lt;P&gt;Select * from table where column = $(vPrompt);&lt;BR /&gt;&lt;BR /&gt;Once the user typed in the Variable&amp;nbsp;Input input box the value of 4851 and presses the button. The page reloads with the 4845 value. I need it to use the 4851 in the query and go get the data for that value.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 18:27:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453346#M13685</guid>
      <dc:creator>Sheri</dc:creator>
      <dc:date>2024-05-16T18:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Query Prompt</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453354#M13686</link>
      <description>&lt;P&gt;Remove the Set line, it will override the value set on the UI.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 18:36:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453354#M13686</guid>
      <dc:creator>igoralcantara</dc:creator>
      <dc:date>2024-05-16T18:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Query Prompt</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453360#M13687</link>
      <description>&lt;P&gt;That worked perfectly, thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 18:51:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453360#M13687</guid>
      <dc:creator>Sheri</dc:creator>
      <dc:date>2024-05-16T18:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Query Prompt</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453361#M13688</link>
      <description>&lt;P&gt;Amazing! I am glad I could help.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 18:52:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Query-Prompt/m-p/2453361#M13688</guid>
      <dc:creator>igoralcantara</dc:creator>
      <dc:date>2024-05-16T18:52:29Z</dc:date>
    </item>
  </channel>
</rss>

