<?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: Using Selections on Multiple Fields to Show/Hide Object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Selections-on-Multiple-Fields-to-Show-Hide-Object/m-p/1374631#M419716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply. Yes, I've tried with the brackets and without but unfortunately I get the same results either way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Nov 2017 00:57:39 GMT</pubDate>
    <dc:creator>makximenkoa</dc:creator>
    <dc:date>2017-11-13T00:57:39Z</dc:date>
    <item>
      <title>Using Selections on Multiple Fields to Show/Hide Object</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Selections-on-Multiple-Fields-to-Show-Hide-Object/m-p/1374629#M419714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attempting to use wildmatch and the getcurrentselections functions together to conditionally show/hide an object. &lt;SPAN style="font-size: 13.3333px;"&gt;The goal would be that if a selection was made on any field other than the ones below, an object is shown&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the equation I am attempting to use for the conditional show/hide (from the discussion &lt;A _jive_internal="true" href="https://community.qlik.com/message/1276572#1276572"&gt;here)&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15105272908364218" jivemacro_uid="_15105272908364218"&gt;
&lt;P&gt;=if(Wildmatch(GetCurrentSelections(), $(=concat({&amp;lt; [$Field] =-{'[Discharge Department]','[MonthAbvYear]','[Attending Provider]', '[Location]'}&amp;gt;} chr(39) &amp;amp; '*' &amp;amp; [$Field] &amp;amp; '*' &amp;amp; chr(39),',')) )&amp;gt;=1,1,0)&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The goal would be that if a selection was made on any field other than the ones above, an object is shown. It works fine for the Attending Provider and Location fields but for some reason does not work on the Discharge Department or MonthAbvYear fields. There are no differences between the 4 fields that I can tell that would cause them to behave differently. When I input just the '=concat(...)' function into a text object, the concatenated text looks correct. Maybe there's something going on with the wildmatch component?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Al Makximenko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Nov 2017 23:02:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Selections-on-Multiple-Fields-to-Show-Hide-Object/m-p/1374629#M419714</guid>
      <dc:creator>makximenkoa</dc:creator>
      <dc:date>2017-11-12T23:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using Selections on Multiple Fields to Show/Hide Object</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Selections-on-Multiple-Fields-to-Show-Hide-Object/m-p/1374630#M419715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you really need the square brackets around your fields? Have you tried this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=WildMatch(GetCurrentSelections(), $(=Concat({&amp;lt;[$Field] =-{'Discharge Department', 'MonthAbvYear', 'Attending Provider', 'Location'}&amp;gt;} Chr(39) &amp;amp; '*' &amp;amp; [$Field] &amp;amp; '*' &amp;amp; Chr(39), ',')))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;=If(WildMatch(GetCurrentSelections(), $(=Concat({&amp;lt;[$Field] =-{'Discharge Department', 'MonthAbvYear', 'Attending Provider', 'Location'}&amp;gt;} Chr(39) &amp;amp; '*' &amp;amp; [$Field] &amp;amp; '*' &amp;amp; Chr(39), ',')))&amp;gt;=1, 1, 0)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Nov 2017 23:36:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Selections-on-Multiple-Fields-to-Show-Hide-Object/m-p/1374630#M419715</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-12T23:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using Selections on Multiple Fields to Show/Hide Object</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Selections-on-Multiple-Fields-to-Show-Hide-Object/m-p/1374631#M419716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply. Yes, I've tried with the brackets and without but unfortunately I get the same results either way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2017 00:57:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Selections-on-Multiple-Fields-to-Show-Hide-Object/m-p/1374631#M419716</guid>
      <dc:creator>makximenkoa</dc:creator>
      <dc:date>2017-11-13T00:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using Selections on Multiple Fields to Show/Hide Object</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Selections-on-Multiple-Fields-to-Show-Hide-Object/m-p/1374632#M419717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=WildMatch(GetCurrentSelections(&lt;SPAN style="color: #ff0000;"&gt;'|', ': ', ',', 500000&lt;/SPAN&gt;), $(=Concat({&amp;lt;[$Field] =-{'Discharge Department', 'MonthAbvYear', 'Attending Provider', 'Location'}&amp;gt;} Chr(39) &amp;amp; '*' &amp;amp; [$Field] &amp;amp; '*' &amp;amp; Chr(39), ',')))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=If(WildMatch(GetCurrentSelections(&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'|', ': ', ',', 500000&lt;/STRONG&gt;), $(=Concat({&amp;lt;[$Field] =-{'Discharge Department', 'MonthAbvYear', 'Attending Provider', 'Location'}&amp;gt;} Chr(39) &amp;amp; '*' &amp;amp; [$Field] &amp;amp; '*' &amp;amp; Chr(39), ',')))&amp;gt;=1, 1, 0)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2017 12:29:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Selections-on-Multiple-Fields-to-Show-Hide-Object/m-p/1374632#M419717</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-13T12:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using Selections on Multiple Fields to Show/Hide Object</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Selections-on-Multiple-Fields-to-Show-Hide-Object/m-p/1374633#M419718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the above and am still getting the same results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2017 13:04:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Selections-on-Multiple-Fields-to-Show-Hide-Object/m-p/1374633#M419718</guid>
      <dc:creator>makximenkoa</dc:creator>
      <dc:date>2017-11-13T13:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using Selections on Multiple Fields to Show/Hide Object</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Selections-on-Multiple-Fields-to-Show-Hide-Object/m-p/1374634#M419719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would it be possible to share a sample where you can replicate your issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2017 13:06:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Selections-on-Multiple-Fields-to-Show-Hide-Object/m-p/1374634#M419719</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-13T13:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using Selections on Multiple Fields to Show/Hide Object</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Selections-on-Multiple-Fields-to-Show-Hide-Object/m-p/1374635#M419720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've attached a sample above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 16:13:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Selections-on-Multiple-Fields-to-Show-Hide-Object/m-p/1374635#M419720</guid>
      <dc:creator>makximenkoa</dc:creator>
      <dc:date>2017-11-14T16:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using Selections on Multiple Fields to Show/Hide Object</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Selections-on-Multiple-Fields-to-Show-Hide-Object/m-p/1374636#M419721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(Wildmatch(&lt;SPAN style="color: #ff0000;"&gt;'|' &amp;amp;&lt;/SPAN&gt; GetCurrentSelections(&lt;SPAN style="color: #ff0000;"&gt;', |', '|:'&lt;/SPAN&gt;),&amp;nbsp;&amp;nbsp;&amp;nbsp; $(=concat({&amp;lt; $Field -= {'Attending Provider','Location','Discharge Department','MonthAbvYear'}&amp;gt;} chr(39) &amp;amp; '*&lt;SPAN style="color: #ff0000;"&gt;|&lt;/SPAN&gt;' &amp;amp; $Field &amp;amp; '&lt;SPAN style="color: #ff0000;"&gt;|&lt;/SPAN&gt;*' &amp;amp; chr(39) ,',')))&amp;gt;=1,1,0) &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 17:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Selections-on-Multiple-Fields-to-Show-Hide-Object/m-p/1374636#M419721</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-14T17:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using Selections on Multiple Fields to Show/Hide Object</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Selections-on-Multiple-Fields-to-Show-Hide-Object/m-p/1374637#M419722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works like a charm, thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 20:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Selections-on-Multiple-Fields-to-Show-Hide-Object/m-p/1374637#M419722</guid>
      <dc:creator>makximenkoa</dc:creator>
      <dc:date>2017-11-14T20:13:29Z</dc:date>
    </item>
  </channel>
</rss>

