<?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: Conditional view GetSelectedCount in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-view-GetSelectedCount/m-p/1246151#M860171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be as below:&lt;BR /&gt;=if(GetFieldSelections([Company Name])='Company A',[Company Name])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jan 2017 15:10:18 GMT</pubDate>
    <dc:creator>trdandamudi</dc:creator>
    <dc:date>2017-01-13T15:10:18Z</dc:date>
    <item>
      <title>Conditional view GetSelectedCount</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-view-GetSelectedCount/m-p/1246149#M860169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear amazing Qlik community,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have a question which, after a lot of tries, I'm not really able to solve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal: I would like to create a conditional view for a listbox after a selection in another listbox has been made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm very familiar with the function GetSelectedCount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I have 2 listboxes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Listbox 1 with company names, (Company A, Company&amp;nbsp; B and Company C)&lt;/P&gt;&lt;P&gt;Listbox 2 with employee names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that with GetSelectedCount, I can create a conditional view for the listbox with employee names. So that this listbox will show up when I make a selection in my first listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is: is it also possible to create a conditional view that my second listbox will &lt;SPAN style="text-decoration: underline;"&gt;only&lt;/SPAN&gt; show up when I select Company A in listbox 1? In this case, the second listbox will not show up when I select Company B or Company C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does such kind of conditional view exist?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much in advance for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-view-GetSelectedCount/m-p/1246149#M860169</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional view GetSelectedCount</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-view-GetSelectedCount/m-p/1246150#M860170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For only when Company A is selected&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If([company names] = 'Company A')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For when more than one companies are selected and Company A is one of them. Should also cover when only Company A is selected&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(SubStringCount('|' &amp;amp; GetFieldSelections(&lt;/STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;[company names], '|,|') &amp;amp; '|', '|Company A|') = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 15:06:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-view-GetSelectedCount/m-p/1246150#M860170</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-13T15:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional view GetSelectedCount</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-view-GetSelectedCount/m-p/1246151#M860171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be as below:&lt;BR /&gt;=if(GetFieldSelections([Company Name])='Company A',[Company Name])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 15:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-view-GetSelectedCount/m-p/1246151#M860171</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2017-01-13T15:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional view GetSelectedCount</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-view-GetSelectedCount/m-p/1246152#M860172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thirumala and Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your super quick help and replies! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to solve it with your help but it was even easier than you have suggested.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;--&amp;gt;&amp;gt; GetFieldSelections([Company Name])='Company A'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;that was enough for the conditional view to get it working. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;So pretty easy after all, but your help and making me aware of the GetFieldSelections function was absolutely perfect!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks and have a nice day!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 15:16:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-view-GetSelectedCount/m-p/1246152#M860172</guid>
      <dc:creator />
      <dc:date>2017-01-13T15:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional view GetSelectedCount</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-view-GetSelectedCount/m-p/1246153#M860173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that you got your solution, but why complicate your expression when you can just use this (unless you like more complicated expressions &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;[company names] = 'Company A'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 15:20:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-view-GetSelectedCount/m-p/1246153#M860173</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-13T15:20:21Z</dc:date>
    </item>
  </channel>
</rss>

