<?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 How to display results based on input parameter? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-display-results-based-on-input-parameter/m-p/180499#M46909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;Thanks for the guidance. Now I realize that wildcard character in Qlikview is not "%" but it is *.&lt;/P&gt;&lt;P&gt;I tried the second method and it works now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Dec 2009 07:50:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-10T07:50:26Z</dc:date>
    <item>
      <title>How to display results based on input parameter?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-results-based-on-input-parameter/m-p/180497#M46907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;BR /&gt; I quite new to Qlikview and need some advice on this issue.&lt;BR /&gt; In my Qlikview application, I have to get input from the user. The user needs to enter a part search string e.g 'A1002%' or 'B1001%' and based on the input, the rows will be displayed.&lt;/P&gt;&lt;P&gt;What is the best way to do that? I tried two ways and nothing seems to work.&lt;BR /&gt;1) Within the script, I defined a variable v1&lt;/P&gt;&lt;P&gt;****************************&lt;BR /&gt;SET v1 = 'A1002%';&lt;/P&gt;&lt;P&gt;tableA&lt;/P&gt;&lt;P&gt;LOAD PNo,&lt;BR /&gt; PName, ptype;&lt;/P&gt;&lt;P&gt;SQL SELECT PNo,&lt;BR /&gt; PName, ptype&lt;BR /&gt;FROM Parts where pName LIKE '$(v1)';&lt;/P&gt;&lt;P&gt;*******************************&lt;/P&gt;&lt;P&gt;I created an input box for variable v1 which allows user to enter the search string but it does not work. Still shows me the parts starting with A1002. I tried reloading but doesn't update.&lt;/P&gt;&lt;P&gt;2) If I don't use the variable v1 in the sql select statement, is there any other way? I tried this second method and loaded all rows from the table Parts. (This table is huge).&lt;/P&gt;&lt;P&gt;**********************&lt;BR /&gt;SET v1 = 'A1002%';&lt;/P&gt;&lt;P&gt;tableB:&lt;/P&gt;&lt;P&gt;LOAD PNo,&lt;BR /&gt; PName, ptype;&lt;/P&gt;&lt;P&gt;SQL SELECT PNo,&lt;BR /&gt; PName, ptype&lt;BR /&gt;FROM Parts where pName;&lt;BR /&gt;************************&lt;/P&gt;&lt;P&gt;Then I created a chart (straight table). In expressions, entered this&lt;BR /&gt; if (PName like v1, Pno)&lt;/P&gt;&lt;P&gt;But not getting the desired results. Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 11:04:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-results-based-on-input-parameter/m-p/180497#M46907</guid>
      <dc:creator />
      <dc:date>2009-12-09T11:04:26Z</dc:date>
    </item>
    <item>
      <title>How to display results based on input parameter?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-results-based-on-input-parameter/m-p/180498#M46908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;1. if you want to filter your data in the script level only then you can use this&lt;/P&gt;&lt;P&gt;load Pno,PName,Ptype from Parts where PName like 'A1002*';&lt;/P&gt;&lt;P&gt;but this will load only those rows which meets the above condition&lt;/P&gt;&lt;P&gt;2. if you want to load all the rows and want to display only those rows which meets the conditon of the input box&lt;/P&gt;&lt;P&gt;a. load * from Parts;&lt;/P&gt;&lt;P&gt;b. create a variable V1 ( go to settings-----&amp;gt;variable overview), now create a input box with reference to V1&lt;/P&gt;&lt;P&gt;and create a straight table with condition if(PName like V1, Pno)&lt;/P&gt;&lt;P&gt;this will show only the filtered data in the straight table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 11:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-results-based-on-input-parameter/m-p/180498#M46908</guid>
      <dc:creator />
      <dc:date>2009-12-09T11:18:45Z</dc:date>
    </item>
    <item>
      <title>How to display results based on input parameter?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-results-based-on-input-parameter/m-p/180499#M46909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;Thanks for the guidance. Now I realize that wildcard character in Qlikview is not "%" but it is *.&lt;/P&gt;&lt;P&gt;I tried the second method and it works now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 07:50:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-results-based-on-input-parameter/m-p/180499#M46909</guid>
      <dc:creator />
      <dc:date>2009-12-10T07:50:26Z</dc:date>
    </item>
  </channel>
</rss>

