<?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 Search Object and Conditional Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Search-Object-and-Conditional-Expression/m-p/203812#M61001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Hope someone can assist me&lt;/P&gt;&lt;P&gt;I would like to allow users to search for a value in a field using the Search Object.&lt;/P&gt;&lt;P&gt;They should however only see values based on a certain condition&lt;/P&gt;&lt;P&gt;I tried to use the following formula in the &lt;STRONG&gt;List of Fields&lt;/STRONG&gt; expression text box in the Search Box properties, but this did not work&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=If(PD_PatModule_ModuleName = 'Casebook note', PD_CBMKeyword_TermValue)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Any ideas how I can get this right in the search object (without needing to use a macro)&lt;/P&gt;&lt;P&gt;Thanks a mil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Feb 2011 16:04:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-07T16:04:06Z</dc:date>
    <item>
      <title>Search Object and Conditional Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Search-Object-and-Conditional-Expression/m-p/203812#M61001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Hope someone can assist me&lt;/P&gt;&lt;P&gt;I would like to allow users to search for a value in a field using the Search Object.&lt;/P&gt;&lt;P&gt;They should however only see values based on a certain condition&lt;/P&gt;&lt;P&gt;I tried to use the following formula in the &lt;STRONG&gt;List of Fields&lt;/STRONG&gt; expression text box in the Search Box properties, but this did not work&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=If(PD_PatModule_ModuleName = 'Casebook note', PD_CBMKeyword_TermValue)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Any ideas how I can get this right in the search object (without needing to use a macro)&lt;/P&gt;&lt;P&gt;Thanks a mil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 16:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-Object-and-Conditional-Expression/m-p/203812#M61001</guid>
      <dc:creator />
      <dc:date>2011-02-07T16:04:06Z</dc:date>
    </item>
    <item>
      <title>Search Object and Conditional Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Search-Object-and-Conditional-Expression/m-p/203813#M61002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;What I'd do is to create that "display field" in the script, so the filed used in the search object will only have the values for your condition, so in your load script, something like the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Table:LOAD // Your fields here If(PD_PatModule_ModuleName = 'Casebook note', PD_CBMKeyword_TermValue) AS SEARCH_OBJECT_DISPLAYFROM Source&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Then use the search object with this field.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 16:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-Object-and-Conditional-Expression/m-p/203813#M61002</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-02-07T16:20:49Z</dc:date>
    </item>
  </channel>
</rss>

