<?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: Search Object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154645#M376979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This blog has details on the expression search&amp;nbsp; &lt;A href="https://community.qlik.com/qlik-blogpost/4107"&gt;The Expression Search&lt;/A&gt; which you can use on a listbox for Prescriber.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Flag=1&lt;/STRONG&gt; should work in your case though you may need to use something like&amp;nbsp; =&lt;STRONG&gt;Count(If(Flag=1, Prescriber))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;These expressions will work in both the listbox search and the search object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jul 2016 09:14:03 GMT</pubDate>
    <dc:creator>Colin-Albert</dc:creator>
    <dc:date>2016-07-27T09:14:03Z</dc:date>
    <item>
      <title>Search Object</title>
      <link>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154643#M376977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I wanted to add an expression in the search object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Prescriber&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Flag&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;P1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;P2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;P3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want that i should only be able to search the Prescribers with Flag '1' i.e P1 and P2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any way i can do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 08:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154643#M376977</guid>
      <dc:creator>chhavi376</dc:creator>
      <dc:date>2016-07-27T08:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Search Object</title>
      <link>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154644#M376978</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;You can write the If statements in script and create that flag, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&amp;nbsp; if(Prescriber = P1 and &lt;SPAN style="font-size: 13.3333px;"&gt;Prescriber ='P2,1,0) as Flag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;From xyx;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can create a listbox of Flag field and make a selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 09:06:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154644#M376978</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-07-27T09:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Search Object</title>
      <link>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154645#M376979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This blog has details on the expression search&amp;nbsp; &lt;A href="https://community.qlik.com/qlik-blogpost/4107"&gt;The Expression Search&lt;/A&gt; which you can use on a listbox for Prescriber.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Flag=1&lt;/STRONG&gt; should work in your case though you may need to use something like&amp;nbsp; =&lt;STRONG&gt;Count(If(Flag=1, Prescriber))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;These expressions will work in both the listbox search and the search object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 09:14:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154645#M376979</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2016-07-27T09:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Search Object</title>
      <link>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154646#M376980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think there's a way to do that directly in the search object, but you could create an extra field 'PrescriberSearch' in your data model and use that extra field in the seach object instead the original 'Prescriber' one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(Flag = 1, Prescriber, Null()) as PrescriberSearch&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;&amp;nbsp; Prescriber, Flag&lt;/P&gt;&lt;P&gt;&amp;nbsp; P1, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; P2, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; P3, 1&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 10:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154646#M376980</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-27T10:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Search Object</title>
      <link>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154647#M376981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Colin,&lt;/P&gt;&lt;P&gt;Actually i am unable to put any expressions in the search object.&lt;/P&gt;&lt;P&gt;and i was looking for a way except adding it in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 10:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154647#M376981</guid>
      <dc:creator>chhavi376</dc:creator>
      <dc:date>2016-07-27T10:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Search Object</title>
      <link>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154648#M376982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expressions work fine in the front-end for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Searching on&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;=Count(if(Flag=1, Prescriber))&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns P1 &amp;amp; P3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="search_test.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/132648_search_test.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 11:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154648#M376982</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2016-07-27T11:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Search Object</title>
      <link>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154649#M376983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Colin,&lt;/P&gt;&lt;P&gt;You got me wrong.&lt;/P&gt;&lt;P&gt;actually i wanted to add an expression at the backend.&lt;/P&gt;&lt;P&gt;So that if i search 'P2', it does not display in the search list at all.&lt;/P&gt;&lt;P&gt;the end users don't want to search these flagged prescribers in the search object, but wants to see their data in the chart/table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 12:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154649#M376983</guid>
      <dc:creator>chhavi376</dc:creator>
      <dc:date>2016-07-27T12:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Search Object</title>
      <link>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154650#M376984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Javier,&lt;/P&gt;&lt;P&gt;This works.&lt;/P&gt;&lt;P&gt;But let me know if you have some other way, except adding in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 12:41:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154650#M376984</guid>
      <dc:creator>chhavi376</dc:creator>
      <dc:date>2016-07-27T12:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Search Object</title>
      <link>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154651#M376985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kaushik,&lt;/P&gt;&lt;P&gt;This will be very cumbersome if we have a large number of Prescribers in the list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 12:42:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154651#M376985</guid>
      <dc:creator>chhavi376</dc:creator>
      <dc:date>2016-07-27T12:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Search Object</title>
      <link>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154652#M376986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I only know of two ways of accomplishing such behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One is the way I described in my previous post and the other is unchecking the "Include Excluded Values" checkbox in the Presentation tab of the search object properties, &lt;SPAN style="font-size: 13.3333px;"&gt;filtering by Flag=1 in your document&lt;/SPAN&gt; and using set analysis in your chart/table to bypass such filter. But doing so will prevent your users from searching prescribers excluded by other filters in your document so I would advise against it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 16:18:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-Object/m-p/1154652#M376986</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-27T16:18:17Z</dc:date>
    </item>
  </channel>
</rss>

