<?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 a chart only when a list of values is selected in a ListBox in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-a-chart-only-when-a-list-of-values-is-selected-in-a-ListBox/m-p/1644038#M731759</link>
    <description>&lt;P&gt;In chart properties &amp;gt; layout &amp;gt; Show conditional :&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(match(GetFieldSelections(&lt;SPAN&gt;Cliente_US&lt;/SPAN&gt;),'&lt;SPAN&gt;A. PALAZUELOS Y CIA, S.C.', 'AKZENT LOGISTICS, S.A. DE C.V.','ARCATEK, S.A. DE C.V.'&lt;/SPAN&gt;),1,0)&lt;/P&gt;</description>
    <pubDate>Thu, 07 Nov 2019 01:11:43 GMT</pubDate>
    <dc:creator>Arthur_Fong</dc:creator>
    <dc:date>2019-11-07T01:11:43Z</dc:date>
    <item>
      <title>Show a chart only when a list of values is selected in a ListBox</title>
      <link>https://community.qlik.com/t5/QlikView/Show-a-chart-only-when-a-list-of-values-is-selected-in-a-ListBox/m-p/1644037#M731758</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have a chart that I want to show conditionally, only if a certain (specific) list of values is selected in a ListBox. In the example below, the "Monthly Extra Costs" chart should display only when "A. PALAZUELOS Y CIA, S.C.", "AKZENT LOGISTICS, S.A. DE C.V." and "ARCATEK, S.A. DE C.V." are selected in the 'Cliente_US' listbox (all of them).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot.png" style="width: 662px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/23059iAD9DD57100715207/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot.png" alt="screenshot.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please, how can I accomplish this?&lt;/P&gt;&lt;P&gt;Thanks and kind regards.&lt;/P&gt;&lt;P&gt;-E. Alvarez&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-a-chart-only-when-a-list-of-values-is-selected-in-a-ListBox/m-p/1644037#M731758</guid>
      <dc:creator>eadbhard</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Show a chart only when a list of values is selected in a ListBox</title>
      <link>https://community.qlik.com/t5/QlikView/Show-a-chart-only-when-a-list-of-values-is-selected-in-a-ListBox/m-p/1644038#M731759</link>
      <description>&lt;P&gt;In chart properties &amp;gt; layout &amp;gt; Show conditional :&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(match(GetFieldSelections(&lt;SPAN&gt;Cliente_US&lt;/SPAN&gt;),'&lt;SPAN&gt;A. PALAZUELOS Y CIA, S.C.', 'AKZENT LOGISTICS, S.A. DE C.V.','ARCATEK, S.A. DE C.V.'&lt;/SPAN&gt;),1,0)&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 01:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-a-chart-only-when-a-list-of-values-is-selected-in-a-ListBox/m-p/1644038#M731759</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2019-11-07T01:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Show a chart only when a list of values is selected in a ListBox</title>
      <link>https://community.qlik.com/t5/QlikView/Show-a-chart-only-when-a-list-of-values-is-selected-in-a-ListBox/m-p/1644042#M731760</link>
      <description>&lt;P&gt;Thanks, but with this solution, the chart is shown if I select &lt;STRONG&gt;just one&lt;/STRONG&gt; of the required values in the ListBox. If I select two or all three values, the chart is not shown.&lt;/P&gt;&lt;P&gt;Now, would it be possible to show the chart when any combination of the required values is selected, being just one value, any two values, or all three?&lt;/P&gt;&lt;P&gt;Thanks and kind regards,&lt;/P&gt;&lt;P&gt;-E. Alvarez&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 01:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-a-chart-only-when-a-list-of-values-is-selected-in-a-ListBox/m-p/1644042#M731760</guid>
      <dc:creator>eadbhard</dc:creator>
      <dc:date>2019-11-07T01:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Show a chart only when a list of values is selected in a ListBox</title>
      <link>https://community.qlik.com/t5/QlikView/Show-a-chart-only-when-a-list-of-values-is-selected-in-a-ListBox/m-p/1644044#M731761</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(GetSelectedCount(Cliente_US)&amp;gt;0,1,0)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 01:44:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-a-chart-only-when-a-list-of-values-is-selected-in-a-ListBox/m-p/1644044#M731761</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2019-11-07T01:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Show a chart only when a list of values is selected in a ListBox</title>
      <link>https://community.qlik.com/t5/QlikView/Show-a-chart-only-when-a-list-of-values-is-selected-in-a-ListBox/m-p/1644434#M731762</link>
      <description>&lt;P&gt;I found the solution &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;=If(SubStringCount(GetFieldSelections(Cliente_US),'A. PALAZUELOS Y CIA, S.C.') +&lt;BR /&gt;SubStringCount(GetFieldSelections(Cliente_US),'AKZENT LOGISTICS, S.A. DE C.V.') +&lt;BR /&gt;SubStringCount(GetFieldSelections(Cliente_US),'ARCATEK, S.A. DE C.V.')&amp;gt;0,1,0)&lt;/P&gt;&lt;P&gt;With this, the chart is shown when any combination of the company names is selected, either just one company, or any two companies, or all three companies. Selecting any other company in the ListBox (or clearing all selections) makes the chart disappear.&lt;/P&gt;&lt;P&gt;SubStringCount() did the trick here, this function gets along better with GetFieldSelections() than Match().&lt;/P&gt;&lt;P&gt;Thanks for all the help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 17:24:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-a-chart-only-when-a-list-of-values-is-selected-in-a-ListBox/m-p/1644434#M731762</guid>
      <dc:creator>eadbhard</dc:creator>
      <dc:date>2019-11-07T17:24:56Z</dc:date>
    </item>
  </channel>
</rss>

