<?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: Select observations based on field variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-observations-based-on-field-variable/m-p/540467#M1133331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Janardhan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply, this is a to-the-point answer, it works.&lt;/P&gt;&lt;P&gt;When I have tried to reproduce your result, it does not work although the settings are exactly the same.&lt;/P&gt;&lt;P&gt;Does it depends on the Document properties, i.e. the aswer from KedarDan as described above?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cornelis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Oct 2013 13:17:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-29T13:17:50Z</dc:date>
    <item>
      <title>Select observations based on field variable</title>
      <link>https://community.qlik.com/t5/QlikView/Select-observations-based-on-field-variable/m-p/540462#M1133326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Dear All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I'm struggling with this simple script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;//a day select for listbox&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Day_select:&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[&lt;BR /&gt;Day_number&lt;BR /&gt;1&lt;BR /&gt;3&lt;BR /&gt;4&lt;BR /&gt;5&lt;BR /&gt;6&lt;BR /&gt;7&lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;//Example from a large database&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Table1:&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[&lt;BR /&gt;Day, Description, ID&lt;BR /&gt;1, Shutdown,1&lt;BR /&gt;1, Maintenance,2&lt;BR /&gt;2,Shutdown,3&lt;BR /&gt;3,Shutdown,4&lt;BR /&gt;5,Maintenance,5&lt;BR /&gt;6,Maintenance,6&lt;BR /&gt;7,Maintenance,7&lt;BR /&gt;1,No order,8&lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;//Select the day&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Table2:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;NoConcatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; *&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; Table1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Day&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;$(eDay_number)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;Drop&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; Table1; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to do:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/48241_QV.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First: I have created Select your day Lost box.&lt;/P&gt;&lt;P&gt;After selecting a day, I press on the Reload button and the script will be reloaded.&lt;/P&gt;&lt;P&gt;Then I expect that the Table box contains observations with Day = 4.&lt;/P&gt;&lt;P&gt;I have defined eDay_number in the variable list that refers to name Day_number.&lt;/P&gt;&lt;P&gt;But I got an error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Error.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/48269_Error.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do I use this construction?&lt;/P&gt;&lt;P&gt;The database is quite large and need to select a certain day number to prevent too much re-loading time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please advice?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you and best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cornelis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 08:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-observations-based-on-field-variable/m-p/540462#M1133326</guid>
      <dc:creator />
      <dc:date>2013-10-29T08:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Select observations based on field variable</title>
      <link>https://community.qlik.com/t5/QlikView/Select-observations-based-on-field-variable/m-p/540463#M1133327</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;I think you can use a input box with a list of all your day number like this qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aurélien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 09:59:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-observations-based-on-field-variable/m-p/540463#M1133327</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2013-10-29T09:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Select observations based on field variable</title>
      <link>https://community.qlik.com/t5/QlikView/Select-observations-based-on-field-variable/m-p/540464#M1133328</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;To filter data in the script you will need to use a variable.&lt;/P&gt;&lt;P&gt;The variable for the selected day-number selection can be set on using a Trigger (refer image below).&lt;/P&gt;&lt;P&gt;Refer attached QVW..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Trigger.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/48288_Trigger.PNG.png" style="width: 620px; height: 329px;" /&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Kedar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 12:02:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-observations-based-on-field-variable/m-p/540464#M1133328</guid>
      <dc:creator>kedar_dandekar</dc:creator>
      <dc:date>2013-10-29T12:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Select observations based on field variable</title>
      <link>https://community.qlik.com/t5/QlikView/Select-observations-based-on-field-variable/m-p/540465#M1133329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , Please find the below attachement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will helpss!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 12:29:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-observations-based-on-field-variable/m-p/540465#M1133329</guid>
      <dc:creator>janardhan</dc:creator>
      <dc:date>2013-10-29T12:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Select observations based on field variable</title>
      <link>https://community.qlik.com/t5/QlikView/Select-observations-based-on-field-variable/m-p/540466#M1133330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is a good starting point, you are right.&lt;/P&gt;&lt;P&gt;Thanks for it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cornelis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 12:41:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-observations-based-on-field-variable/m-p/540466#M1133330</guid>
      <dc:creator />
      <dc:date>2013-10-29T12:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Select observations based on field variable</title>
      <link>https://community.qlik.com/t5/QlikView/Select-observations-based-on-field-variable/m-p/540467#M1133331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Janardhan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply, this is a to-the-point answer, it works.&lt;/P&gt;&lt;P&gt;When I have tried to reproduce your result, it does not work although the settings are exactly the same.&lt;/P&gt;&lt;P&gt;Does it depends on the Document properties, i.e. the aswer from KedarDan as described above?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cornelis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 13:17:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-observations-based-on-field-variable/m-p/540467#M1133331</guid>
      <dc:creator />
      <dc:date>2013-10-29T13:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Select observations based on field variable</title>
      <link>https://community.qlik.com/t5/QlikView/Select-observations-based-on-field-variable/m-p/540468#M1133332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kedar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, that is very clear although not very easy to find.&lt;/P&gt;&lt;P&gt;The Trigger settings is key to make the event happen.&lt;/P&gt;&lt;P&gt;Using input box is not necessary because the list box provide the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your excellent answer, that is the best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cornelis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 13:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-observations-based-on-field-variable/m-p/540468#M1133332</guid>
      <dc:creator />
      <dc:date>2013-10-29T13:25:41Z</dc:date>
    </item>
  </channel>
</rss>

