<?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: Show/Hide Search Box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-Hide-Search-Box/m-p/431823#M488533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a million Fernando,&lt;/P&gt;&lt;P&gt;Yes!!! It worked. &lt;/P&gt;&lt;P&gt;I had one Search box working but the child searchbox (for &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Child ID&amp;amp;'-'&amp;amp;Child Name') &lt;/SPAN&gt;was not working due to the fact that it had single quotes. But I reversed the logic of the first one and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Escape Characters: I researched a little bit but found people saying that there is really no good way to handle escape characters and try to work around it. That is what I did.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again &lt;/P&gt;&lt;P&gt;AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jan 2013 14:54:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-18T14:54:28Z</dc:date>
    <item>
      <title>Show/Hide Search Box</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Hide-Search-Box/m-p/431819#M488529</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 have a check box filter with three values (A,B,C) that conditionally shows/hides a 2 charts and also 2 search boxes. The link to my original post is given below in new to QlikView.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;A _jive_internal="true" class="loading active_link" href="https://community.qlik.com/message/289078#289078" title="http://community.qlik.com/message/289078#289078"&gt;http://community.qlik.com/message/289078#289078&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In one of the charts there is a cyclic drill through which has&amp;nbsp; 1. Parent Company&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. 'Child ID-Child Name'.&lt;/P&gt;&lt;P&gt;When Parent Company is shown as the dimension in the chart, the search box also shows Parent Company. I have a requirement from the users that when users drill through(/down)&amp;nbsp; to the Child Level the Search box should show ONLY the child level i.e. basically a third search box should replace the 1st one&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First search box show condition is &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;=if(match(GetFieldSelections(Group),'A','B','A, B'),1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Second search box show condition is &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;=if(match(GetFieldSelections(Group),'A','B','A, B'),0,1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to communicate the drill through action to the search box? &lt;/P&gt;&lt;P&gt;If so, what would be the syntax of the show condition if the child dimension used in the drill through is&amp;nbsp; 'Child ID-Child Name'.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It could possibly be something like &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;=if(match(GetFieldSelections(Group),'A','B','A, B'),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;if(&amp;lt;Cyclic Drill Through Level=Child&amp;gt;),1,&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Any response would be highly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;AM&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 15:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Hide-Search-Box/m-p/431819#M488529</guid>
      <dc:creator />
      <dc:date>2013-01-17T15:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide Search Box</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Hide-Search-Box/m-p/431820#M488530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the GetCurrentField() function to identify which field is currently in use in the group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax is:&lt;/P&gt;&lt;P&gt;=GetCurrentField(groupname)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside the parenthesis you just have to insert the group name, without any quotes. It will return the name of the current field being used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 17:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Hide-Search-Box/m-p/431820#M488530</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2013-01-17T17:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide Search Box</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Hide-Search-Box/m-p/431821#M488531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fernando,&lt;/P&gt;&lt;P&gt;Thanks for your response. I tried using =GetCurrentField([Cyclic Group]) in a text box and it shows me my current selection from the drill through. But I'm having issues being able to incorporate this function in my conditional show /hide expression. If you could help me perfect that I would be extremely grateful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently my expression which is not working as expected is:&lt;/P&gt;&lt;P&gt;=if(match(GetFieldSelections(Group),'A','B','A, B'),&lt;BR /&gt;if(GetCurrentField([Cyclic Group])= {'Parent Group'} ) ,1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Expression Editor is saying error in expression for [Cyclic Group], but the same evaluates fine in the text box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I intend to happen is when Condition A (match(GetFieldSelections())) and Condition B (GetCurrentField()="XYZ") are true, only then display the searchbox. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 20:21:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Hide-Search-Box/m-p/431821#M488531</guid>
      <dc:creator />
      <dc:date>2013-01-17T20:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide Search Box</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Hide-Search-Box/m-p/431822#M488532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't mind the syntax error, QV doesn't understand it but it will surely work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;=if(match(GetFieldSelections(Group),'A','B','A, B') and GetCurrentField([Cyclic Group])= 'Parent Group', 1, 0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 10:00:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Hide-Search-Box/m-p/431822#M488532</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2013-01-18T10:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide Search Box</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Hide-Search-Box/m-p/431823#M488533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a million Fernando,&lt;/P&gt;&lt;P&gt;Yes!!! It worked. &lt;/P&gt;&lt;P&gt;I had one Search box working but the child searchbox (for &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Child ID&amp;amp;'-'&amp;amp;Child Name') &lt;/SPAN&gt;was not working due to the fact that it had single quotes. But I reversed the logic of the first one and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Escape Characters: I researched a little bit but found people saying that there is really no good way to handle escape characters and try to work around it. That is what I did.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again &lt;/P&gt;&lt;P&gt;AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 14:54:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Hide-Search-Box/m-p/431823#M488533</guid>
      <dc:creator />
      <dc:date>2013-01-18T14:54:28Z</dc:date>
    </item>
  </channel>
</rss>

